Skip to content

Commit

Permalink
feat(index): move isInitialized to aurelia-pal
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani committed Nov 22, 2016
1 parent a6edad7 commit b7ce21a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/index.ts
@@ -1,7 +1,6 @@
import { initializePAL } from 'aurelia-pal';
import { buildPal } from './nodejs-pal-builder';

let isInitialized = false;
import { initializePAL, DOM, PLATFORM, FEATURE, isInitialized } from 'aurelia-pal';
import { buildPal } from './nodejs-pal-builder';

/**
* Initializes the PAL with the NodeJS-targeted implementation.
Expand All @@ -11,8 +10,6 @@ export function initialize(): void {
return;
}

isInitialized = true;

let pal = buildPal();

initializePAL((platform, feature, dom) => {
Expand Down

0 comments on commit b7ce21a

Please sign in to comment.