Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Use shim global #629

Merged
merged 1 commit into from
Aug 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/customElements.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { assign } from '@dojo/core/lang';
import { from as arrayFrom } from '@dojo/shim/array';
import global from '@dojo/core/global';
import global from '@dojo/shim/global';
import { Constructor, DNode, WidgetBaseInterface, WidgetProperties } from './interfaces';
import { WidgetBase } from './WidgetBase';
import { w } from './d';
Expand Down
2 changes: 1 addition & 1 deletion src/meta/Base.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import global from '@dojo/core/global';
import global from '@dojo/shim/global';
import Map from '@dojo/shim/Map';
import Set from '@dojo/shim/Set';
import { WidgetMetaProperties } from '../interfaces';
Expand Down
2 changes: 1 addition & 1 deletion src/mixins/Projector.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assign } from '@dojo/core/lang';
import global from '@dojo/core/global';
import global from '@dojo/shim/global';
import { createHandle } from '@dojo/core/lang';
import { Handle } from '@dojo/interfaces/core';
import { VNode } from '@dojo/interfaces/vdom';
Expand Down
2 changes: 1 addition & 1 deletion tests/support/loadJsdom.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as jsdom from 'jsdom';
import global from '@dojo/core/global';
import global from '@dojo/shim/global';

/* In order to have the tests work under Node.js, we need to load JSDom and polyfill
* requestAnimationFrame */
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/customElements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as registerSuite from 'intern!object';
import * as assert from 'intern/chai!assert';
import { initializeElement, handleAttributeChanged, CustomElementDescriptor } from '../../src/customElements';
import { WidgetBase } from '../../src/WidgetBase';
import global from '@dojo/core/global';
import global from '@dojo/shim/global';
import { assign } from '@dojo/core/lang';
import * as projector from '../../src/mixins/Projector';
import * as sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/meta/Dimensions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import global from '@dojo/core/global';
import global from '@dojo/shim/global';
import * as registerSuite from 'intern!object';
import * as assert from 'intern/chai!assert';
import { stub } from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/meta/meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import global from '@dojo/core/global';
import global from '@dojo/shim/global';
import * as registerSuite from 'intern!object';
import * as assert from 'intern/chai!assert';
import { v } from '../../../src/d';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/mixins/Projector.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import global from '@dojo/core/global';
import global from '@dojo/shim/global';
import has from '@dojo/has/has';
import '@dojo/shim/Promise';
import { VNode } from '@dojo/interfaces/vdom';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/util/DomWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as registerSuite from 'intern!object';
import { WidgetBase } from './../../../src/WidgetBase';
import { v, w } from './../../../src/d';
import { DomWrapper } from '../../../src/util/DomWrapper';
import global from '@dojo/core/global';
import global from '@dojo/shim/global';
import { stub } from 'sinon';
import * as assert from 'intern/chai!assert';
import ProjectorMixin from '../../../src/mixins/Projector';
Expand Down