@angular/platform-browser
Advanced tools
Comparing version 0.0.0-0 to 0.0.0-1
@@ -1,1 +0,1 @@ | ||
export * from './platform_browser'; | ||
export * from './src/platform_browser'; |
@@ -1,2 +0,2 @@ | ||
export * from './platform_browser'; | ||
export * from './src/platform_browser'; | ||
//# sourceMappingURL=index.js.map |
import { getDebugNode, RootRenderer, NgZone, ApplicationRef } from '@angular/core'; | ||
import { DebugDomRootRenderer } from '../../../core_private'; | ||
import { assertionsEnabled } from '../../../src/facade/lang'; | ||
import { assertionsEnabled } from '../../facade/lang'; | ||
import { getDOM } from '../dom_adapter'; | ||
@@ -5,0 +5,0 @@ import { DomRootRenderer } from '../dom_renderer'; |
/** | ||
* JS version of browser APIs. This library can only run in the browser. | ||
*/ | ||
declare var win: Window; | ||
declare var win: any; | ||
export { win as window }; | ||
export declare var document: Document; | ||
export declare var location: Location; | ||
export declare var document: any; | ||
export declare var location: any; | ||
export declare var gc: () => any; | ||
export declare var performance: Performance; | ||
export declare var performance: any; | ||
export declare const Event: any; | ||
@@ -11,0 +11,0 @@ export declare const MouseEvent: any; |
/** | ||
* JS version of browser APIs. This library can only run in the browser. | ||
*/ | ||
var win = window; | ||
var win = typeof window !== 'undefined' && window || {}; | ||
export { win as window }; | ||
export var document = window.document; | ||
export var location = window.location; | ||
export var gc = window['gc'] ? () => window['gc']() : () => null; | ||
export var performance = window['performance'] ? window['performance'] : null; | ||
export const Event = window['Event']; | ||
export const MouseEvent = window['MouseEvent']; | ||
export const KeyboardEvent = window['KeyboardEvent']; | ||
export const EventTarget = window['EventTarget']; | ||
export const History = window['History']; | ||
export const Location = window['Location']; | ||
export const EventListener = window['EventListener']; | ||
export var document = win.document; | ||
export var location = win.location; | ||
export var gc = win['gc'] ? () => win['gc']() : () => null; | ||
export var performance = win['performance'] ? win['performance'] : null; | ||
export const Event = win['Event']; | ||
export const MouseEvent = win['MouseEvent']; | ||
export const KeyboardEvent = win['KeyboardEvent']; | ||
export const EventTarget = win['EventTarget']; | ||
export const History = win['History']; | ||
export const Location = win['Location']; | ||
export const EventListener = win['EventListener']; | ||
//# sourceMappingURL=browser.js.map |
@@ -133,2 +133,3 @@ export interface BrowserNodeGlobal { | ||
export declare function print(obj: Error | Object): void; | ||
export declare function warn(obj: Error | Object): void; | ||
export declare class Json { | ||
@@ -135,0 +136,0 @@ static parse(s: string): Object; |
@@ -298,2 +298,5 @@ var globalScope; | ||
} | ||
export function warn(obj) { | ||
console.warn(obj); | ||
} | ||
// Can't be all uppercase as our transpiler would think it is a special directive... | ||
@@ -337,3 +340,3 @@ export class Json { | ||
if (isBlank(_symbolIterator)) { | ||
if (isPresent(Symbol) && isPresent(Symbol.iterator)) { | ||
if (isPresent(globalScope.Symbol) && isPresent(Symbol.iterator)) { | ||
_symbolIterator = Symbol.iterator; | ||
@@ -340,0 +343,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export * from './platform_browser'; | ||
export * from './src/platform_browser'; |
@@ -5,3 +5,3 @@ "use strict"; | ||
} | ||
__export(require('./platform_browser')); | ||
__export(require('./src/platform_browser')); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@angular/platform-browser", | ||
"version": "0.0.0-0", | ||
"version": "0.0.0-1", | ||
"description": "", | ||
@@ -13,6 +13,6 @@ "main": "index.js", | ||
"zone.js": "^0.6.6", | ||
"@angular/core": "0.0.0-0", | ||
"@angular/common": "0.0.0-0", | ||
"@angular/compiler": "0.0.0-0" | ||
"@angular/core": "0.0.0-1", | ||
"@angular/common": "0.0.0-1", | ||
"@angular/compiler": "0.0.0-1" | ||
} | ||
} |
"use strict"; | ||
var core_1 = require('@angular/core'); | ||
var core_private_1 = require('../../../core_private'); | ||
var lang_1 = require('../../../src/facade/lang'); | ||
var lang_1 = require('../../facade/lang'); | ||
var dom_adapter_1 = require('../dom_adapter'); | ||
@@ -6,0 +6,0 @@ var dom_renderer_1 = require('../dom_renderer'); |
/** | ||
* JS version of browser APIs. This library can only run in the browser. | ||
*/ | ||
declare var win: Window; | ||
declare var win: any; | ||
export { win as window }; | ||
export declare var document: Document; | ||
export declare var location: Location; | ||
export declare var document: any; | ||
export declare var location: any; | ||
export declare var gc: () => any; | ||
export declare var performance: Performance; | ||
export declare var performance: any; | ||
export declare const Event: any; | ||
@@ -11,0 +11,0 @@ export declare const MouseEvent: any; |
@@ -5,15 +5,15 @@ "use strict"; | ||
*/ | ||
var win = window; | ||
var win = typeof window !== 'undefined' && window || {}; | ||
exports.window = win; | ||
exports.document = window.document; | ||
exports.location = window.location; | ||
exports.gc = window['gc'] ? function () { return window['gc'](); } : function () { return null; }; | ||
exports.performance = window['performance'] ? window['performance'] : null; | ||
exports.Event = window['Event']; | ||
exports.MouseEvent = window['MouseEvent']; | ||
exports.KeyboardEvent = window['KeyboardEvent']; | ||
exports.EventTarget = window['EventTarget']; | ||
exports.History = window['History']; | ||
exports.Location = window['Location']; | ||
exports.EventListener = window['EventListener']; | ||
exports.document = win.document; | ||
exports.location = win.location; | ||
exports.gc = win['gc'] ? function () { return win['gc'](); } : function () { return null; }; | ||
exports.performance = win['performance'] ? win['performance'] : null; | ||
exports.Event = win['Event']; | ||
exports.MouseEvent = win['MouseEvent']; | ||
exports.KeyboardEvent = win['KeyboardEvent']; | ||
exports.EventTarget = win['EventTarget']; | ||
exports.History = win['History']; | ||
exports.Location = win['Location']; | ||
exports.EventListener = win['EventListener']; | ||
//# sourceMappingURL=browser.js.map |
@@ -133,2 +133,3 @@ export interface BrowserNodeGlobal { | ||
export declare function print(obj: Error | Object): void; | ||
export declare function warn(obj: Error | Object): void; | ||
export declare class Json { | ||
@@ -135,0 +136,0 @@ static parse(s: string): Object; |
@@ -368,2 +368,6 @@ "use strict"; | ||
exports.print = print; | ||
function warn(obj) { | ||
console.warn(obj); | ||
} | ||
exports.warn = warn; | ||
// Can't be all uppercase as our transpiler would think it is a special directive... | ||
@@ -422,3 +426,3 @@ var Json = (function () { | ||
if (isBlank(_symbolIterator)) { | ||
if (isPresent(Symbol) && isPresent(Symbol.iterator)) { | ||
if (isPresent(globalScope.Symbol) && isPresent(Symbol.iterator)) { | ||
_symbolIterator = Symbol.iterator; | ||
@@ -425,0 +429,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
966673
261
12483