zhixin 6 years ago
parent
commit
dafc5f1783

+ 2 - 2
site/_includes/header.html

@@ -20,6 +20,6 @@
 {% include analytics.html %}
 
 <script type="text/javascript">
-  if (window !== top) // 判断当前的window对象是否是top对象
-    top.location.href = window.location.href // 如果不是,将top对象的网址自动导向被嵌入网页的网址
+  if (window !== top) // 判断当前的 window 对象是否是 top 对象
+    top.location.href = window.location.href // 如果不是,将 top 对象的网址自动导向被嵌入网页的网址
 </script>

+ 1 - 1
site/docs/api/events.md

@@ -285,7 +285,7 @@ $('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) {
 
 - **Detail:**
 
-  Fires after the table header is rendered and availble in the DOM.
+  Fires after the table header is rendered and available in the DOM.
 
 ## onExpandRow
 

+ 1 - 1
site/docs/api/table-options.md

@@ -137,7 +137,7 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
   * Then tries the the short locale code (i.e. `'zh'` instead of `'fr-CA'`),
   * And finally will use the last locale file loaded (or the default locale if no locales loaded).
 
-  If left `undfined` or an empty string, uses the last locale loaded (or `'en-US'` if no locale files loaded).
+  If left `undefined` or an empty string, uses the last locale loaded (or `'en-US'` if no locale files loaded).
 
 - **Default:** `undefined`
 

+ 1 - 1
site/docs/extensions/addrbar.md

@@ -58,4 +58,4 @@ Every time when changing page, sorting and searching operation, it will change t
 
 * The example page doesn't handle the sort and search operation, you need do it yourself.
 
-* While search field appeared, the page number will return to 1 when refresh, you can read [同时设置pageNumber和searchText初始值会冲突](https://github.com/wenzhixin/bootstrap-table/issues/2580).
+* While search field appeared, the page number will return to 1 when refresh, you can read [同时设置 pageNumber  searchText 初始值会冲突](https://github.com/wenzhixin/bootstrap-table/issues/2580).

+ 1 - 1
site/docs/extensions/auto-refresh.md

@@ -14,7 +14,7 @@ toc: true
 
 ## Example
 
-[Addrbar](https://examples.bootstrap-table.com/#extensions/auto-refresh.html)
+[Auto Refresh](https://examples.bootstrap-table.com/#extensions/auto-refresh.html)
 
 ## Options
 

+ 1 - 1
site/docs/getting-started/build-tools.md

@@ -8,7 +8,7 @@ toc: true
 
 ## Tooling setup
 
-Bootstrap Table uses [NPM scripts](https://docs.npmjs.com/misc/scripts) for its build system. Our [package.json]({{ site.repo }}/blob/{{ site.current_version }}/package.json) includes convenient methods for working with the framework, including linting coude, compiling code, and more.
+Bootstrap Table uses [NPM scripts](https://docs.npmjs.com/misc/scripts) for its build system. Our [package.json]({{ site.repo }}/blob/{{ site.current_version }}/package.json) includes convenient methods for working with the framework, including linting code, compiling code, and more.
 
 To use our build system and run our documentation locally, you'll need a copy of Bootstrap Table's source files and Node. Follow these steps and you should be ready to rock: