|
@@ -19,7 +19,7 @@ exports.module = function(phantomas) {
|
|
|
phantomas.setMetric('DOMqueriesAvoidable'); // @desc number of repeated uses of a duplicated query
|
|
|
|
|
|
// fake native DOM functions
|
|
|
- phantomas.once('init', function() {
|
|
|
+ phantomas.on('init', function() {
|
|
|
phantomas.evaluate(function() {
|
|
|
(function(phantomas) {
|
|
|
function querySpy(type, query, fnName, context, hasNoResults) {
|