Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Extra trailing commas stop closure-compiler #24

@mcd-php

Description

@mcd-php

Don't want to make PR since this file is built by script (?) and real PR will take digging deeper.

Here's the patch:

--- a/scalyr.js 2016-03-16 10:40:08.035063271 +0300
+++ b/scalyr.js 2016-03-16 10:38:26.000000000 +0300
@@ -421,9 +421,9 @@
             return isNull(alwaysEvaluateString) || 
                    !(isStringNonempty(watchExpression) && (watchExpression.indexOf(alwaysEvaluateString) >= 0));
           }, true /* Evaluate any newly added watchers when they are added */);
-        },
+        }
       };
-    },
+    }
   };
 }])
 /**
@@ -441,7 +441,7 @@
   return {
     restrict: 'A',
     link: function(scope, element, attrs) {
-    },
+    }
   };
 })
 /**
@@ -480,7 +480,7 @@
     link: function slyShowLink(scope, element, attr) {
       scope.$watch(attr.slyShow, function ngSlyShowAction(value){
         $animate[toBoolean(value) ? 'removeClass' : 'addClass'](element, 'ng-hide');
-      }, false, 'slyShow'); },
+      }, false, 'slyShow'); }
   };
 }])
 /**
@@ -508,9 +508,9 @@
               return false;
             return true;
           });
-        },
+        }
       };
-    },
+    }
   };
 });

@@ -617,7 +617,7 @@
               // Need to add in an element for each new item in the collection.
               var newElement = {
                   scope: $scope.$new(),
-                  isActiveForRepeat: true,
+                  isActiveForRepeat: true
               };

               gateWatchersForScope(newElement);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions