lega911 / angular-light

Alight is a library for building interactive MVVM web interfaces/applications. (project is deprecated)
MIT License
274 stars 43 forks source link

Scans with al-repeat and static binding #166

Closed djkunkel closed 8 years ago

djkunkel commented 8 years ago

Is this normal? When using static binding syntax (or one time binding) inside al-repeat scan debug shows at least one scan for each element in the repeater. When using normal binding {{x}} this doesn't happen. Is this a quirk of the debugger or is there something to this?

http://jsfiddle.net/keeuo1Lk/

lega911 commented 8 years ago

at least one scan for each element in the repeater

it's ok for usual binding (if you use directives), but here "fast binding" is used, yes it makes extra scans (at least if you use more then one bindonce), I will fix it.

lega911 commented 8 years ago

fixed

djkunkel commented 8 years ago

Thank you!

On May 24, 2016 2:57 PM, Oleg Nechaev notifications@github.com wrote:

fixed

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/lega911/angular-light/issues/166#issuecomment-221364800