aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader.js
diff options
context:
space:
mode:
authorLuis Ramón López2013-01-26 20:15:06 +0100
committerIgor Minar2013-02-25 14:30:54 -0800
commitac899d0da59157fa1c6429510791b6c3103d9401 (patch)
tree1d6dd8e5e0b394000c14d691d21480025d138318 /src/loader.js
parent30162b769cccb1965a4ad85a4eedd805d3764853 (diff)
downloadangular.js-ac899d0da59157fa1c6429510791b6c3103d9401.tar.bz2
feat($compile): '=?' makes '=' binding optional
If you bind using '=' to a non-existant parent property, the compiler will throw a NON_ASSIGNABLE_MODEL_EXPRESSION exception, which is right because the model doesn't exist. This enhancement allow to specify that a binding is optional so it won't complain if the parent property is not defined. In order to mantain backward compability, the new behaviour must be specified using '=?' instead of '='. The local property will be undefined is these cases. Closes #909 Closes #1435
Diffstat (limited to 'src/loader.js')
0 files changed, 0 insertions, 0 deletions