Initial commit

This commit is contained in:
Jamie Curnow
2017-12-21 09:02:37 +10:00
parent dc830df253
commit 6e7435c35d
140 changed files with 19554 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
'use strict';
import promise from 'es6-promise';
import $ from 'jquery';
global.jQuery = $;
global.$ = $;
const App = require('./app/main');
// es6-promise nukes the Native Promise impl - restore it if this happens.
// See also https://github.com/jakearchibald/es6-promise/issues/140
const NativePromise = window.Promise;
if (NativePromise) {
window.Promise = NativePromise;
} else {
promise.polyfill();
}
$(document).ready(() => {
App.start();
});