diff options
| author | Misko Hevery | 2010-09-14 23:22:15 +0200 | 
|---|---|---|
| committer | Misko Hevery | 2010-09-14 23:22:15 +0200 | 
| commit | 894ffadc8c35da6c7daf3e16a9f4931b24f3b231 (patch) | |
| tree | b96beb2111540f928bfcf410afae8036c312c046 /src/directives.js | |
| parent | e3f760fbadedc977d9f5f461feafbaecab5a9046 (diff) | |
| download | angular.js-894ffadc8c35da6c7daf3e16a9f4931b24f3b231.tar.bz2 | |
Fixed all trivial jslint violations
Diffstat (limited to 'src/directives.js')
| -rw-r--r-- | src/directives.js | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/src/directives.js b/src/directives.js index 8599d01d..994ef90e 100644 --- a/src/directives.js +++ b/src/directives.js @@ -34,7 +34,7 @@ angularDirective("ng:bind", function(expression){        });        this.$element = oldElement;        if (lastValue === value && lastError == error) return; -      isHtml = value instanceof HTML, +      isHtml = value instanceof HTML;        isDomElement = isElement(value);        if (!isHtml && !isDomElement && isObject(value)) {          value = toJson(value); @@ -85,7 +85,7 @@ function compileBindTemplate(template){          else if (isObject(value))            value = toJson(value, true);          parts.push(value); -      }; +      }        self.$element = oldElement;        return parts.join('');      }; @@ -133,7 +133,7 @@ angularDirective("ng:bind-attr", function(expression){              element.attr(key, value);            }          } -      }; +      }      }, element);    };  }); @@ -187,7 +187,7 @@ angularWidget("@ng:repeat", function(expression, element){            lastElement = childScope.$element;            index ++;          } -      }; +      }        // shrink children        while(children.length > index) {          children.pop().$element.remove();  | 
