| OLD | NEW |
| 1 >>> (indent 4) | 1 >>> (indent 4) |
| 2 main() { | 2 main() { |
| 3 it('should expose traverse locals', () { | 3 it('should expose traverse locals', () { |
| 4 expect(parser('a.b').bind({ | 4 expect(parser('a.b').bind({ |
| 5 'a': {'b': 6} | 5 'a': {'b': 6} |
| 6 }, ContextLocals.wrapper)({ | 6 }, ContextLocals.wrapper)({ |
| 7 'a': {'b': 1} | 7 'a': {'b': 1} |
| 8 })) | 8 })) |
| 9 .toEqual(1); | 9 .toEqual(1); |
| 10 }); | 10 }); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 @Component( | 35 @Component( |
| 36 selector: 'io-controller', | 36 selector: 'io-controller', |
| 37 template: r'<content></content>', | 37 template: r'<content></content>', |
| 38 map: const { | 38 map: const { |
| 39 'attr': '@attr', | 39 'attr': '@attr', |
| 40 'expr': '<=>expr', | 40 'expr': '<=>expr', |
| 41 'once': '=>!exprOnce', | 41 'once': '=>!exprOnce', |
| 42 'ondone': '&onDone', | 42 'ondone': '&onDone', |
| 43 'on-optional': '&onOptional' | 43 'on-optional': '&onOptional' |
| 44 }) | 44 }) |
| 45 class IoControllerComponent implements ScopeAware {} | 45 class IoControllerComponent implements ScopeAware {} |
| 46 >>> (indent 4) |
| 47 main() { |
| 48 expect(matcher.match( |
| 49 CssSelector.parse("someOtherTag.someOtherClass[someOtherAttr]")[ |
| 50 0], |
| 51 selectableCollector)) |
| 52 .toEqual(false); |
| 53 } |
| 54 <<< |
| 55 main() { |
| 56 expect(matcher.match( |
| 57 CssSelector |
| 58 .parse("someOtherTag.someOtherClass[someOtherAttr]")[0], |
| 59 selectableCollector)) |
| 60 .toEqual(false); |
| 61 } |
| OLD | NEW |