Rename views.js to config.views.js

This commit is contained in:
Kevin Giszewski
2014-01-16 14:03:39 -05:00
parent 758b479f2e
commit 77084d5ce3
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ module.exports = function(grunt) {
build: {
files: [
{expand: true, cwd: 'app/', src: ['package.manifest'], dest: '<%= dest %>', flatten: true},
{expand: true, cwd: 'app/data', src: ['views.js'], dest: '<%= dest %>/js', flatten: true},
{expand: true, cwd: 'app/config/', src: ['config.views.js'], dest: '<%= dest %>/js', flatten: true},
{expand: true, cwd: 'app/views/', src: ['archetype.html', 'archetype.config.html'], dest: '<%= dest %>/views', flatten: true}
]
},
+2 -2
View File
@@ -1,8 +1,8 @@
angular.module('umbraco').factory('propertyEditorService', function($q, $http, umbRequestHelper){
return {
return {
getViews: function() {
return umbRequestHelper.resourcePromise(
$http.get("/App_Plugins/Imulus.Archetype/js/views.js"), 'Failed to retreive data for views.'
$http.get("/App_Plugins/Imulus.Archetype/js/config.views.js"), 'Failed to retreive config for views.'
);
}
};