Comparing version 2.0.0-pre-HA5N9T49 to 2.0.0-pre-HG9PLCRF
@@ -5,3 +5,3 @@ { | ||
"author": "apache.org", | ||
"version": "2.0.0-pre-HA5N9T49", | ||
"version": "2.0.0-pre-HG9PLCRF", | ||
"tags": [ "debug"], | ||
@@ -8,0 +8,0 @@ "licenses": |
@@ -21,1 +21,24 @@ /* | ||
// a place for hacks | ||
;(function(){ | ||
var version = navigator.appVersion.match(/^.*Chrome\/(\d+)\..*$/) | ||
if (!version) return | ||
version = parseInt(version[1]) | ||
if (version <= 26) return | ||
setTimeout(fixToolbarItem, 1000) | ||
function fixToolbarItem() { | ||
var toolbarItems = document.querySelectorAll(".toolbar-item.toggleable") | ||
for (var i=0; i<toolbarItems.length; i++) { | ||
var style = toolbarItems[i].style | ||
if (style.display != "none") { | ||
toolbarItems[i].style.display = "inline-block" | ||
} | ||
} | ||
} | ||
})(); |
@@ -20,3 +20,3 @@ /* | ||
"use strict" | ||
"use strict"; | ||
@@ -23,0 +23,0 @@ //------------------------------------------------------------------------------ |
@@ -1,2 +0,2 @@ | ||
weinre build 2.0.0-pre-HA5N9T49 by Patrick Mueller | ||
git: de980f8b0de7c6472576aef1e4ab0b07d54534f7 [CB-1800] weinre: remove "incubator" from project | ||
weinre build 2.0.0-pre-HG9PLCRF by Patrick Mueller | ||
git: 80ca5c76f150e680102c0deea3547b0fc1040741 [CB-604] - weinre doesn't work in strict mode |
@@ -23,4 +23,4 @@ /* | ||
Weinre.Versions = { | ||
weinre: "2.0.0-pre-HA5N9T49", | ||
build: "HA5N9T49", | ||
weinre: "2.0.0-pre-HG9PLCRF", | ||
build: "HG9PLCRF", | ||
}; |
@@ -26,5 +26,2 @@ ;modjewel.define("weinre/client/InspectorBackendImpl", function(require, exports, module) { // Generated by CoffeeScript 1.3.3 | ||
proxy = Weinre.messageDispatcher.createProxy(intfName); | ||
if (window[intfName]) { | ||
throw new Ex(arguments, "backend interface '" + intfName + "' already created"); | ||
} | ||
intf = IDLTools.getIDL(intfName); | ||
@@ -34,3 +31,2 @@ if (!intf) { | ||
} | ||
window[intfName] = {}; | ||
_results.push((function() { | ||
@@ -43,4 +39,3 @@ var _j, _len1, _ref, _results1; | ||
proxyMethod = InspectorBackendImpl.getProxyMethod(proxy, method); | ||
InspectorBackendImpl.prototype[method.name] = proxyMethod; | ||
_results1.push(window[intfName][method.name] = proxyMethod); | ||
_results1.push(InspectorBackendImpl.prototype[method.name] = proxyMethod); | ||
} | ||
@@ -47,0 +42,0 @@ return _results1; |
@@ -56,3 +56,7 @@ ;modjewel.define("weinre/common/StackTrace", function(require, exports, module) { // Generated by CoffeeScript 1.3.3 | ||
visitedFuncs.push(func); | ||
func = func.caller; | ||
try { | ||
func = func.caller; | ||
} catch (err) { | ||
func = null; | ||
} | ||
} | ||
@@ -59,0 +63,0 @@ return result; |
@@ -127,3 +127,3 @@ ;modjewel.define("weinre/common/WebSocketXhr", function(require, exports, module) { // Generated by CoffeeScript 1.3.3 | ||
if (typeof data !== "string") { | ||
throw new Ex(arguments, this.constructor.name + "." + this.caller); | ||
throw new Ex(arguments, this.constructor.name + ".send"); | ||
} | ||
@@ -130,0 +130,0 @@ this._queuedSends.push(data); |
@@ -45,20 +45,24 @@ ;modjewel.define("weinre/target/CSSStore", function(require, exports, module) { // Generated by CoffeeScript 1.3.3 | ||
result = []; | ||
_ref = document.styleSheets; | ||
for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
styleSheet = _ref[_i]; | ||
if (!styleSheet.cssRules) { | ||
continue; | ||
} | ||
_ref1 = styleSheet.cssRules; | ||
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { | ||
cssRule = _ref1[_j]; | ||
if (!_elementMatchesSelector(node, cssRule.selectorText)) { | ||
try { | ||
_ref = document.styleSheets; | ||
for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
styleSheet = _ref[_i]; | ||
if (!styleSheet.cssRules) { | ||
continue; | ||
} | ||
object = {}; | ||
object.ruleId = this._getStyleRuleId(cssRule); | ||
object.selectorText = cssRule.selectorText; | ||
object.style = this._buildMirrorForStyle(cssRule.style, true); | ||
result.push(object); | ||
_ref1 = styleSheet.cssRules; | ||
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { | ||
cssRule = _ref1[_j]; | ||
if (!_elementMatchesSelector(node, cssRule.selectorText)) { | ||
continue; | ||
} | ||
object = {}; | ||
object.ruleId = this._getStyleRuleId(cssRule); | ||
object.selectorText = cssRule.selectorText; | ||
object.style = this._buildMirrorForStyle(cssRule.style, true); | ||
result.push(object); | ||
} | ||
} | ||
} catch (err) { | ||
return result; | ||
} | ||
@@ -65,0 +69,0 @@ return result; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
5277010
434
71735
3