This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fastbootTransform = require('fastboot-transform'); | |
| const path = require('path'); | |
| const mergeTrees = require('broccoli-merge-trees'); | |
| const Funnel = require('broccoli-funnel'); | |
| const resolve = require('resolve'); | |
| const filesToImport = [ | |
| 'justifiedGallery/dist/css/justifiedGallery.css' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var states = [ | |
| { | |
| name: 'app', | |
| abstract: true, | |
| views: { | |
| 'app': { component: 'app' }, | |
| 'header@app': { component: 'header' }, | |
| 'footer@app': { component: 'footer' } | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Route from 'ember-route'; | |
| const ROUTE_LEVEL = { | |
| third: 3, | |
| fourth: 4 | |
| }; | |
| /** | |
| * @param app | |
| * @private |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import DS from 'ember-data'; | |
| export default DS.RESTAdapter.extend({ | |
| // namespace: 'api/v2', | |
| host: 'http://localhost:8080', | |
| find: function(store, type, id, snapshot) { | |
| return this.ajax(this.buildURL(type.typeKey, id, snapshot, 'find'), 'GET'); | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import RESTAdapter from 'ember-data/adapters/rest'; | |
| export default RESTAdapter.extend({ | |
| /** | |
| * @param {DS.Model} model | |
| * @param {JSON} serializedCommentData | |
| * @returns {*} | |
| */ | |
| postComment(model, serializedCommentData) { |
NewerOlder