Update angular to the rc

This commit is contained in:
Roman Hotsiy 2016-05-05 11:05:02 +03:00
parent 6aa1bbc6c6
commit a272dacc95
28 changed files with 127 additions and 96 deletions

View File

@ -1,7 +1,7 @@
'use strict'; 'use strict';
import {Component, EventEmitter, ElementRef} from 'angular2/core'; import {Component, EventEmitter, ElementRef} from '@angular/core';
import {CORE_DIRECTIVES} from 'angular2/common'; import {CORE_DIRECTIVES} from '@angular/common';
import DropKick from 'Robdel12/DropKick'; import DropKick from 'Robdel12/DropKick';
import 'Robdel12/DropKick/build/css/dropkick.css!css'; import 'Robdel12/DropKick/build/css/dropkick.css!css';

View File

@ -1,7 +1,7 @@
'use strict'; 'use strict';
import {Directive, ElementRef} from 'angular2/core'; import {Directive, ElementRef} from '@angular/core';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
@Directive({ @Directive({
selector: '[sticky-sidebar]', selector: '[sticky-sidebar]',

View File

@ -1,8 +1,8 @@
'use strict'; 'use strict';
import { getChildDebugElementByType } from 'tests/helpers'; import { getChildDebugElementByType } from 'tests/helpers';
import {Component, provide} from 'angular2/core'; import {Component, provide} from '@angular/core';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import { import {
TestComponentBuilder, TestComponentBuilder,
@ -10,7 +10,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import StickySidebar from 'lib/common/components/StickySidebar/sticky-sidebar'; import StickySidebar from 'lib/common/components/StickySidebar/sticky-sidebar';

View File

@ -1,7 +1,7 @@
'use strict'; 'use strict';
import {Component, EventEmitter} from 'angular2/core'; import {Component, EventEmitter} from '@angular/core';
import {CORE_DIRECTIVES} from 'angular2/common'; import {CORE_DIRECTIVES} from '@angular/common';
@Component({ @Component({
selector: 'tabs', selector: 'tabs',

View File

@ -1,14 +1,14 @@
'use strict'; 'use strict';
import { getChildDebugElement, getChildDebugElementAll } from 'tests/helpers'; import { getChildDebugElement, getChildDebugElementAll } from 'tests/helpers';
import {Component} from 'angular2/core'; import {Component} from '@angular/core';
import { import {
TestComponentBuilder, TestComponentBuilder,
inject, inject,
beforeEach, beforeEach,
it it
} from 'angular2/testing'; } from '@angular/testing';
import {Tabs, Tab} from 'lib/common/components/Tabs/tabs'; import {Tabs, Tab} from 'lib/common/components/Tabs/tabs';

View File

@ -1,7 +1,7 @@
'use strict'; 'use strict';
import {Component, EventEmitter} from 'angular2/core'; import {Component, EventEmitter} from '@angular/core';
import {CORE_DIRECTIVES} from 'angular2/common'; import {CORE_DIRECTIVES} from '@angular/common';
@Component({ @Component({
selector: 'zippy', selector: 'zippy',

View File

@ -1,14 +1,14 @@
'use strict'; 'use strict';
import { getChildDebugElement, mouseclick } from 'tests/helpers'; import { getChildDebugElement, mouseclick } from 'tests/helpers';
import {Component} from 'angular2/core'; import {Component} from '@angular/core';
import { import {
TestComponentBuilder, TestComponentBuilder,
inject, inject,
beforeEach, beforeEach,
it it
} from 'angular2/testing'; } from '@angular/testing';
import Zippy from 'lib/common/components/Zippy/zippy'; import Zippy from 'lib/common/components/Zippy/zippy';

View File

@ -1,7 +1,7 @@
'use strict'; 'use strict';
import { getChildDebugElement } from 'tests/helpers'; import { getChildDebugElement } from 'tests/helpers';
import {Component, provide} from 'angular2/core'; import {Component, provide} from '@angular/core';
import { import {
TestComponentBuilder, TestComponentBuilder,
@ -10,7 +10,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import ApiInfo from 'lib/components/ApiInfo/api-info'; import ApiInfo from 'lib/components/ApiInfo/api-info';
import SchemaManager from 'lib/utils/SchemaManager'; import SchemaManager from 'lib/utils/SchemaManager';

View File

@ -1,7 +1,7 @@
'use strict'; 'use strict';
import { getChildDebugElement } from 'tests/helpers'; import { getChildDebugElement } from 'tests/helpers';
import {Component, provide} from 'angular2/core'; import {Component, provide} from '@angular/core';
import { import {
TestComponentBuilder, TestComponentBuilder,
@ -10,7 +10,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import ApiLogo from 'lib/components/ApiLogo/api-logo'; import ApiLogo from 'lib/components/ApiLogo/api-logo';
import SchemaManager from 'lib/utils/SchemaManager'; import SchemaManager from 'lib/utils/SchemaManager';

View File

@ -1,8 +1,8 @@
'use strict'; 'use strict';
import {Component, ElementRef, ViewContainerRef} from 'angular2/core'; import {Component, ElementRef, ViewContainerRef} from '@angular/core';
import {CORE_DIRECTIVES} from 'angular2/common'; import {CORE_DIRECTIVES} from '@angular/common';
import {DynamicComponentLoader} from 'angular2/src/core/linker/dynamic_component_loader'; import {DynamicComponentLoader} from '@angular/core';
import JsonSchema from './json-schema'; import JsonSchema from './json-schema';
import OptionsManager from '../../options'; import OptionsManager from '../../options';
@ -41,7 +41,7 @@ export default class JsonSchemaLazy {
this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => { this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {
this.initComponent(compRef); this.initComponent(compRef);
// trigger change detection // trigger change detection
compRef.hostView.changeDetectorRef.detectChanges(); compRef.changeDetectorRef.detectChanges();
}); });
} }
this.loaded = true; this.loaded = true;
@ -60,7 +60,7 @@ export default class JsonSchemaLazy {
if ($element.querySelector('.discriminator-wrap')) { if ($element.querySelector('.discriminator-wrap')) {
this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => { this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {
this.initComponent(compRef); this.initComponent(compRef);
compRef.hostView.changeDetectorRef.detectChanges(); compRef.changeDetectorRef.detectChanges();
}); });
return; return;
} }
@ -70,7 +70,7 @@ export default class JsonSchemaLazy {
} else { } else {
cache[this.pointer] = this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => { cache[this.pointer] = this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {
this.initComponent(compRef); this.initComponent(compRef);
compRef.hostView.changeDetectorRef.detectChanges(); compRef.changeDetectorRef.detectChanges();
return compRef; return compRef;
}); });
} }

View File

@ -1,9 +1,9 @@
'use strict'; 'use strict';
import { getChildDebugElement } from 'tests/helpers'; import { getChildDebugElement } from 'tests/helpers';
import {Component, provide} from 'angular2/core'; import {Component, provide} from '@angular/core';
import {DynamicComponentLoader} from 'angular2/src/core/linker/dynamic_component_loader'; import {DynamicComponentLoader} from '@angular/core';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import { import {
TestComponentBuilder, TestComponentBuilder,
@ -11,7 +11,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import JsonSchemaLazy from 'lib/components/JsonSchema/json-schema-lazy'; import JsonSchemaLazy from 'lib/components/JsonSchema/json-schema-lazy';
import SchemaManager from 'lib/utils/SchemaManager'; import SchemaManager from 'lib/utils/SchemaManager';

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
import {ElementRef} from 'angular2/core'; import {ElementRef} from '@angular/core';
import {RedocComponent, BaseComponent, SchemaManager} from '../base'; import {RedocComponent, BaseComponent, SchemaManager} from '../base';
import {DropDown} from '../../common/components/DropDown/dropdown'; import {DropDown} from '../../common/components/DropDown/dropdown';

View File

@ -1,7 +1,7 @@
'use strict'; 'use strict';
import { getChildDebugElement } from 'tests/helpers'; import { getChildDebugElement } from 'tests/helpers';
import {Component, provide} from 'angular2/core'; import {Component, provide} from '@angular/core';
import OptionsManager from 'lib/options'; import OptionsManager from 'lib/options';
import { import {
@ -10,7 +10,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import JsonSchema from 'lib/components/JsonSchema/json-schema'; import JsonSchema from 'lib/components/JsonSchema/json-schema';
import SchemaManager from 'lib/utils/SchemaManager'; import SchemaManager from 'lib/utils/SchemaManager';

View File

@ -1,8 +1,8 @@
'use strict'; 'use strict';
import { getChildDebugElement } from 'tests/helpers'; import { getChildDebugElement } from 'tests/helpers';
import {Component, provide} from 'angular2/core'; import {Component, provide} from '@angular/core';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import { import {
TestComponentBuilder, TestComponentBuilder,
@ -11,7 +11,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import Method from 'lib/components/Method/method'; import Method from 'lib/components/Method/method';
import SchemaManager from 'lib/utils/SchemaManager'; import SchemaManager from 'lib/utils/SchemaManager';

View File

@ -1,9 +1,9 @@
'use strict'; 'use strict';
import { getChildDebugElement } from 'tests/helpers'; import { getChildDebugElement } from 'tests/helpers';
import {Component, provide} from 'angular2/core'; import {Component, provide} from '@angular/core';
import OptionsManager from 'lib/options'; import OptionsManager from 'lib/options';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import { import {
TestComponentBuilder, TestComponentBuilder,
@ -12,7 +12,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import MethodsList from 'lib/components/MethodsList/methods-list'; import MethodsList from 'lib/components/MethodsList/methods-list';
import SchemaManager from 'lib/utils/SchemaManager'; import SchemaManager from 'lib/utils/SchemaManager';

View File

@ -1,8 +1,9 @@
'use strict'; 'use strict';
import {ChangeDetectionStrategy, provide, enableProdMode} from 'angular2/core'; import {ChangeDetectionStrategy, provide, enableProdMode} from '@angular/core';
import {ElementRef} from 'angular2/core'; import {ElementRef} from '@angular/core';
import {BrowserDomAdapter, bootstrap} from 'angular2/platform/browser'; import {bootstrap} from '@angular/platform-browser-dynamic';
import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import detectScollParent from 'scrollparent'; import detectScollParent from 'scrollparent';
import {RedocComponent, BaseComponent} from '../base'; import {RedocComponent, BaseComponent} from '../base';
import SchemaManager from '../../utils/SchemaManager'; import SchemaManager from '../../utils/SchemaManager';

View File

@ -1,8 +1,8 @@
'use strict'; 'use strict';
import { getChildDebugElement } from 'tests/helpers'; import { getChildDebugElement } from 'tests/helpers';
import {Component, ViewMetadata, provide} from 'angular2/core'; import {Component, ViewMetadata, provide} from '@angular/core';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import { import {
TestComponentBuilder, TestComponentBuilder,
@ -11,7 +11,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import Redoc from 'lib/components/Redoc/redoc'; import Redoc from 'lib/components/Redoc/redoc';
import SchemaManager from 'lib/utils/SchemaManager'; import SchemaManager from 'lib/utils/SchemaManager';

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
import {ViewChildren, QueryList, ChangeDetectorRef, ChangeDetectionStrategy} from 'angular2/core'; import {ViewChildren, QueryList, ChangeDetectorRef, ChangeDetectionStrategy} from '@angular/core';
import {RedocComponent, BaseComponent, SchemaManager} from '../base'; import {RedocComponent, BaseComponent, SchemaManager} from '../base';
import JsonPointer from '../../utils/JsonPointer'; import JsonPointer from '../../utils/JsonPointer';

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
import {ElementRef} from 'angular2/core'; import {ElementRef} from '@angular/core';
import SchemaSampler from 'json-schema-instantiator'; import SchemaSampler from 'json-schema-instantiator';

View File

@ -1,9 +1,8 @@
'use strict'; 'use strict';
import {ChangeDetectorRef, ChangeDetectionStrategy, ElementRef} from 'angular2/core'; import {ElementRef} from '@angular/core';
import {document} from 'angular2/src/facade/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {global} from '@angular/core/src/facade/lang';
import {global} from 'angular2/src/facade/lang';
import {RedocComponent, BaseComponent, SchemaManager} from '../base'; import {RedocComponent, BaseComponent, SchemaManager} from '../base';
import {redocEvents} from '../../events'; import {redocEvents} from '../../events';
@ -24,20 +23,18 @@ const INVIEW_POSITION = {
@RedocComponent({ @RedocComponent({
selector: 'side-menu', selector: 'side-menu',
templateUrl: './lib/components/SideMenu/side-menu.html', templateUrl: './lib/components/SideMenu/side-menu.html',
styleUrls: ['./lib/components/SideMenu/side-menu.css'], styleUrls: ['./lib/components/SideMenu/side-menu.css']
changeDetection: ChangeDetectionStrategy.Default
}) })
@Reflect.metadata('parameters', [[SchemaManager], [ElementRef], @Reflect.metadata('parameters', [[SchemaManager], [ElementRef],
[BrowserDomAdapter], [ChangeDetectorRef], [OptionsManager]]) [BrowserDomAdapter], [OptionsManager]])
export default class SideMenu extends BaseComponent { export default class SideMenu extends BaseComponent {
constructor(schemaMgr, elementRef, dom, changeDetectorRef, optionsMgr) { constructor(schemaMgr, elementRef, dom, optionsMgr) {
super(schemaMgr); super(schemaMgr);
this.$element = elementRef.nativeElement; this.$element = elementRef.nativeElement;
this.changeDetector = changeDetectorRef;
this.dom = dom; this.dom = dom;
this.options = optionsMgr.options; this.options = optionsMgr.options;
this.$scrollParent = this.options.$scrollParent; this.$scrollParent = this.options.$scrollParent;
this.bindEvents();
this.activeCatIdx = 0; this.activeCatIdx = 0;
this.activeMethodIdx = -1; this.activeMethodIdx = -1;
this.prevOffsetY = null; this.prevOffsetY = null;
@ -48,6 +45,14 @@ export default class SideMenu extends BaseComponent {
this.activeItemCaption = ''; this.activeItemCaption = '';
} }
init() {
this.bindEvents();
this.$mobileNav = this.dom.querySelector(this.$element, '.mobile-nav');
this.$resourcesNav = this.dom.querySelector(this.$element, '#resources-nav');
this.changeActive(CHANGE.INITIAL);
}
scrollY() { scrollY() {
return (this.$scrollParent.pageYOffset != null) ? this.$scrollParent.pageYOffset : this.$scrollParent.scrollTop; return (this.$scrollParent.pageYOffset != null) ? this.$scrollParent.pageYOffset : this.$scrollParent.scrollTop;
} }
@ -218,7 +223,6 @@ export default class SideMenu extends BaseComponent {
} }
stable = true; stable = true;
} }
this.changeDetector.detectChanges();
} }
prepareModel() { prepareModel() {
@ -245,10 +249,4 @@ export default class SideMenu extends BaseComponent {
dom.setStyle(this.$resourcesNav, 'height', height + 'px'); dom.setStyle(this.$resourcesNav, 'height', height + 'px');
} }
} }
init() {
this.$mobileNav = this.dom.querySelector(this.$element, '.mobile-nav');
this.$resourcesNav = this.dom.querySelector(this.$element, '#resources-nav');
this.changeActive(CHANGE.INITIAL);
}
} }

View File

@ -1,8 +1,8 @@
'use strict'; 'use strict';
import { getChildDebugElement, mouseclick} from 'tests/helpers'; import { getChildDebugElement, mouseclick} from 'tests/helpers';
import {Component, provide, ViewMetadata} from 'angular2/core'; import {Component, provide, ViewMetadata} from '@angular/core';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import OptionsManager from 'lib/options'; import OptionsManager from 'lib/options';
import { import {
@ -12,7 +12,7 @@ import {
beforeEach, beforeEach,
beforeEachProviders, beforeEachProviders,
it it
} from 'angular2/testing'; } from '@angular/testing';
import {redocEvents} from 'lib/events'; import {redocEvents} from 'lib/events';
import MethodsList from 'lib/components/MethodsList/methods-list'; import MethodsList from 'lib/components/MethodsList/methods-list';

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
import {Component, ChangeDetectionStrategy} from 'angular2/core'; import {Component, ChangeDetectionStrategy} from '@angular/core';
import {CORE_DIRECTIVES, JsonPipe, AsyncPipe} from 'angular2/common'; import {CORE_DIRECTIVES, JsonPipe, AsyncPipe} from '@angular/common';
import SchemaManager from '../utils/SchemaManager'; import SchemaManager from '../utils/SchemaManager';
import JsonPointer from '../utils/JsonPointer'; import JsonPointer from '../utils/JsonPointer';
import {MarkedPipe, JsonPointerEscapePipe} from '../utils/pipes'; import {MarkedPipe, JsonPointerEscapePipe} from '../utils/pipes';

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
import {EventEmitter} from 'angular2/core'; import {EventEmitter} from '@angular/core';
var bootsrEmmiter = new EventEmitter(); var bootsrEmmiter = new EventEmitter();
var langChanged = new EventEmitter(); var langChanged = new EventEmitter();

View File

@ -1,8 +1,8 @@
'use strict'; 'use strict';
import {isFunction, isString} from 'angular2/src/facade/lang'; import {isFunction, isString} from '@angular/core/src/facade/lang';
import {BrowserDomAdapter} from 'angular2/platform/browser'; import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import {global} from 'angular2/src/facade/lang'; import {global} from '@angular/core/src/facade/lang';
var defaults = { var defaults = {
scrollYOffset: 0, scrollYOffset: 0,

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
import {Pipe} from 'angular2/core'; import {Pipe} from '@angular/core';
import {isBlank} from 'angular2/src/facade/lang'; import {isBlank} from '@angular/core/src/facade/lang';
var level = 1; var level = 1;
const COLLAPSE_LEVEL = 2; const COLLAPSE_LEVEL = 2;

View File

@ -1,8 +1,8 @@
'use strict'; 'use strict';
import {Pipe} from 'angular2/core'; import {Pipe} from '@angular/core';
import {isString, stringify, isBlank} from 'angular2/src/facade/lang'; import {isString, stringify, isBlank} from '@angular/core/src/facade/lang';
import {BaseException} from 'angular2/src/facade/exceptions'; import {BaseException} from '@angular/core/src/facade/exceptions';
import {JsonPointer} from './JsonPointer'; import {JsonPointer} from './JsonPointer';
import Prism from '../../prismjs-bundle'; import Prism from '../../prismjs-bundle';

View File

@ -32,8 +32,13 @@
"jspm": { "jspm": {
"configFile": "system.config.js", "configFile": "system.config.js",
"dependencies": { "dependencies": {
"@angular/common": "npm:@angular/common@^2.0.0-rc.1",
"@angular/compiler": "npm:@angular/compiler@^2.0.0-rc.1",
"@angular/core": "npm:@angular/core@^2.0.0-rc.1",
"@angular/platform-browser": "npm:@angular/platform-browser@^2.0.0-rc.1",
"@angular/platform-browser-dynamic": "npm:@angular/platform-browser-dynamic@^2.0.0-rc.1",
"@angular/platform-browser-dynamic-dynamic": "npm:@angular/platform-browser-dynamic-dynamic@^2.0.0-rc.1",
"Robdel12/DropKick": "github:Robdel12/DropKick@^2.1.7", "Robdel12/DropKick": "github:Robdel12/DropKick@^2.1.7",
"angular2": "npm:angular2@2.0.0-beta.17",
"es6-shim": "github:es-shims/es6-shim@^0.33.6", "es6-shim": "github:es-shims/es6-shim@^0.33.6",
"hint.css": "npm:hint.css@^2.2.1", "hint.css": "npm:hint.css@^2.2.1",
"json": "github:systemjs/plugin-json@^0.1.0", "json": "github:systemjs/plugin-json@^0.1.0",
@ -42,9 +47,11 @@
"json-schema-instantiator": "npm:json-schema-instantiator@^0.3.0", "json-schema-instantiator": "npm:json-schema-instantiator@^0.3.0",
"marked": "npm:marked@^0.3.5", "marked": "npm:marked@^0.3.5",
"prismjs": "npm:prismjs@^1.3.0", "prismjs": "npm:prismjs@^1.3.0",
"rxjs": "npm:rxjs@5.0.0-beta.6",
"scrollparent": "npm:scrollparent@^0.1.0", "scrollparent": "npm:scrollparent@^0.1.0",
"stream-http": "npm:stream-http@^2.3.0", "stream-http": "npm:stream-http@^2.3.0",
"swagger-parser": "npm:swagger-parser@4.0.0-beta.2" "swagger-parser": "npm:swagger-parser@4.0.0-beta.2",
"zone.js": "npm:zone.js@0.6.12"
}, },
"devDependencies": { "devDependencies": {
"babel": "npm:babel-core@^5.8.34", "babel": "npm:babel-core@^5.8.34",
@ -85,7 +92,7 @@
"istanbul": "github:gotwarlost/istanbul#source-map", "istanbul": "github:gotwarlost/istanbul#source-map",
"jasmine-core": "^2.4.1", "jasmine-core": "^2.4.1",
"jasmine-spec-reporter": "^2.4.0", "jasmine-spec-reporter": "^2.4.0",
"jspm": "^0.16.19", "jspm": "^0.16.34",
"karma": "^0.13.15", "karma": "^0.13.15",
"karma-babel-preprocessor": "^5.2.2", "karma-babel-preprocessor": "^5.2.2",
"karma-chrome-launcher": "^0.2.2", "karma-chrome-launcher": "^0.2.2",
@ -106,7 +113,7 @@
"run-sequence": "^1.1.5", "run-sequence": "^1.1.5",
"should": "^8.0.2", "should": "^8.0.2",
"sinon": "^1.17.2", "sinon": "^1.17.2",
"systemjs-builder": "^0.15.2", "systemjs-builder": "^0.15.16",
"vinyl-paths": "^2.0.0", "vinyl-paths": "^2.0.0",
"zone.js": "^0.6.12" "zone.js": "^0.6.12"
} }

View File

@ -29,16 +29,23 @@ System.config({
meta: { meta: {
"jspm_packages/npm/json-formatter-js@0.2.0/src/*": { "jspm_packages/npm/json-formatter-js@0.2.0/src/*": {
"format": "es6" "format": "esm"
}, },
"jspm_packages/npm/json-schema-view-js@0.2.0/src/*": { "jspm_packages/npm/json-schema-view-js@0.2.0/src/*": {
"format": "es6" "format": "esm"
},
"npm:@angular/**/*": {
"format": "esm"
} }
}, },
map: { map: {
"@angular/common": "npm:@angular/common@2.0.0-rc.1",
"@angular/compiler": "npm:@angular/compiler@2.0.0-rc.1",
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"@angular/platform-browser": "npm:@angular/platform-browser@2.0.0-rc.1",
"@angular/platform-browser-dynamic": "npm:@angular/platform-browser-dynamic@2.0.0-rc.1",
"Robdel12/DropKick": "github:Robdel12/DropKick@2.1.7", "Robdel12/DropKick": "github:Robdel12/DropKick@2.1.7",
"angular2": "npm:angular2@2.0.0-beta.17",
"babel": "npm:babel-core@5.8.34", "babel": "npm:babel-core@5.8.34",
"babel-runtime": "npm:babel-runtime@5.8.34", "babel-runtime": "npm:babel-runtime@5.8.34",
"clean-css": "npm:clean-css@3.4.6", "clean-css": "npm:clean-css@3.4.6",
@ -52,10 +59,12 @@ System.config({
"json-schema-instantiator": "npm:json-schema-instantiator@0.3.0", "json-schema-instantiator": "npm:json-schema-instantiator@0.3.0",
"marked": "npm:marked@0.3.5", "marked": "npm:marked@0.3.5",
"prismjs": "npm:prismjs@1.3.0", "prismjs": "npm:prismjs@1.3.0",
"rxjs": "npm:rxjs@5.0.0-beta.6",
"scrollparent": "npm:scrollparent@0.1.0", "scrollparent": "npm:scrollparent@0.1.0",
"stream-http": "npm:stream-http@2.3.0", "stream-http": "npm:stream-http@2.3.0",
"swagger-parser": "npm:swagger-parser@4.0.0-beta.2", "swagger-parser": "npm:swagger-parser@4.0.0-beta.2",
"systemjs/plugin-json": "github:systemjs/plugin-json@0.1.2", "systemjs/plugin-json": "github:systemjs/plugin-json@0.1.2",
"zone.js": "npm:zone.js@0.6.12",
"github:jspm/nodelibs-assert@0.1.0": { "github:jspm/nodelibs-assert@0.1.0": {
"assert": "npm:assert@1.3.0" "assert": "npm:assert@1.3.0"
}, },
@ -131,17 +140,38 @@ System.config({
"github:jspm/nodelibs-zlib@0.1.0": { "github:jspm/nodelibs-zlib@0.1.0": {
"browserify-zlib": "npm:browserify-zlib@0.1.4" "browserify-zlib": "npm:browserify-zlib@0.1.4"
}, },
"npm:@angular/common@2.0.0-rc.1": {
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:@angular/compiler@2.0.0-rc.1": {
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:@angular/core@2.0.0-rc.1": {
"process": "github:jspm/nodelibs-process@0.1.2",
"rxjs": "npm:rxjs@5.0.0-beta.6",
"zone.js": "npm:zone.js@0.6.12"
},
"npm:@angular/platform-browser-dynamic@2.0.0-rc.1": {
"@angular/common": "npm:@angular/common@2.0.0-rc.1",
"@angular/compiler": "npm:@angular/compiler@2.0.0-rc.1",
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"@angular/platform-browser": "npm:@angular/platform-browser@2.0.0-rc.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:@angular/platform-browser@2.0.0-rc.1": {
"@angular/common": "npm:@angular/common@2.0.0-rc.1",
"@angular/compiler": "npm:@angular/compiler@2.0.0-rc.1",
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:amdefine@1.0.0": { "npm:amdefine@1.0.0": {
"fs": "github:jspm/nodelibs-fs@0.1.2", "fs": "github:jspm/nodelibs-fs@0.1.2",
"module": "github:jspm/nodelibs-module@0.1.0", "module": "github:jspm/nodelibs-module@0.1.0",
"path": "github:jspm/nodelibs-path@0.1.0", "path": "github:jspm/nodelibs-path@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2" "process": "github:jspm/nodelibs-process@0.1.2"
}, },
"npm:angular2@2.0.0-beta.17": {
"reflect-metadata": "npm:reflect-metadata@0.1.2",
"rxjs": "npm:rxjs@5.0.0-beta.7",
"zone.js": "npm:zone.js@0.6.12"
},
"npm:argparse@1.0.7": { "npm:argparse@1.0.7": {
"fs": "github:jspm/nodelibs-fs@0.1.2", "fs": "github:jspm/nodelibs-fs@0.1.2",
"path": "github:jspm/nodelibs-path@0.1.0", "path": "github:jspm/nodelibs-path@0.1.0",
@ -736,10 +766,6 @@ System.config({
"string_decoder": "npm:string_decoder@0.10.31", "string_decoder": "npm:string_decoder@0.10.31",
"util-deprecate": "npm:util-deprecate@1.0.2" "util-deprecate": "npm:util-deprecate@1.0.2"
}, },
"npm:reflect-metadata@0.1.2": {
"assert": "github:jspm/nodelibs-assert@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:request@2.72.0": { "npm:request@2.72.0": {
"aws-sign2": "npm:aws-sign2@0.6.0", "aws-sign2": "npm:aws-sign2@0.6.0",
"aws4": "npm:aws4@1.3.2", "aws4": "npm:aws4@1.3.2",
@ -778,10 +804,9 @@ System.config({
"buffer": "github:jspm/nodelibs-buffer@0.1.0", "buffer": "github:jspm/nodelibs-buffer@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2" "process": "github:jspm/nodelibs-process@0.1.2"
}, },
"npm:rxjs@5.0.0-beta.7": { "npm:rxjs@5.0.0-beta.6": {
"buffer": "github:jspm/nodelibs-buffer@0.1.0", "buffer": "github:jspm/nodelibs-buffer@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2", "process": "github:jspm/nodelibs-process@0.1.2"
"symbol-observable": "npm:symbol-observable@0.2.4"
}, },
"npm:sha.js@2.4.5": { "npm:sha.js@2.4.5": {
"buffer": "github:jspm/nodelibs-buffer@0.1.0", "buffer": "github:jspm/nodelibs-buffer@0.1.0",