Skip to content

Commit

Permalink
.editorconfig for package.json, doctype.js was moved to tree_construc…
Browse files Browse the repository at this point in the history
…tion, because it's actually is not "common" in any way
  • Loading branch information
inikulin committed Aug 20, 2014
1 parent e51c227 commit 5d52a5b
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 42 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[{package.json,.travis.yml}]
indent_size = 2
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/tree_construction/parser.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
var Tokenizer = require('../tokenization/tokenizer'),
OpenElementStack = require('./open_element_stack'),
FormattingElementList = require('./formatting_element_list'),
Doctype = require('./doctype'),
DefaultTreeAdapter = require('../tree_adapters/default'),
Doctype = require('../common/doctype'),
ForeignContent = require('../common/foreign_content'),
UNICODE = require('../common/unicode'),
HTML = require('../common/html');
Expand Down
82 changes: 41 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"name": "parse5",
"description": "Fast full-featured HTML parser for Node. Based on WHATWG HTML5 specification.",
"version": "1.1.2",
"author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)",
"contributors": [
"Sebastian Mayr <sebmaster16@gmail.com> (http://blog.smayr.name)",
"Sean Lang <slang800@gmail.com> (http://slang.cx)"
],
"devDependencies": {
"nodeunit": "0.8.0"
},
"keywords": [
"html",
"parser",
"html5",
"WHATWG",
"specification",
"fast",
"html parser",
"html5 parser",
"htmlparser",
"parse5",
"serializer",
"html serializer",
"htmlserializer",
"sax",
"simple api"
],
"licenses": [
{
"type": "MIT",
"url": "https://raw.github.com/inikulin/parse5/master/LICENSE"
}
],
"main": "./index.js",
"repository": {
"type": "git",
"url": "git://github.com/inikulin/parse5.git"
},
"scripts": {
"test": "node test/run_tests.js"
"name": "parse5",
"description": "Fast full-featured HTML parser for Node. Based on WHATWG HTML5 specification.",
"version": "1.1.2",
"author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)",
"contributors": [
"Sebastian Mayr <sebmaster16@gmail.com> (http://blog.smayr.name)",
"Sean Lang <slang800@gmail.com> (http://slang.cx)"
],
"devDependencies": {
"nodeunit": "0.8.0"
},
"keywords": [
"html",
"parser",
"html5",
"WHATWG",
"specification",
"fast",
"html parser",
"html5 parser",
"htmlparser",
"parse5",
"serializer",
"html serializer",
"htmlserializer",
"sax",
"simple api"
],
"licenses": [
{
"type": "MIT",
"url": "https://raw.github.com/inikulin/parse5/master/LICENSE"
}
],
"main": "./index.js",
"repository": {
"type": "git",
"url": "git://github.com/inikulin/parse5.git"
},
"scripts": {
"test": "node test/run_tests.js"
}
}

0 comments on commit 5d52a5b

Please sign in to comment.