]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Adjust indentation 1115/head
authorXotic750 <xotic750@gmail.com>
Tue, 17 Sep 2013 23:21:55 +0000 (01:21 +0200)
committerXotic750 <xotic750@gmail.com>
Tue, 17 Sep 2013 23:21:55 +0000 (01:21 +0200)
moment.js

index ddf3240542ffbb43f6cd0cf3a46eb846944233db..11c30b43ae30fbc7a553cde78cfbe08ac80b396d 100644 (file)
--- a/moment.js
+++ b/moment.js
     ************************************/
 
 
-function extend(a, b) {
-    for (var i in b) {
-        if (b.hasOwnProperty(i)) {
-            a[i] = b[i];
+    function extend(a, b) {
+        for (var i in b) {
+            if (b.hasOwnProperty(i)) {
+                a[i] = b[i];
+            }
         }
-    }
 
-    if (b.hasOwnProperty("toString")) {
-        a.toString = b.toString;
-    }
+        if (b.hasOwnProperty("toString")) {
+            a.toString = b.toString;
+        }
 
-    if (b.hasOwnProperty("valueOf")) {
-        a.valueOf = b.valueOf;
-    }
+        if (b.hasOwnProperty("valueOf")) {
+            a.valueOf = b.valueOf;
+        }
 
-    return a;
-}
+        return a;
+    }
 
     function absRound(number) {
         if (number < 0) {