-
Notifications
You must be signed in to change notification settings - Fork 43
/
changelog
83 lines (74 loc) · 2.59 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
1.0
---
* al-for (alias of al-repeat)
* unification al-value, al-checkbox and other into al-model
* al-model for component, property $model and input event
* al-ifnot was removed
* al-if, al-else-if, al-else
* component: env.sendEvent
0.14
----
* Scope is removed
* able to take filter from scope
* $ns is removed
* checking for double binding is removed
* element variables, e.g. #input
* alight.option.removeAttribute
* improve dom-optimization
* support zone.js, https://github.com/angular/zone.js
* event modifiers: once, self, empty expression
* al-checked: value as array, true-value, false-value
* component: to publish api using #variable instead of :api, if api is not exists then scope will be published
* ChangeDetector.on - addEventListener + auto removing
0.13
----
* new way to make local variables
* new option "locals" for ChangeDetector.new(scope, option)
* scope.$getValue and scope.$eval don't consider locals variables
* new functions
* env.takeAttr
* env.skippedAttr
* env.scan
* env.watch
* env.watchGroup
* env.watchText
* env.getValue
* env.setValue
* env.eval
* env.new(scope, option)
* env.bind(cd, element, option)
* scope.$watch, option changeDetector was removed
* using Map instead of $changeDetector and $rootChangeDetector
* double binding detector: alight.debug.doubleBinding
* alight.bind, alias of option "skip", can be true or list of attributes
* alight.Scope, new option "returnChangeDetector"
* watchMode "copy" for components
* fastBinding for directives (env.fastBinding)
* al-model
* al-value
* al-checked
* :attr
* alight() is a alias of alight.bootstrap, alight.bootstrap was improved
* alight.bootstrap returns changeDetector instead of scope
* alight.option.injectScope
* :class supports true/false way, e.g. :class.red.bold="!!active"
* al-init.window - adds window arguments
* alight.bootstrap accepts function as second argument
* alight.bootstrap return changeDetector, if you pass data, then there is the same changeDetector for all selectors
* renaming alight.createComponent -> alight.component
* Component: if props is declared then auto props will be off
* Component: props as array
* Component: simple attribute as copy-prop
* alight.utils.parsFilter
* basic filters
* filter date accepts format as string variable
* watchMode and fn for filter object
* simple filters can return Promise
* format was changed for filter "filter", example "list | filter key text", "list | filter text"
* alight.utils.parsArguments
* direct directive: dir-name!="this, $element, $env, variable"
* global priority
* jquery plugin
Fixes:
* fix :scope.html
* component: digest before binding