ソースを参照

Update examples.html

the lines i added yesterday wrapped when rendered.  I put in some line breaks so the comments would be more readable
cokert 11 年 前
コミット
7910c9ec7c
1 ファイル変更6 行追加3 行削除
  1. 6 3
      docs/examples.html

+ 6 - 3
docs/examples.html

@@ -953,9 +953,12 @@
                                 $('#get-data').click(function () {
                                     alert('current data: ' + JSON.stringify($table.bootstrapTable('getData')));
                                 });
-                                // This demonstrates utilizing the data-method attribute to use one jQuery handler to execute multiple methods 
-                                // ($this).data('method') retrieves the value of the data-method attribute of the object that was clicked
-                                // which is then passed to the bootstrapTable function. Only the load and append methods require a parameter                                 
+                                // This demonstrates utilizing the data-method attribute to use one 
+                                //     jQuery handler to execute multiple methods. 
+                                // ($this).data('method') retrieves the value of the data-method 
+                                //     attribute of the object that was clicked which is then passed to 
+                                //     the bootstrapTable function. 
+                                // Only the load and append methods require a parameter                                 
                                 $('#load-data, #append-data, #check-all, #uncheck-all, ' +
                                         '#show-loading, #hide-loading').click(function () {
                                     $table.bootstrapTable($(this).data('method'), getRows());