Browse Source

Update docs and dist.

zhixin 11 years ago
parent
commit
f455c9efa0
59 changed files with 242 additions and 68 deletions
  1. 2 2
      dist/bootstrap-table.min.css
  2. 2 2
      dist/bootstrap-table.min.js
  3. 7 0
      dist/extensions/editable/bootstrap-table-editable.min.js
  4. 7 0
      dist/extensions/export/bootstrap-table-export.min.js
  5. 7 0
      dist/extensions/filter/bootstrap-table-filter.min.js
  6. 7 0
      dist/extensions/flatJSON/bootstrap-table-flatJSON.min.js
  7. 7 0
      dist/locale/bootstrap-table-cs-CZ.min.js
  8. 2 2
      dist/locale/bootstrap-table-da-DK.min.js
  9. 1 1
      dist/locale/bootstrap-table-el-GR.min.js
  10. 2 2
      dist/locale/bootstrap-table-en-US.min.js
  11. 1 1
      dist/locale/bootstrap-table-es-AR.min.js
  12. 7 0
      dist/locale/bootstrap-table-es-CR.min.js
  13. 7 0
      dist/locale/bootstrap-table-es-NI.min.js
  14. 1 1
      dist/locale/bootstrap-table-fr-BE.min.js
  15. 7 0
      dist/locale/bootstrap-table-fr-FR.min.js
  16. 2 2
      dist/locale/bootstrap-table-it-IT.min.js
  17. 7 0
      dist/locale/bootstrap-table-ko-KR.min.js
  18. 1 1
      dist/locale/bootstrap-table-nl-NL.min.js
  19. 7 0
      dist/locale/bootstrap-table-pl-PL.min.js
  20. 1 1
      dist/locale/bootstrap-table-pt-BR.min.js
  21. 2 2
      dist/locale/bootstrap-table-ru-RU.min.js
  22. 7 0
      dist/locale/bootstrap-table-th-TH.min.js
  23. 2 2
      dist/locale/bootstrap-table-tr-TR.min.js
  24. 7 0
      dist/locale/bootstrap-table-ur-PK.min.js
  25. 1 1
      dist/locale/bootstrap-table-vi-VN.min.js
  26. 2 2
      dist/locale/bootstrap-table-zh-CN.min.js
  27. 2 2
      dist/locale/bootstrap-table-zh-TW.min.js
  28. 2 1
      docs/.gitignore
  29. 1 1
      docs/README.md
  30. 1 1
      docs/_config.yml
  31. 3 3
      docs/_includes/getting-started/download.md
  32. 19 14
      docs/_includes/latest-release.md
  33. 2 2
      docs/dist/bootstrap-table.min.css
  34. 2 2
      docs/dist/bootstrap-table.min.js
  35. 7 0
      docs/dist/extensions/editable/bootstrap-table-editable.min.js
  36. 7 0
      docs/dist/extensions/export/bootstrap-table-export.min.js
  37. 7 0
      docs/dist/extensions/filter/bootstrap-table-filter.min.js
  38. 7 0
      docs/dist/extensions/flatJSON/bootstrap-table-flatJSON.min.js
  39. 7 0
      docs/dist/locale/bootstrap-table-cs-CZ.min.js
  40. 2 2
      docs/dist/locale/bootstrap-table-da-DK.min.js
  41. 1 1
      docs/dist/locale/bootstrap-table-el-GR.min.js
  42. 2 2
      docs/dist/locale/bootstrap-table-en-US.min.js
  43. 1 1
      docs/dist/locale/bootstrap-table-es-AR.min.js
  44. 7 0
      docs/dist/locale/bootstrap-table-es-CR.min.js
  45. 7 0
      docs/dist/locale/bootstrap-table-es-NI.min.js
  46. 1 1
      docs/dist/locale/bootstrap-table-fr-BE.min.js
  47. 7 0
      docs/dist/locale/bootstrap-table-fr-FR.min.js
  48. 2 2
      docs/dist/locale/bootstrap-table-it-IT.min.js
  49. 7 0
      docs/dist/locale/bootstrap-table-ko-KR.min.js
  50. 1 1
      docs/dist/locale/bootstrap-table-nl-NL.min.js
  51. 7 0
      docs/dist/locale/bootstrap-table-pl-PL.min.js
  52. 1 1
      docs/dist/locale/bootstrap-table-pt-BR.min.js
  53. 2 2
      docs/dist/locale/bootstrap-table-ru-RU.min.js
  54. 7 0
      docs/dist/locale/bootstrap-table-th-TH.min.js
  55. 2 2
      docs/dist/locale/bootstrap-table-tr-TR.min.js
  56. 7 0
      docs/dist/locale/bootstrap-table-ur-PK.min.js
  57. 1 1
      docs/dist/locale/bootstrap-table-vi-VN.min.js
  58. 2 2
      docs/dist/locale/bootstrap-table-zh-CN.min.js
  59. 2 2
      docs/dist/locale/bootstrap-table-zh-TW.min.js

