marionette-client
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -579,2 +579,7 @@ (function(module, ns) { | ||
var scopeState = {}; | ||
for (key in this._state) { | ||
scopeState[key] = this._state[key]; | ||
} | ||
// copy the given options | ||
@@ -592,2 +597,4 @@ for (key in options) { | ||
scope._state = scopeState; | ||
return scope; | ||
@@ -1079,2 +1086,4 @@ }, | ||
* unspecified, will take a screenshot of the current frame | ||
* * (Array) highlights: A list of element objects to draw a red box | ||
* around in the returned screenshot. | ||
* | ||
@@ -1095,12 +1104,10 @@ * @method screenshot | ||
if (options) { | ||
cmd.parameters.id = options.parameters.id.id; | ||
// TODO: Uncomment, document and test `highlights` option: | ||
// Bug 912611 - Implement `highlights` option of `Client#screenshot` | ||
/* | ||
if (options.element) { | ||
cmd.parameters.id = options.element.id; | ||
} | ||
if (options.highlights) { | ||
cmd.highlights = options.highlights.map(function(elem) { | ||
cmd.parameters.highlights = options.highlights.map(function(elem) { | ||
return elem.id; | ||
}); | ||
} | ||
*/ | ||
} | ||
@@ -1107,0 +1114,0 @@ |
{ | ||
"name": "marionette-client", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "lib/marionette/index", | ||
@@ -5,0 +5,0 @@ "description": "Marionette Javascript Client", |
@@ -8,3 +8,3 @@ # Marionette JS Client | ||
- [Api Docs](http://mozilla-b2g.github.com/marionette_js_client/api-docs/) | ||
- [Api Docs](http://mozilla-b2g.github.com/marionette-js-client/api-docs/) | ||
- | ||
@@ -11,0 +11,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92920
3035