Comparing version 1.0.0 to 1.0.1
@@ -34,3 +34,3 @@ { | ||
}, | ||
"version": "1.0.0" | ||
"version": "1.0.1" | ||
} |
@@ -11,3 +11,3 @@ !(function() { | ||
*/ | ||
var isWebkit = !!window.webkitURL; | ||
// var isWebkit = !!window.webkitURL; | ||
@@ -168,38 +168,38 @@ /** | ||
innerWidth: { | ||
type: isWebkit ? Value : Measure, | ||
/** | ||
* Throws when the window is nested (in <iframe>) | ||
* and StrictDom is not in the 'measure' phase. | ||
* | ||
* @param {StrictDom} strictdom | ||
*/ | ||
test: function(strictdom) { | ||
var inIframe = window !== window.top; | ||
if (inIframe && strictdom.not('measure')) { | ||
throw error(2, '`.innerWidth` (in iframe)'); | ||
} | ||
} | ||
}, | ||
innerHeight: { | ||
type: isWebkit ? Value : Measure, | ||
/** | ||
* Throws when the window is nested (in <iframe>) | ||
* and StrictDom is not in the 'measure' phase. | ||
* | ||
* @param {StrictDom} strictdom | ||
*/ | ||
test: function(strictdom) { | ||
var inIframe = window !== window.top; | ||
if (inIframe && strictdom.not('measure')) { | ||
throw error(2, '`.innerHeight` (in iframe)'); | ||
} | ||
} | ||
}, | ||
scrollX: isWebkit ? Value : Measure, | ||
scrollY: isWebkit ? Value : Measure, | ||
// innerWidth: { | ||
// type: isWebkit ? Value : Measure, | ||
// | ||
// /** | ||
// * Throws when the window is nested (in <iframe>) | ||
// * and StrictDom is not in the 'measure' phase. | ||
// * | ||
// * @param {StrictDom} strictdom | ||
// */ | ||
// test: function(strictdom) { | ||
// var inIframe = window !== window.top; | ||
// if (inIframe && strictdom.not('measure')) { | ||
// throw error(2, '`.innerWidth` (in iframe)'); | ||
// } | ||
// } | ||
// }, | ||
// | ||
// innerHeight: { | ||
// type: isWebkit ? Value : Measure, | ||
// | ||
// /** | ||
// * Throws when the window is nested (in <iframe>) | ||
// * and StrictDom is not in the 'measure' phase. | ||
// * | ||
// * @param {StrictDom} strictdom | ||
// */ | ||
// test: function(strictdom) { | ||
// var inIframe = window !== window.top; | ||
// if (inIframe && strictdom.not('measure')) { | ||
// throw error(2, '`.innerHeight` (in iframe)'); | ||
// } | ||
// } | ||
// }, | ||
// | ||
// scrollX: isWebkit ? Value : Measure, | ||
// scrollY: isWebkit ? Value : Measure, | ||
scrollBy: Mutate, | ||
@@ -206,0 +206,0 @@ scrollTo: Mutate, |
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
24720
729