do the ping better
This commit is contained in:
parent
26762f0586
commit
91d9773933
@ -25,6 +25,10 @@ if window.JHW
|
||||
parts.push('')
|
||||
parts.join("||")
|
||||
|
||||
jasmine.Spec.prototype.finishCallback = ->
|
||||
JHW.ping()
|
||||
this.env.reporter.reportSpecResults(this)
|
||||
|
||||
jasmine.Spec.prototype.fail = (e) ->
|
||||
if e and e.sourceURL and window.CoffeeScriptToFilename
|
||||
filename = e.sourceURL.split('/').pop()
|
||||
|
@ -27,6 +27,10 @@
|
||||
}
|
||||
return parts.join("||");
|
||||
};
|
||||
jasmine.Spec.prototype.finishCallback = function() {
|
||||
JHW.ping();
|
||||
return this.env.reporter.reportSpecResults(this);
|
||||
};
|
||||
jasmine.Spec.prototype.fail = function(e) {
|
||||
var expectationResult, filename, realFilename;
|
||||
if (e && e.sourceURL && window.CoffeeScriptToFilename) {
|
||||
|
Loading…
Reference in New Issue
Block a user