exo_browser
Advanced tools
Comparing version 0.6.7 to 0.6.8
@@ -409,21 +409,22 @@ /* | ||
// | ||
var set_context_menu_handler; /* set_context_menu_handler(hdlr) */ | ||
var load_url; /* load_url(url, [cb_]); */ | ||
var go_back_or_forward; /* go_back_or_forward(offset, [cb_]); */ | ||
var reload; /* reload([cb_]); */ | ||
var stop; /* stop([cb_]); */ | ||
var undo; /* undo([cb_]); */ | ||
var redo; /* redo([cb_]); */ | ||
var cut_selection; /* cut_selection([cb_]); */ | ||
var copy_selection; /* copy_selection([cb_]); */ | ||
var paste; /* paste([cb_]); */ | ||
var delete_selection; /* delete_selection([cb_]); */ | ||
var select_all; /* select_all([cb_]); */ | ||
var unselect; /* unselect([cb_]); */ | ||
var focus; /* focus([cb_]); */ | ||
var find; /* find(text, forward, case, next, [cb_]); */ | ||
var find_stop; /* find_stop(action, [cb_]); */ | ||
var capture; /* capture([cb_]); */ | ||
var zoom; /* zoom(zoom, [cb_]); */ | ||
var get_dev_tools_id; /* get_dev_tools_id(cb_); */ | ||
var set_context_menu_handler; /* set_context_menu_handler(hdlr) */ | ||
var load_url; /* load_url(url, [cb_]); */ | ||
var go_back_or_forward; /* go_back_or_forward(offset, [cb_]); */ | ||
var reload; /* reload([cb_]); */ | ||
var stop; /* stop([cb_]); */ | ||
var undo; /* undo([cb_]); */ | ||
var redo; /* redo([cb_]); */ | ||
var cut_selection; /* cut_selection([cb_]); */ | ||
var copy_selection; /* copy_selection([cb_]); */ | ||
var paste; /* paste([cb_]); */ | ||
var delete_selection; /* delete_selection([cb_]); */ | ||
var select_all; /* select_all([cb_]); */ | ||
var unselect; /* unselect([cb_]); */ | ||
var focus; /* focus([cb_]); */ | ||
var find; /* find(text, forward, case, next, [cb_]); */ | ||
var find_stop; /* find_stop(action, [cb_]); */ | ||
var capture; /* capture([cb_]); */ | ||
var zoom; /* zoom(zoom, [cb_]); */ | ||
var dev_tools_get_id; /* dev_tools_get_id(cb_); */ | ||
var dev_tools_inspect_element_at; /* dev_tools_inspect_element_at(x, y, cb_); */ | ||
@@ -749,3 +750,3 @@ var kill; /* kill(); */ | ||
// ``` | ||
// @text {string} the search test | ||
// @text {string} the search text | ||
// @forward {boolean} search forward (backward otherwise) | ||
@@ -847,3 +848,3 @@ // @sensitive {boolean} case sensitive (insensitive otherwise) | ||
// ### get_dev_tools_id | ||
// ### dev_tools_get_id | ||
// | ||
@@ -855,3 +856,3 @@ // Retrieves the DevTools Id for this frame. Must be used in conjonction with | ||
// ``` | ||
get_dev_tools_id = function(cb_) { | ||
dev_tools_get_id = function(cb_) { | ||
pre(function(err) { | ||
@@ -862,3 +863,3 @@ if(err) { | ||
else { | ||
my.internal._getDevToolsId(function(id) { | ||
my.internal._devToolsGetId(function(id) { | ||
if(cb_) return cb_(id); | ||
@@ -870,2 +871,23 @@ }); | ||
// ### dev_tools_inspect_element_at | ||
// | ||
// Triggers the inspection of the element at the given position | ||
// ``` | ||
// @x {integer} the x-position | ||
// @y {integer} the y-position | ||
// @cb_ {function(id)} the async callback | ||
// ``` | ||
dev_tools_inspect_element_at = function(x, y, cb_) { | ||
pre(function(err) { | ||
if(err) { | ||
if(cb_) return cb_(err); | ||
} | ||
else { | ||
my.internal._devToolsInspectElementAt(x, y, function(id) { | ||
if(cb_) return cb_(id); | ||
}); | ||
} | ||
}); | ||
}; | ||
// ### kill | ||
@@ -1009,3 +1031,4 @@ // | ||
common.method(that, 'zoom', zoom, _super); | ||
common.method(that, 'get_dev_tools_id', get_dev_tools_id, _super); | ||
common.method(that, 'dev_tools_get_id', dev_tools_get_id, _super); | ||
common.method(that, 'dev_tools_inspect_element_at', dev_tools_inspect_element_at, _super); | ||
@@ -1012,0 +1035,0 @@ common.getter(that, 'url', my, 'url'); |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "0.6.7", | ||
"version": "0.6.8", | ||
"dependencies": { | ||
@@ -12,0 +12,0 @@ "async": "0.7.x", |
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
46123
1577