aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootScope.js
diff options
context:
space:
mode:
authorDaniel Luz2012-11-04 11:05:58 -0200
committerMisko Hevery2013-02-14 14:43:56 -0800
commit1ed638582d2f2c7f89384d9712f4cfac52cc5b70 (patch)
tree2e2868b6939f2db28ed0cdb9692a32a3b8b85b8d /src/ng/rootScope.js
parent3b14092135ab02a4b08c0ba21d40726684acf83e (diff)
downloadangular.js-1ed638582d2f2c7f89384d9712f4cfac52cc5b70.tar.bz2
feat($parse): added `constant` and `literal` properties
* `literal` is set to true if the expression's top-level is a JavaScript literal (number, string, boolean, null/undefined, array, object), even if it contains non-literals inside. * `constant` is set to true if the expression is known to be made entirely of constant values, i.e., evaluating it will always yield the same result. A consequence is that a JSON expression is guaranteed to be both literal and constant.
Diffstat (limited to 'src/ng/rootScope.js')
0 files changed, 0 insertions, 0 deletions