Skip to content

Commit f057a2e

Browse files
committed
Hyphenated CSS Property Fix
Fix for issue #122
1 parent ea737a8 commit f057a2e

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cash",
33
"main": "dist/cash.js",
4-
"version": "1.3.0",
4+
"version": "1.3.1",
55
"homepage": "https://github.com/kenwheeler/cash",
66
"authors": [
77
"Ken Wheeler <[email protected]>"

dist/cash.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use strict";
22

3-
/*! cash-dom 1.3.0, https://github.com/kenwheeler/cash @license MIT */
3+
/*! cash-dom 1.3.1, https://github.com/kenwheeler/cash @license MIT */
44
(function (root, factory) {
55
if (typeof define === "function" && define.amd) {
66
define(factory);
@@ -402,7 +402,7 @@
402402
});
403403

404404
var getPrefixedProp = (function () {
405-
var cache = {}, div = doc.createElement("div"), style = div.style, camelRegex = /(?:^\w|[A-Z]|\b\w)/g, whiteSpace = /\s+/g;
405+
var cache = {}, div = doc.createElement("div"), style = div.style, camelRegex = /(?:^\w|[A-Z]|\b\w)/g, whiteSpace = /[\s-]+/g;
406406

407407
function camelCase(str) {
408408
return str.replace(camelRegex, function (letter, index) {

dist/cash.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)