Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit 23bd324

Browse files
committed
add observables example, update deps
1 parent ff011bd commit 23bd324

File tree

18 files changed

+15038
-11775
lines changed

18 files changed

+15038
-11775
lines changed

calendar/dist/index.js

Lines changed: 2323 additions & 1726 deletions
Large diffs are not rendered by default.

function-values/dist/app.js

Lines changed: 2532 additions & 1839 deletions
Large diffs are not rendered by default.

jss-camel-case.js

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ return /******/ (function(modules) { // webpackBootstrap
5252
/************************************************************************/
5353
/******/ ([
5454
/* 0 */
55-
/***/ function(module, exports) {
55+
/***/ (function(module, exports) {
5656

5757
"use strict";
5858

5959
Object.defineProperty(exports, "__esModule", {
6060
value: true
6161
});
62+
exports["default"] = camelCase;
6263
var regExp = /([A-Z])/g;
6364

6465
/**
@@ -80,9 +81,7 @@ return /******/ (function(modules) { // webpackBootstrap
8081
var converted = {};
8182

8283
for (var prop in style) {
83-
var value = style[prop];
84-
prop = prop.replace(regExp, replace);
85-
converted[prop] = value;
84+
converted[prop.replace(regExp, replace)] = style[prop];
8685
}
8786

8887
if (style.fallbacks) {
@@ -97,26 +96,23 @@ return /******/ (function(modules) { // webpackBootstrap
9796
*
9897
* @param {Rule} rule
9998
*/
100-
101-
exports["default"] = function () {
102-
return function (rule) {
103-
var style = rule.style;
104-
105-
if (!style) return;
106-
99+
function camelCase() {
100+
function onProcessStyle(style) {
107101
if (Array.isArray(style)) {
108102
// Handle rules like @font-face, which can have multiple styles in an array
109103
for (var index = 0; index < style.length; index++) {
110104
style[index] = convertCase(style[index]);
111105
}
112-
return;
106+
return style;
113107
}
114108

115-
rule.style = convertCase(style);
116-
};
117-
};
109+
return convertCase(style);
110+
}
111+
112+
return { onProcessStyle: onProcessStyle };
113+
}
118114

119-
/***/ }
115+
/***/ })
120116
/******/ ])
121117
});
122118
;

jss-default-unit.js

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

jss-extend.js

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

0 commit comments

Comments
 (0)