Skip to content
Permalink
Browse files

feat(index): move isInitialized to aurelia-pal

  • Loading branch information...
niieani committed Nov 21, 2016
1 parent a6edad7 commit b7ce21a4c8e970de2dd48fc2e4332fe33dcff995
Showing with 2 additions and 5 deletions.
  1. +2 −5 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.
@@ -11,8 +10,6 @@ export function initialize(): void {
return;
}

isInitialized = true;

let pal = buildPal();

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

0 comments on commit b7ce21a

Please sign in to comment.
You can’t perform that action at this time.