react-responsive
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "react-responsive", | ||
"description": "Media queries in react for responsive design", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"homepage": "http://github.com/wearefractal/react-responsive", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -6,3 +6,2 @@ /* global window */ | ||
var React = require('react'); | ||
var assign = require('object-assign'); | ||
var omit = require('lodash.omit'); | ||
@@ -18,4 +17,3 @@ var mediaQuery = require('./mediaQuery'); | ||
var mediaKeys = Object.keys(mediaQuery.all); | ||
var types = assign(defaultTypes, mediaQuery.all); | ||
var excludedQueryKeys = Object.keys(types); | ||
var excludedQueryKeys = Object.keys(defaultTypes); | ||
var excludedPropKeys = excludedQueryKeys.concat(mediaKeys); | ||
@@ -25,3 +23,2 @@ | ||
displayName: 'MediaQuery', | ||
propTypes: types, | ||
@@ -28,0 +25,0 @@ getDefaultProps: function(){ |
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
1053945
12962