File diff suppressed because it is too large
+ 2 - 2
dist/bootstrap-table.min.css


File diff suppressed because it is too large
+ 2 - 2
dist/bootstrap-table.min.js


File diff suppressed because it is too large
+ 7 - 0
dist/extensions/editable/bootstrap-table-editable.min.js


File diff suppressed because it is too large
+ 7 - 0
dist/extensions/export/bootstrap-table-export.min.js


File diff suppressed because it is too large
+ 7 - 0
dist/extensions/filter/bootstrap-table-filter.min.js


File diff suppressed because it is too large
+ 7 - 0
dist/extensions/flatJSON/bootstrap-table-flatJSON.min.js


+ 7 - 0
dist/locale/bootstrap-table-cs-CZ.min.js

@@ -0,0 +1,7 @@
+/*
+* bootstrap-table - v1.4.0 - 2014-11-21
+* https://github.com/wenzhixin/bootstrap-table
+* Copyright (c) 2014 zhixin wen
+* Licensed MIT License
+*/
+!function(a){"use strict";a.extend(a.fn.bootstrapTable.defaults,{formatLoadingMessage:function(){return"Čekejte, prosím…"},formatRecordsPerPage:function(a){return a+" položek na stránku"},formatShowingRows:function(a,b,c){return"Zobrazena "+a+". - "+b+". položka z celkových "+c},formatSearch:function(){return"Vyhledávání"},formatNoMatches:function(){return"Nenalezena žádná vyhovující položka"}})}(jQuery);

File diff suppressed because it is too large
+ 2 - 2
dist/locale/bootstrap-table-da-DK.min.js


+ 1 - 1
dist/locale/bootstrap-table-el-GR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 2 - 2
dist/locale/bootstrap-table-en-US.min.js


+ 1 - 1
dist/locale/bootstrap-table-es-AR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 7 - 0
dist/locale/bootstrap-table-es-CR.min.js


File diff suppressed because it is too large
+ 7 - 0
dist/locale/bootstrap-table-es-NI.min.js


+ 1 - 1
dist/locale/bootstrap-table-fr-BE.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 7 - 0
dist/locale/bootstrap-table-fr-FR.min.js


File diff suppressed because it is too large
+ 2 - 2
dist/locale/bootstrap-table-it-IT.min.js


File diff suppressed because it is too large
+ 7 - 0
dist/locale/bootstrap-table-ko-KR.min.js


+ 1 - 1
dist/locale/bootstrap-table-nl-NL.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 7 - 0
dist/locale/bootstrap-table-pl-PL.min.js


+ 1 - 1
dist/locale/bootstrap-table-pt-BR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 2 - 2
dist/locale/bootstrap-table-ru-RU.min.js


File diff suppressed because it is too large
+ 7 - 0
dist/locale/bootstrap-table-th-TH.min.js


File diff suppressed because it is too large
+ 2 - 2
dist/locale/bootstrap-table-tr-TR.min.js


