Sha256: f10e0f4c49c49098f4464428e20e785893a3596e24e64a978963b6298bbde62d

Contents?: true

Size: 511 Bytes

Versions: 45

Compression:

Stored size: 511 Bytes

Contents

require(__dirname).test({
  xml : "<html><head><script>if (1 < 0) { console.log('elo there'); }</script></head></html>",
  expect : [
    ["opentag", {"name": "HTML","attributes": {}, "isSelfClosing": false}],
    ["opentag", {"name": "HEAD","attributes": {}, "isSelfClosing": false}],
    ["opentag", {"name": "SCRIPT","attributes": {}, "isSelfClosing": false}],
    ["script", "if (1 < 0) { console.log('elo there'); }"],
    ["closetag", "SCRIPT"],
    ["closetag", "HEAD"],
    ["closetag", "HTML"]
  ]
});

Version data entries

45 entries across 45 versions & 3 rubygems

Version Path
stylus-source-0.37.0 vendor/node_modules/sax/test/script.js
stylus-source-0.36.1 vendor/node_modules/sax/test/script.js
stylus-source-0.36.0 vendor/node_modules/sax/test/script.js
stylus-source-0.35.1 vendor/node_modules/sax/test/script.js
stylus-source-0.35.0 vendor/node_modules/sax/test/script.js