Fixed issue in router model and coffeescript 1.9.1 - 195aec753e (diff-c882cf52806a3789e4220147dd29c62c)
This commit is contained in:
parent
f4fe571d37
commit
12298a89e0
2 changed files with 3 additions and 6 deletions
4
Gemfile
4
Gemfile
|
@ -15,10 +15,6 @@ group :assets do
|
|||
gem 'sass-rails' #, github: 'rails/sass-rails'
|
||||
gem 'coffee-rails'
|
||||
gem 'coffee-script-source'
|
||||
|
||||
# use dedicated version of sprockets, 3.0.0 is broken
|
||||
gem 'sprockets', '~> 2.0'
|
||||
|
||||
gem 'uglifier'
|
||||
gem 'eco'
|
||||
end
|
||||
|
|
|
@ -9,9 +9,10 @@ escapeRegExp = /[-[\]{}()+?.,\\^$|#\s]/g
|
|||
|
||||
class Path extends Spine.Module
|
||||
|
||||
constructor: (@path, @callback) ->
|
||||
constructor: (path, callback) ->
|
||||
@names = []
|
||||
|
||||
@path = path
|
||||
@callback = callback
|
||||
if typeof path is 'string'
|
||||
namedParam.lastIndex = 0
|
||||
while (match = namedParam.exec(path)) != null
|
||||
|
|
Loading…
Reference in a new issue