refactor: Remove isDart from public API

BREAKING CHANGE:

- `IS_DARTIUM` no longer exported
This commit is contained in:
Misko Hevery
2015-08-11 14:00:54 -07:00
parent 5c328adb4b
commit b7837389d7
35 changed files with 61 additions and 74 deletions
@@ -8,7 +8,6 @@ import {
expect,
iit,
inject,
IS_DARTIUM,
beforeEachBindings,
it,
xit,
@@ -8,7 +8,6 @@ import {
expect,
iit,
inject,
IS_DARTIUM,
beforeEachBindings,
it,
xit,
@@ -17,17 +16,15 @@ import {
Scope,
inspectNativeElement
} from 'angular2/test_lib';
import {global} from 'angular2/src/facade/lang';
import {APP_VIEW_POOL_CAPACITY} from 'angular2/src/core/compiler/view_pool';
import {Injectable, bind} from 'angular2/di';
import {
Directive,
Component,
View,
} from 'angular2/annotations';
import {IS_DART} from '../platform';
@Component({selector: 'my-comp'})
@View({directives: []})
@@ -65,7 +62,7 @@ export function main() {
}));
if (!IS_DARTIUM) {
if (!IS_DART) {
it('should provide a global function to inspect elements',
inject([TestComponentBuilder, AsyncTestCompleter], (tcb, async) => {
tcb.overrideTemplate(MyComp, '')