hyphenToCamelCase
diff --git a/assets/js/helpers/utilities.js b/assets/js/helpers/utilities.js
index a34e884..2922d1d 100644
--- a/assets/js/helpers/utilities.js
+++ b/assets/js/helpers/utilities.js
@@ -296,6 +296,19 @@
});
}
+
+ /**
+ * Converts a dashed string `sample-string` to a
+ * cammelcased one ``
+ */
+ , hyphenToCamelCase: function( string ) {
+
+ return string.replace( /([-][a-z])/g, function( $1 ) {
+
+ return $1[ 1 ] . toUpperCase();
+ });
+ }
+
/**
* Converts hiphens to underscores
*/