malinajs 0.7.0-a11 → 0.7.0-a12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/malina.js +5 -4
- package/package.json +1 -1
package/malina.js
CHANGED
|
@@ -36,9 +36,10 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
function toCamelCase(name) {
|
|
39
|
-
assert(name
|
|
40
|
-
return name.replace(/(
|
|
41
|
-
|
|
39
|
+
assert(last(name) !== '-', 'Wrong name');
|
|
40
|
+
return name.replace(/(.\-\w)/g, function(part) {
|
|
41
|
+
if(part[0] == '-') return part;
|
|
42
|
+
return part[0] + part[2].toUpperCase();
|
|
42
43
|
});
|
|
43
44
|
}
|
|
44
45
|
|
|
@@ -6528,7 +6529,7 @@
|
|
|
6528
6529
|
return { event, fn, rootModifier };
|
|
6529
6530
|
}
|
|
6530
6531
|
|
|
6531
|
-
const version = '0.7.0-
|
|
6532
|
+
const version = '0.7.0-a12';
|
|
6532
6533
|
|
|
6533
6534
|
|
|
6534
6535
|
async function compile(source, config = {}) {
|