@team-griffin/css-longhand
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,4 +0,17 @@ | ||
import _default2 from 'ramda/src/keys'; | ||
import _default from 'ramda/src/reduce'; | ||
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _keys = require('ramda/src/keys'); | ||
var _keys2 = _interopRequireDefault(_keys); | ||
var _reduce = require('ramda/src/reduce'); | ||
var _reduce2 = _interopRequireDefault(_reduce); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
@@ -13,3 +26,3 @@ | ||
var longhand = function longhand(coreProp, prop) { | ||
return _default(function (result, key) { | ||
return (0, _reduce2.default)(function (result, key) { | ||
var k = '' + coreProp + upperFirst(key); | ||
@@ -26,5 +39,5 @@ var v = prop[key]; | ||
// } | ||
}, {}, _default2(prop)); | ||
}, {}, (0, _keys2.default)(prop)); | ||
}; | ||
export default longhand; | ||
exports.default = longhand; |
{ | ||
"name": "@team-griffin/css-longhand", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "jsnext:main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
120581
274