Source code
Revision control
Copy as Markdown
Other Tools
"use strict";
define('quickstart/app', ['exports', 'quickstart/resolver', 'ember-load-initializers', 'quickstart/config/environment'], function (exports, _resolver, _emberLoadInitializers, _environment) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
const App = Ember.Application.extend({
modulePrefix: _environment.default.modulePrefix,
podModulePrefix: _environment.default.podModulePrefix,
Resolver: _resolver.default
});
(0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);
exports.default = App;
});
define('quickstart/components/welcome-page', ['exports', 'ember-welcome-page/components/welcome-page'], function (exports, _welcomePage) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, 'default', {
enumerable: true,
get: function () {
return _welcomePage.default;
}
});
});
define('quickstart/helpers/app-version', ['exports', 'quickstart/config/environment', 'ember-cli-app-version/utils/regexp'], function (exports, _environment, _regexp) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.appVersion = appVersion;
const {
APP: {
version
}
} = _environment.default;
function appVersion(_, hash = {}) {
if (hash.hideSha) {
return version.match(_regexp.versionRegExp)[0];
}
if (hash.hideVersion) {
return version.match(_regexp.shaRegExp)[0];
}
return version;
}
exports.default = Ember.Helper.helper(appVersion);
});
define('quickstart/helpers/pluralize', ['exports', 'ember-inflector/lib/helpers/pluralize'], function (exports, _pluralize) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _pluralize.default;
});
define('quickstart/helpers/singularize', ['exports', 'ember-inflector/lib/helpers/singularize'], function (exports, _singularize) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _singularize.default;
});
define('quickstart/initializers/app-version', ['exports', 'ember-cli-app-version/initializer-factory', 'quickstart/config/environment'], function (exports, _initializerFactory, _environment) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
let name, version;
if (_environment.default.APP) {
name = _environment.default.APP.name;
version = _environment.default.APP.version;
}
exports.default = {
name: 'App Version',
initialize: (0, _initializerFactory.default)(name, version)
};
});
define('quickstart/initializers/container-debug-adapter', ['exports', 'ember-resolver/resolvers/classic/container-debug-adapter'], function (exports, _containerDebugAdapter) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
name: 'container-debug-adapter',
initialize() {
let app = arguments[1] || arguments[0];
app.register('container-debug-adapter:main', _containerDebugAdapter.default);
app.inject('container-debug-adapter:main', 'namespace', 'application:main');
}
};
});
define('quickstart/initializers/ember-data', ['exports', 'ember-data/setup-container', 'ember-data'], function (exports, _setupContainer) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
name: 'ember-data',
initialize: _setupContainer.default
};
});
define('quickstart/initializers/export-application-global', ['exports', 'quickstart/config/environment'], function (exports, _environment) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.initialize = initialize;
function initialize() {
var application = arguments[1] || arguments[0];
if (_environment.default.exportApplicationGlobal !== false) {
var theGlobal;
if (typeof window !== 'undefined') {
theGlobal = window;
} else if (typeof global !== 'undefined') {
theGlobal = global;
} else if (typeof self !== 'undefined') {
theGlobal = self;
} else {
// no reasonable global, just bail
return;
}
var value = _environment.default.exportApplicationGlobal;
var globalName;
if (typeof value === 'string') {
globalName = value;
} else {
globalName = Ember.String.classify(_environment.default.modulePrefix);
}
if (!theGlobal[globalName]) {
theGlobal[globalName] = application;
application.reopen({
willDestroy: function () {
this._super.apply(this, arguments);
delete theGlobal[globalName];
}
});
}
}
}
exports.default = {
name: 'export-application-global',
initialize: initialize
};
});
define("quickstart/instance-initializers/ember-data", ["exports", "ember-data/initialize-store-service"], function (exports, _initializeStoreService) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
name: "ember-data",
initialize: _initializeStoreService.default
};
});
define('quickstart/resolver', ['exports', 'ember-resolver'], function (exports, _emberResolver) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _emberResolver.default;
});
define('quickstart/router', ['exports', 'quickstart/config/environment'], function (exports, _environment) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
const Router = Ember.Router.extend({
location: _environment.default.locationType,
rootURL: _environment.default.rootURL
});
Router.map(function () {});
window.mapTestFunction = () => {
window.console.log("pause here", _environment.default, Router);
};
exports.default = Router;
});
define('quickstart/services/ajax', ['exports', 'ember-ajax/services/ajax'], function (exports, _ajax) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, 'default', {
enumerable: true,
get: function () {
return _ajax.default;
}
});
});
define("quickstart/templates/application", ["exports"], function (exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Ember.HTMLBars.template({ "id": "d4rGKf2G", "block": "{\"symbols\":[],\"statements\":[[1,[18,\"welcome-page\"],false],[0,\"\\n\"],[0,\"\\n\"],[1,[18,\"outlet\"],false]],\"hasEval\":false}", "meta": { "moduleName": "quickstart/templates/application.hbs" } });
});
define('quickstart/config/environment', [], function() {
var prefix = 'quickstart';
try {
var metaName = prefix + '/config/environment';
var rawConfig = document.querySelector('meta[name="' + metaName + '"]').getAttribute('content');
var config = JSON.parse(unescape(rawConfig));
var exports = { 'default': config };
Object.defineProperty(exports, '__esModule', { value: true });
return exports;
}
catch(err) {
throw new Error('Could not read config from meta tag with name "' + metaName + '".');
}
});
if (!runningTests) {
require("quickstart/app")["default"].create({"name":"quickstart","version":"0.0.0+1dde1d7f"});
}
//# sourceMappingURL=quickstart.map