Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 2b8649f

Browse files
d2mjbdeboer
authored andcommitted
fix(scope, pubspec): Changes to run with Dart SDK version 0.5.16.0_r23799
1 parent 466f187 commit 2b8649f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

demo/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: angular-dart-demo
1+
name: angular_dart_demo
22
version: 0.0.1
33
dependencies:
4+
angular:
5+
path: ..
46
browser: any
5-
unittest: any
67
js: any
7-
angular:
8-
path: ..
8+
unittest: any

lib/scope.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Event {
6666
Scope currentScope;
6767
bool propagationStopped = false;
6868
bool defaultPrevented = false;
69-
69+
7070
Event(this.name, this.targetScope);
7171

7272
stopPropagation () => propagationStopped = true;
@@ -245,7 +245,7 @@ class Scope implements Map {
245245
} else {
246246
next = current._nextSibling;
247247
if (next == null) {
248-
while(current !== target && (next = current._nextSibling) == null) {
248+
while(current != target && (next = current._nextSibling) == null) {
249249
current = current.$parent;
250250
}
251251
}
@@ -386,7 +386,7 @@ class Scope implements Map {
386386
} else {
387387
next = current._nextSibling;
388388
if (next == null) {
389-
while(current !== target && (next = current._nextSibling) == null) {
389+
while(current != target && (next = current._nextSibling) == null) {
390390
current = current.$parent;
391391
}
392392
}

0 commit comments

Comments
 (0)