diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-19 11:54:43 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-19 11:54:43 +0000 |
| commit | 68d8c8140fb6ef1118fa2815243817f8e4f55b59 (patch) | |
| tree | d4e4be8d3b124d98f2d204ed5f97585a8729ca94 /lib | |
| parent | 5f84e7887b262b96fd6fd47ce6bb1cd96c196f69 (diff) | |
Move html-paths and document-matchers to styles module
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/document-to-html.js | 2 | ||||
| -rw-r--r-- | lib/html/ast.js | 2 | ||||
| -rw-r--r-- | lib/style-reader.js | 4 | ||||
| -rw-r--r-- | lib/styles/document-matchers.js (renamed from lib/document-matchers.js) | 0 | ||||
| -rw-r--r-- | lib/styles/html-paths.js (renamed from lib/html-paths.js) | 2 | ||||
| -rw-r--r-- | lib/underline.js | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 6094803..61797a1 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -2,7 +2,7 @@ var _ = require("underscore"); var promises = require("./promises"); var documents = require("./documents"); -var htmlPaths = require("./html-paths"); +var htmlPaths = require("./styles/html-paths"); var results = require("./results"); var images = require("./images"); var Html = require("./html"); diff --git a/lib/html/ast.js b/lib/html/ast.js index db9e690..0dd8120 100644 --- a/lib/html/ast.js +++ b/lib/html/ast.js @@ -1,4 +1,4 @@ -var htmlPaths = require("../html-paths"); +var htmlPaths = require("../styles/html-paths"); function nonFreshElement(tagName, attributes, children) { diff --git a/lib/style-reader.js b/lib/style-reader.js index ba453bd..2889554 100644 --- a/lib/style-reader.js +++ b/lib/style-reader.js @@ -1,8 +1,8 @@ var _ = require("underscore"); var lop = require("lop"); -var documentMatchers = require("./document-matchers"); -var htmlPaths = require("./html-paths"); +var documentMatchers = require("./styles/document-matchers"); +var htmlPaths = require("./styles/html-paths"); var tokenise = require("./styles/parser/tokeniser").tokenise; var results = require("./results"); diff --git a/lib/document-matchers.js b/lib/styles/document-matchers.js index bdc213c..bdc213c 100644 --- a/lib/document-matchers.js +++ b/lib/styles/document-matchers.js diff --git a/lib/html-paths.js b/lib/styles/html-paths.js index 8906329..27bb777 100644 --- a/lib/html-paths.js +++ b/lib/styles/html-paths.js @@ -1,6 +1,6 @@ var _ = require("underscore"); -var html = require("./html"); +var html = require("../html"); exports.topLevelElement = topLevelElement; exports.elements = elements; diff --git a/lib/underline.js b/lib/underline.js index fd5dc0f..3c59d0d 100644 --- a/lib/underline.js +++ b/lib/underline.js @@ -1,4 +1,4 @@ -var htmlPaths = require("./html-paths"); +var htmlPaths = require("./styles/html-paths"); var Html = require("./html"); |
