react-sortable-hoc
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -523,3 +523,3 @@ 'use strict'; | ||
hideSortableGhost: true, | ||
contentWindow: window, | ||
contentWindow: typeof window !== 'undefined' ? window : null, | ||
lockToContainerEdges: false, | ||
@@ -526,0 +526,0 @@ lockOffset: '50%' |
@@ -28,2 +28,3 @@ 'use strict'; | ||
var vendorPrefix = exports.vendorPrefix = function () { | ||
if (typeof window === 'undefined') return ''; // server environment | ||
var styles = window.getComputedStyle(document.documentElement, ''); | ||
@@ -30,0 +31,0 @@ var pre = (Array.prototype.slice.call(styles).join('').match(/-(moz|webkit|ms)-/) || styles.OLink === '' && ['', 'o'])[1]; |
@@ -486,3 +486,3 @@ import React, { Component, PropTypes } from 'react'; | ||
hideSortableGhost: true, | ||
contentWindow: window, | ||
contentWindow: typeof window !== 'undefined' ? window : null, | ||
lockToContainerEdges: false, | ||
@@ -489,0 +489,0 @@ lockOffset: '50%' |
@@ -19,2 +19,3 @@ export function arrayMove(array, previousIndex, newIndex) { | ||
export var vendorPrefix = function () { | ||
if (typeof window === 'undefined') return ''; // server environment | ||
var styles = window.getComputedStyle(document.documentElement, ''); | ||
@@ -21,0 +22,0 @@ var pre = (Array.prototype.slice.call(styles).join('').match(/-(moz|webkit|ms)-/) || styles.OLink === '' && ['', 'o'])[1]; |
{ | ||
"name": "react-sortable-hoc", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Set of higher-order components to turn any list into a sortable, touch-friendly, animated list", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
699195
23
6407