diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-08 20:54:09 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-08 20:54:09 +0100 |
| commit | 0695263132193745d7f543fb1a20b63dbfe00075 (patch) | |
| tree | 83677e0fe5037879992fd0dfb4fba63b9b7c70a5 /lib/style-reader.js | |
| parent | f4d7f2e4d6b38485ccdd954a73004b7adfc68e32 (diff) | |
Rename styles module to htmlPaths
Diffstat (limited to 'lib/style-reader.js')
| -rw-r--r-- | lib/style-reader.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/style-reader.js b/lib/style-reader.js index 9e23abd..01331a6 100644 --- a/lib/style-reader.js +++ b/lib/style-reader.js @@ -1,7 +1,7 @@ var lop = require("lop"); var RegexTokeniser = lop.RegexTokeniser; -var styles = require("./styles"); +var htmlPaths = require("./html-paths"); exports.read = read; @@ -41,7 +41,7 @@ function read(string) { if (fresh) { options["fresh"] = true; } - return styles.element(tagName, attributes, options); + return htmlPaths.element(tagName, attributes, options); }); var styleRule = lop.rules.then( @@ -53,7 +53,7 @@ function read(string) { whitespaceRule ) ), - styles.elements + htmlPaths.elements ); var tokens = tokenise(string); |
