Move Angular app plugin code under frontend/app

Analog to core commit:
6ec5ca58ed

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/6827/head
Alex Coles 10 years ago
parent 4633dd5cae
commit 555f6d461e
  1. 4
      frontend/app/openproject-backlogs-app.js
  2. 5
      index.js
  3. 2
      package.json

@ -33,6 +33,10 @@
// See doc/COPYRIGHT.rdoc for more details. // See doc/COPYRIGHT.rdoc for more details.
//++ //++
// standard locales
I18n.addTranslations('en', require('../../config/locales/js-en.yml').en);
I18n.addTranslations('de', require('../../config/locales/js-de.yml').de);
// main app // main app
var openprojectBacklogsApp = angular.module('openproject'); var openprojectBacklogsApp = angular.module('openproject');

@ -1,5 +0,0 @@
console.log('Backlogs loaded');
// standard locales
I18n.addTranslations('en', require('./config/locales/js-en.yml').en);
I18n.addTranslations('de', require('./config/locales/js-de.yml').de);

@ -1,6 +1,6 @@
{ {
"name": "openproject-backlogs", "name": "openproject-backlogs",
"version": "0.1.0", "version": "0.1.0",
"main": "index.js", "main": "frontend/app/openproject-backlogs-app.js",
"dependencies": {} "dependencies": {}
} }

Loading…
Cancel
Save