diff --git a/.travis.yml b/.travis.yml index 66dd107..64533be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ --- language: node_js node_js: - - "0.12" + - "4" sudo: false @@ -10,12 +10,11 @@ cache: - node_modules before_install: - - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - - "npm config set spin false" - - "npm install -g npm@^2" + - npm config set spin false + - npm install -g bower + - npm install phantomjs-prebuilt install: - - npm install -g bower - npm install - bower install diff --git a/.watchmanconfig b/.watchmanconfig index 5e9462c..e7834e3 100644 --- a/.watchmanconfig +++ b/.watchmanconfig @@ -1,3 +1,3 @@ { - "ignore_dirs": ["tmp"] + "ignore_dirs": ["tmp", "dist"] } diff --git a/README.md b/README.md index d9dc038..ee83d1b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Design This README outlines the details of collaborating on this Ember application. -A short introduction of this app could easily go here. + ## Prerequisites @@ -10,7 +10,7 @@ You will need the following things properly installed on your computer. * [Git](http://git-scm.com/) * [Node.js](http://nodejs.org/) (with NPM) * [Bower](http://bower.io/) -* [Ember CLI](http://www.ember-cli.com/) +* [Ember CLI](http://ember-cli.com/) * [PhantomJS](http://phantomjs.org/) ## Installation @@ -46,8 +46,14 @@ Specify what it takes to deploy your app. ## Further Reading / Useful Links * [ember.js](http://emberjs.com/) -* [ember-cli](http://www.ember-cli.com/) +* [ember-cli](http://ember-cli.com/) * Development Browser Extensions * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi) * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/) +## Todo + + +[ ] Resources formats with descriptions +[ ] Make section-links available for deep-linking straight to content. +[ ] Feedback for each diff --git a/app/app.js b/app/app.js index 8d66b95..831ad61 100644 --- a/app/app.js +++ b/app/app.js @@ -1,16 +1,16 @@ import Ember from 'ember'; -import Resolver from 'ember/resolver'; -import loadInitializers from 'ember/load-initializers'; +import Resolver from './resolver'; +import loadInitializers from 'ember-load-initializers'; import config from './config/environment'; -var App; +let App; Ember.MODEL_FACTORY_INJECTIONS = true; App = Ember.Application.extend({ modulePrefix: config.modulePrefix, podModulePrefix: config.podModulePrefix, - Resolver: Resolver + Resolver }); loadInitializers(App, config.modulePrefix); diff --git a/app/pods/components/content-section/component.js b/app/pods/components/content-section/component.js index f9e5a83..1993e33 100644 --- a/app/pods/components/content-section/component.js +++ b/app/pods/components/content-section/component.js @@ -19,7 +19,8 @@ export default Ember.Component.extend({ }, actions: { openModal(element){ - Ember.$('#modal-image-'+element).modal(); + console.log("#"+element + "-modal"); + Ember.$("#"+element + "-modal").modal(); //console.log('modal-image-'+element); } } diff --git a/app/pods/components/content-section/template.hbs b/app/pods/components/content-section/template.hbs index 517d28f..aa77cb2 100644 --- a/app/pods/components/content-section/template.hbs +++ b/app/pods/components/content-section/template.hbs @@ -41,9 +41,10 @@ - {{#my-modal title=title basename=basename}} + {{#bs-modal title=title basename=basename footer=false open=false id=basename}} - {{/my-modal}} + {{bs-modal-footer closeTitle="Cancel" submitTitle="Ok"}} + {{/bs-modal}} diff --git a/app/pods/components/header-section/template.hbs b/app/pods/components/header-section/template.hbs index 4cea7fa..46427a7 100644 --- a/app/pods/components/header-section/template.hbs +++ b/app/pods/components/header-section/template.hbs @@ -26,9 +26,9 @@