react-overlays
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -0,1 +1,8 @@ | ||
v0.4.2 - Mon, 10 Aug 2015 19:04:31 GMT | ||
-------------------------------------- | ||
v0.4.1 - Tue, 04 Aug 2015 23:48:08 GMT | ||
@@ -2,0 +9,0 @@ -------------------------------------- |
@@ -21,11 +21,6 @@ 'use strict'; | ||
var _domHelpersQueryIsWindow = require('dom-helpers/query/isWindow'); | ||
var _utilsIsOverflowing = require('./utils/isOverflowing'); | ||
var _domHelpersQueryIsWindow2 = _interopRequireDefault(_domHelpersQueryIsWindow); | ||
var _utilsIsOverflowing2 = _interopRequireDefault(_utilsIsOverflowing); | ||
function containerClientHeight(container) { | ||
var win = _domHelpersQueryIsWindow2['default'](container); | ||
return win ? win.documentElement.clientHeight : container.clientHeight; | ||
} | ||
var findContainer = function findContainer(data, modal) { | ||
@@ -97,3 +92,3 @@ var idx = -1; | ||
data.overflowing = container.scrollHeight > containerClientHeight(container); | ||
data.overflowing = _utilsIsOverflowing2['default'](container); | ||
@@ -100,0 +95,0 @@ if (data.overflowing) { |
{ | ||
"name": "react-overlays", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Utilities for creating robust overlay components", | ||
@@ -61,3 +61,2 @@ "author": "Jason Quense <monastic.panic@gmail.com>", | ||
"karma": "^0.13.3", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^0.2.0", | ||
@@ -69,3 +68,2 @@ "karma-cli": "^0.1.0", | ||
"karma-mocha-reporter": "^1.0.4", | ||
"karma-sinon": "^1.0.4", | ||
"karma-sinon-chai": "^1.0.0", | ||
@@ -72,0 +70,0 @@ "karma-sourcemap-loader": "^0.3.5", |
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
65088
46
21
1419