An angular module that adds a "Once" counterpart to angular's $watch functions which will only call the listener when the expression is defined and then immediately stop the watch.
by kentcdoddsJavaScript
Last 12 weeks · 0 commits
2 of 6 standards met
Repository: kentcdodds/watchOnce. Description: An angular module that adds a "Once" counterpart to angular's $watch functions which will only call the listener when the expression is defined and then immediately stop the watch. Stars: 11, Forks: 3. Primary language: JavaScript. Languages: JavaScript (68.6%), HTML (31.4%). License: MIT. Homepage: http://kentcdodds.github.io/watchOnce Latest release: 0.0.3 (11y ago). Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 42%. Top contributors: jantimon, ccnokes.
The $ in Scope.$watchOnce.js is causing issues with closure-compiler-jar. It thinks the $ is the start of a variable name. Would you mine renaming it to scope.watchOnce.js or something of the sort?