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
1313
1414 _start = app.start
1515 app.start = ->
16− _start.call(app, arguments...)
1716 console.timeEnd 'Load'
18−
19−_super = app.Searcher
20−_proto = app.Searcher.prototype
17+ console.time 'Start'
18+ _start.call(app, arguments...)
19+ console.timeEnd 'Start'
2120
2221 #
2322 # Searcher
2423 #
2524
25+_super = app.Searcher
26+_proto = app.Searcher.prototype
27+
2628 app.Searcher = ->
2729 _super.apply @, arguments
2830