File diff suppressed because it is too large
+ 7 - 0
dist/locale/bootstrap-table-ur-PK.min.js


+ 1 - 1
dist/locale/bootstrap-table-vi-VN.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 2 - 2
dist/locale/bootstrap-table-zh-CN.min.js


File diff suppressed because it is too large
+ 2 - 2
dist/locale/bootstrap-table-zh-TW.min.js


+ 2 - 1
docs/.gitignore

@@ -1 +1,2 @@
-_site
+_site
+build.sh

+ 1 - 1
docs/README.md

@@ -1,6 +1,6 @@
 # Documentation
 
-Bootstrap table's documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com/) and publicly hosted on http://wenzhixin.net.cn/p/bootstrap-table. The docs may also be run locally.
+Bootstrap table's documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com/) and publicly hosted on http://bootstrap-table.wenzhixin.net.cn. The docs may also be run locally.
 
 ## Running documentation locally
 

+ 1 - 1
docs/_config.yml

@@ -11,7 +11,7 @@ highlighter: rouge
 permalink: pretty
 
 # Custom vars
-current_version: 1.3.0
+current_version: 1.4.0
 repo: https://github.com/wenzhixin/bootstrap-table
 website: http://wenzhixin.net.cn
 repos: http://repos.wenzhixin.net.cn

+ 3 - 3
docs/_includes/getting-started/download.md

