Permalink
Browse files

CB-6004 Fix the problem that run Benchmark->ArrayBuffer test but 'Ech…

…o plugin did not respond'

The safari console window outputs ‘module cordova/plugin/echo not
found’!
  • Loading branch information...
lmnbeyond authored and agrieve committed Feb 11, 2014
1 parent 8669285 commit c6dd498dd5f5738505580d31e159f8cfdab61065
Showing with 1 addition and 1 deletion.
  1. +1 −1 benchmarks/arraybuffer.html
@@ -44,7 +44,7 @@
}
function benchExec() {
- var echo = cordova.require('cordova/plugin/echo'),
+ var echo = cordova.echo,
startTime = +new Date,
callCount = 0,
durationMs = parseInt(document.getElementById('test-duration').value, 10) * 1000,

0 comments on commit c6dd498

Please sign in to comment.