Remove Document def warning
authorymh <ymh.work@gmail.com>
Thu, 11 Feb 2016 15:42:27 +0100
changeset 121 08c99d286e7c
parent 120 e5e15547ffb1
child 122 b37fde30dd4a
Remove Document def warning
cms/app-client/app/models/document.js
--- a/cms/app-client/app/models/document.js	Wed Feb 10 01:15:40 2016 +0100
+++ b/cms/app-client/app/models/document.js	Thu Feb 11 15:42:27 2016 +0100
@@ -2,7 +2,7 @@
 import Ember from 'ember';
 import _ from 'lodash/lodash';
 
-var Document = DS.Model.extend({
+var CPDocument = DS.Model.extend({
   // id: DS.attr('string'),
   uri: DS.attr('string'),
   title: DS.attr('string'),
@@ -27,7 +27,7 @@
   })
 });
 
-Document.reopenClass({
+CPDocument.reopenClass({
   FIXTURES: [
     {
       "id": "crdo-09-CAYCHAX_SOUND",
@@ -182,4 +182,4 @@
   ]
 });
 
-export default Document;
+export default CPDocument;