Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Oct 19, 2018
1 parent 8bc375d commit e0d9400
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { initializePAL, DOM, PLATFORM, FEATURE, isInitialized } from 'aurelia-pa
import { buildPal } from './nodejs-pal-builder';
import { MutationNotifier } from './polyfills/mutation-observer';

export { ensurePerformance } from './nodejs-pal-builder';

/**
* Initializes the PAL with the NodeJS-targeted implementation.
*/
Expand Down
3 changes: 1 addition & 2 deletions src/nodejs-pal-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ function patchNotifyChange(window: Window) {
}


function ensurePerformance(window) {
const startOffset = Date.now ? Date.now() : + (new Date);
export function ensurePerformance(window) {
const _entries = [];
const _marksIndex = {};

Expand Down

0 comments on commit e0d9400

Please sign in to comment.