@@ -22,13 +22,13 @@ The folks over at [CDNJS](http://www.cdnjs.com/libraries/bootstrap-table) or [bo
 
 ```html
 <!-- Latest compiled and minified CSS -->
-<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.3.0/bootstrap-table.min.css">
+<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.css">
 
 <!-- Latest compiled and minified JavaScript -->
-<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.3.0/bootstrap-table.min.js"></script>
+<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.js"></script>
 
 <!-- Latest compiled and minified Locales -->
-<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.3.0/locale/bootstrap-table-zh-CN.min.js"></script>
+<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/locale/bootstrap-table-zh-CN.min.js"></script>
 ```
 
 ## Bower

+ 19 - 14
docs/_includes/latest-release.md

@@ -1,17 +1,22 @@
 ### Latest release
 
-#### 1.3.0 (2014-10-16)
+#### v{{ site.current_version }} (2014-11-21)
 
-- [enh] Take `showHeader` option effect to the card view.
-- [enh] Rename and update locale files.
-- [bug] Fix #102: Wrong `options.columns` initialization.
-- [enh] Fix #121: Add extensions for bootstrap table.
-- [bug] Fix #138: IE8 search data and remove method error.
-- [bug] Fix bug: sorter and check all do not work in some case.
-- [enh] Add `bootstrap-table-nl-NL.js` and `bootstrap-table-el-GR.js`.
-- [enh] Support search without data-field set, trim search input.
-- [enh] Fix #81: Allow the `class` to be applied to the radio or checkbox row.
-- [bug] Fix #135, #142: Search use formatted data.
-- [enh] Verify search text before send queryParams.
-- [bug] Fix #148: column events support namespace.
-- [enh] Support to disable radio or checkbox column by formatter.
+- [enh] Fix #119, #123: Save all `id` and `class` of `tr` and `td` for html table.
+- [enh] Fix #149: Hide empty data on Card view.
+- [enh] Fix #131: Add `onPageChange` event.
+- [enh] Add `onSearch` event.
+- [enh] Apply `width` column option to row style.
+- [enh] Add bootstrap-table-filter extension.
+- [enh] Add cs-CZ, es-CR, es-NI, pl-PL, ur-PK, ko-KR, th-TH locales.
+- [bug] Fix `minimumCountColumns` option init error.
+- [bug] Fix #161: `undefined` or `null` string sort bug.
+- [bug] Fix #171: IE disabled button can be clicked bug.
+- [bug] Fix #185: Reset the page to the first page when changing the url with `refresh` method.
+- [bug] Fix #202: updateRow method keep the scroll position.
+- [enh] Add `smartDisplay` option.
+- [enh] Add `searchAlign` and `toolbarAlign` options.
+- [enh] Fix #193: Add `dataType` option.
+- [enh] Add flatJSON and editable extensions.
+- [enh] Add `rowAttributes` option.
+- [enh] Update documentation.

File diff suppressed because it is too large
+ 2 - 2
docs/dist/bootstrap-table.min.css


File diff suppressed because it is too large
+ 2 - 2
docs/dist/bootstrap-table.min.js


File diff suppressed because it is too large
+ 7 - 0
docs/dist/extensions/editable/bootstrap-table-editable.min.js


File diff suppressed because it is too large
+ 7 - 0
docs/dist/extensions/export/bootstrap-table-export.min.js


File diff suppressed because it is too large
+ 7 - 0
docs/dist/extensions/filter/bootstrap-table-filter.min.js


File diff suppressed because it is too large
+ 7 - 0
docs/dist/extensions/flatJSON/bootstrap-table-flatJSON.min.js


+ 7 - 0
docs/dist/locale/bootstrap-table-cs-CZ.min.js

@@ -0,0 +1,7 @@
+/*
+* bootstrap-table - v1.4.0 - 2014-11-21
+* https://github.com/wenzhixin/bootstrap-table
+* Copyright (c) 2014 zhixin wen
+* Licensed MIT License
+*/
+!function(a){"use strict";a.extend(a.fn.bootstrapTable.defaults,{formatLoadingMessage:function(){return"Čekejte, prosím…"},formatRecordsPerPage:function(a){return a+" položek na stránku"},formatShowingRows:function(a,b,c){return"Zobrazena "+a+". - "+b+". položka z celkových "+c},formatSearch:function(){return"Vyhledávání"},formatNoMatches:function(){return"Nenalezena žádná vyhovující položka"}})}(jQuery);

File diff suppressed because it is too large
+ 2 - 2
docs/dist/locale/bootstrap-table-da-DK.min.js


+ 1 - 1
docs/dist/locale/bootstrap-table-el-GR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 2 - 2
docs/dist/locale/bootstrap-table-en-US.min.js


+ 1 - 1
docs/dist/locale/bootstrap-table-es-AR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 7 - 0
docs/dist/locale/bootstrap-table-es-CR.min.js


File diff suppressed because it is too large
+ 7 - 0
docs/dist/locale/bootstrap-table-es-NI.min.js


+ 1 - 1
docs/dist/locale/bootstrap-table-fr-BE.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 7 - 0
docs/dist/locale/bootstrap-table-fr-FR.min.js


File diff suppressed because it is too large
+ 2 - 2
docs/dist/locale/bootstrap-table-it-IT.min.js


File diff suppressed because it is too large
+ 7 - 0
docs/dist/locale/bootstrap-table-ko-KR.min.js


+ 1 - 1
docs/dist/locale/bootstrap-table-nl-NL.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 7 - 0
docs/dist/locale/bootstrap-table-pl-PL.min.js


+ 1 - 1
docs/dist/locale/bootstrap-table-pt-BR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 2 - 2
docs/dist/locale/bootstrap-table-ru-RU.min.js


File diff suppressed because it is too large
+ 7 - 0
docs/dist/locale/bootstrap-table-th-TH.min.js


File diff suppressed because it is too large
+ 2 - 2
docs/dist/locale/bootstrap-table-tr-TR.min.js


File diff suppressed because it is too large
+ 7 - 0
docs/dist/locale/bootstrap-table-ur-PK.min.js


+ 1 - 1
docs/dist/locale/bootstrap-table-vi-VN.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.3.0 - 2014-10-16
+* bootstrap-table - v1.4.0 - 2014-11-21
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2014 zhixin wen
 * Licensed MIT License

File diff suppressed because it is too large
+ 2 - 2
docs/dist/locale/bootstrap-table-zh-CN.min.js


File diff suppressed because it is too large
+ 2 - 2
docs/dist/locale/bootstrap-table-zh-TW.min.js