Skip to content

Commit 4aa6f1f

Browse files
Guilherme SouzaGuilherme Souza
authored andcommitted
little bug with the new parser .. its all OK 😍
1 parent 4755fd0 commit 4aa6f1f

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Automatically receives the window width.
166166
Automatically receives the window height.
167167
168168
# Version
169-
0.0.11 **Alpha**
169+
0.0.12 **Alpha**
170170
171171
# Building
172172
```bash

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dss",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"homepage": "https://github.com/guisouza/dss",
55
"description": "DSS - Dynamic Style Sheets",
66
"main": "dist/dss.min.js",

dist/dss.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,8 @@
966966
'use strict';
967967

968968
dss.core.parseRule = function(rule){
969-
dss.core.findDynamics(rule.selectors.join(','),rule.declarations);
969+
if (rule.selectors)
970+
dss.core.findDynamics(rule.selectors.join(','),rule.declarations);
970971
};
971972

972973
})(this.dss);

dist/dss.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dss.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dss",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "Dynamic Style Sheets",
55
"author": "Guilherme (Coder) de Souza",
66
"homepage": "https://github.com/guisouza/dss",

src/core/dss.core.parseRule.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
'use strict';
55

66
dss.core.parseRule = function(rule){
7-
dss.core.findDynamics(rule.selectors.join(','),rule.declarations);
7+
if (rule.selectors)
8+
dss.core.findDynamics(rule.selectors.join(','),rule.declarations);
89
};
910

1011
})(this.dss);

0 commit comments

Comments
 (0)