From 14e1c4d5f92e8bcb4c441d29a0ebc59c876ce1d8 Mon Sep 17 00:00:00 2001 From: Florian Kissling Date: Sun, 7 Jun 2015 17:05:17 +0200 Subject: [PATCH] JavaScript indention. --- docs/announcements-4.0.html | 16 +- docs/examples.html | 326 ++++++++++++++++++------------------ docs/options.html | 3 +- 3 files changed, 178 insertions(+), 167 deletions(-) diff --git a/docs/announcements-4.0.html b/docs/announcements-4.0.html index 33e34baa..ef067df5 100644 --- a/docs/announcements-4.0.html +++ b/docs/announcements-4.0.html @@ -379,9 +379,10 @@ initSelection : function (element, callback) {

-$.fn.select2.amd.require(
-['select2/data/array', 'select2/utils'],
-function (ArrayData, Utils) {
+$.fn.select2.amd.require([
+  'select2/data/array',
+  'select2/utils'
+], function (ArrayData, Utils) {
   function CustomData ($element, options) {
     CustomData.__super__.constructor.call(this, $element, options);
   }
@@ -505,9 +506,10 @@ query: function (query) {
         

-$.fn.select2.amd.require(
-['select2/data/array', 'select2/utils'],
-function (ArrayData, Utils) {
+$.fn.select2.amd.require([
+  'select2/data/array',
+  'select2/utils'
+], function (ArrayData, Utils) {
   function CustomData ($element, options) {
     CustomData.__super__.constructor.call(this, $element, options);
   }
@@ -746,5 +748,5 @@ $("select").prop("disabled", true); // instead of $("select").enable(false);
 
 
 
diff --git a/docs/examples.html b/docs/examples.html
index 4301cfae..e6f60361 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -52,87 +52,95 @@ slug: examples
 {% include js-source-states.html %}
 
 
diff --git a/docs/options.html b/docs/options.html
index 3edac0b3..e3c19cbd 100644
--- a/docs/options.html
+++ b/docs/options.html
@@ -32,5 +32,6 @@ slug: options
   
 
 
-