History

Tweak debug js

Thibaut committed 11 years ago

Commit 9b1402c1 parent 9cc6dc91 file · +6 −4Browse files

Unified · Split

assets/javascripts/debug.js.coffee+6−4
@@ -13,16 +13,18 @@ app.init = -> · 12 unmodified lines
13 13
14_start = app.start14_start = app.start
15app.start = ->15app.start = ->
16 _start.call(app, arguments...)
17 console.timeEnd 'Load'16 console.timeEnd 'Load'
18 17 console.time 'Start'
19_super = app.Searcher18 _start.call(app, arguments...)
20_proto = app.Searcher.prototype19 console.timeEnd 'Start'
21 20
22#21#
23# Searcher22# Searcher
24#23#
25 24
25_super = app.Searcher
26_proto = app.Searcher.prototype
27
26app.Searcher = ->28app.Searcher = ->
27 _super.apply @, arguments29 _super.apply @, arguments
28 30