single-spa
Advanced tools
Comparing version 2.0.9 to 2.0.10
@@ -27,3 +27,3 @@ 'use strict'; | ||
var window = typeof window !== 'undefined' ? window : global; | ||
var window = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : self; | ||
@@ -30,0 +30,0 @@ var originalAddEventListener = window.addEventListener; |
{ | ||
"name": "single-spa", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "Multiple applications, one page", | ||
@@ -11,3 +11,3 @@ "main": "lib/single-spa.js", | ||
"test": "jasmine", | ||
"build:canopy": "npm run build && rm -rf ../spalpatine/jspm_packages/npm/single-spa@2.0.8 && rsync -av . ../spalpatine/jspm_packages/npm/single-spa@2.0.8 --exclude node_modules --exclude .git --exclude --spec --exclude examples && cd ../spalpatine && npm run build-common-deps && cd ../single-spa" | ||
"build:canopy": "npm run build && rm -rf ../spalpatine/jspm_packages/npm/single-spa@2.0.10 && rsync -av . ../spalpatine/jspm_packages/npm/single-spa@2.0.10 --exclude node_modules --exclude .git --exclude --spec --exclude examples && cd ../spalpatine && npm run build-common-deps && cd ../single-spa" | ||
}, | ||
@@ -14,0 +14,0 @@ "repository": "https://github.com/CanopyTax/single-spa", |
import { handleChildAppError } from './single-spa-child-app-error.js'; | ||
import { ensureJQuerySupport } from './jquery-support.js'; | ||
const window = typeof window !== 'undefined' ? window : global; | ||
const window = typeof window !== 'undefined' ? window : (typeof global !== 'undefined' ? global : self); | ||
@@ -6,0 +6,0 @@ const originalAddEventListener = window.addEventListener; |
57937