Move Travis.Model to models
This commit is contained in:
parent
b0b1ef305b
commit
a5c98c794c
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
require 'utils/duration-calculations'
|
||||
require 'travis/ajax'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
Repo = Travis.Repo
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
require 'models/log'
|
||||
require 'travis/ajax'
|
||||
|
||||
|
|
3
assets/scripts/app/models/model.coffee
Normal file
3
assets/scripts/app/models/model.coffee
Normal file
|
@ -0,0 +1,3 @@
|
|||
Model = DS.Model.extend()
|
||||
|
||||
Travis.Model = Model
|
|
@ -1,5 +1,5 @@
|
|||
require 'utils/expandable-record-array'
|
||||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
ExpandableRecordArray = Travis.ExpandableRecordArray
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'travis/ajax'
|
||||
require 'travis/model'
|
||||
require 'models/model'
|
||||
|
||||
Model = Travis.Model
|
||||
Ajax = Travis.ajax
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
get = Ember.get
|
||||
set = Ember.set
|
||||
|
||||
Array.prototype.diff = (a) ->
|
||||
this.filter (i) -> !(a.indexOf(i) > -1)
|
||||
|
||||
|
||||
@Travis.Model = DS.Model.extend()
|
Loading…
Reference in New Issue
Block a user