浏览代码

Fixed more indentation issues.

Nadim Afana 9 年之前
父节点
当前提交
16e26310e1
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/js/select2/compat/inputData.js
  2. 1 1
      src/js/select2/dropdown/attachBody.js

+ 1 - 1
src/js/select2/compat/inputData.js

@@ -117,7 +117,7 @@ define([
   };
   };
 
 
   InputData.prototype.addOptions = function (_, $options) {
   InputData.prototype.addOptions = function (_, $options) {
-    var options = $.map($options, function ($option) {      
+    var options = $.map($options, function ($option) {
       return Utils.GetData($option[0], 'data');
       return Utils.GetData($option[0], 'data');
     });
     });
 
 

+ 1 - 1
src/js/select2/dropdown/attachBody.js

@@ -93,7 +93,7 @@ define([
       Utils.StoreData(this, 'select2-scroll-position', {
       Utils.StoreData(this, 'select2-scroll-position', {
         x: $(this).scrollLeft(),
         x: $(this).scrollLeft(),
         y: $(this).scrollTop()
         y: $(this).scrollTop()
-	  });
+      });
     });
     });
 
 
     $watchers.on(scrollEvent, function (ev) {
     $watchers.on(scrollEvent, function (ev) {