This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bonzo.create = function (node) { | |
// hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh | |
return typeof node == 'string' && node !== '' ? | |
function () { | |
var parser = new DOMParser() | |
//Add try catch for DOMParseErrors | |
return parser.parseFromString(node, "text/html") | |
}() : isNode(node) ? [node.cloneNode(true)] : [] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html ng-app="myApp"> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular.min.js"></script> | |
<script type="text/javascript"> | |
console.log("hello") | |
var app = angular.module("myApp", []); | |
app.value("user", { | |
name: "username", | |
country: "country", | |
phone: "phone" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/webdriverio/lib/runner.js:72 | |
throw new Error('The plugin "' + pluginName + '" is not WebdriverIO compliant'); | |
^ | |
Error: The plugin "webdriverjs-angular" is not WebdriverIO compliant | |
at node_modules/webdriverio/lib/runner.js:72:31 | |
at Array.forEach (native) | |
at process.<anonymous> (node_modules/webdriverio/lib/runner.js:68:45) | |
at emitTwo (events.js:87:13) | |
at process.emit (events.js:172:7) |