Move Travis.Model to models

This commit is contained in:
Piotr Sarnacki 2015-01-30 15:34:32 +01:00
parent b0b1ef305b
commit a5c98c794c
14 changed files with 15 additions and 20 deletions

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
Model = Travis.Model

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
Model = Travis.Model

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
Model = Travis.Model

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
Model = Travis.Model

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
require 'utils/duration-calculations'
require 'travis/ajax'

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
Model = Travis.Model

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
Model = Travis.Model

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
Model = Travis.Model
Repo = Travis.Repo

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
require 'models/log'
require 'travis/ajax'

View File

@ -0,0 +1,3 @@
Model = DS.Model.extend()
Travis.Model = Model

View File

@ -1,5 +1,5 @@
require 'utils/expandable-record-array'
require 'travis/model'
require 'models/model'
Model = Travis.Model
ExpandableRecordArray = Travis.ExpandableRecordArray

View File

@ -1,4 +1,4 @@
require 'travis/model'
require 'models/model'
Model = Travis.Model

View File

@ -1,5 +1,5 @@
require 'travis/ajax'
require 'travis/model'
require 'models/model'
Model = Travis.Model
Ajax = Travis.ajax

View File

@ -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()