Browse Source

Merge branch 'master' of https://github.com/twbs/ratchet into fix-paths

pull/617/head
Daijiro Wachi 11 years ago
parent
commit
e41e7d8204
  1. 2
      .travis.yml
  2. 3
      Gruntfile.js
  3. 2
      _config.yml
  4. 2
      docs/assets/css/docs.min.css
  5. 1
      docs/robots.txt
  6. 1
      docs/sitemap.xml
  7. 10
      js/.jscsrc
  8. 18
      package.json
  9. 12
      sass/.csscomb.json

2
.travis.yml

@ -6,7 +6,7 @@ before_install:
install: install:
- travis_retry npm install -g grunt-cli - travis_retry npm install -g grunt-cli
- travis_retry npm install - travis_retry npm install
- travis_retry gem install --no-document "jekyll:~>1.5.0" "sass:~>3.3.0" - travis_retry gem install --no-document "jekyll:~>2.2.0" "sass:~>3.3.12"
matrix: matrix:
fast_finish: true fast_finish: true
notifications: notifications:

3
Gruntfile.js

@ -223,7 +223,8 @@ module.exports = function(grunt) {
reset: true, reset: true,
relaxerror: [ relaxerror: [
'Attribute ontouchstart not allowed on element body at this point.', 'Attribute ontouchstart not allowed on element body at this point.',
'Bad value X-UA-Compatible for attribute http-equiv on element meta.' 'Bad value X-UA-Compatible for attribute http-equiv on element meta.',
'Consider using the h1 element as a top-level heading only \\(all h1 elements are treated as top-level headings by many screen readers and other tools\\)\\.'
] ]
}, },
files: { files: {

2
_config.yml

@ -4,7 +4,7 @@ authors: Connor Sears
description: Build mobile apps with simple HTML, CSS, and JS components. description: Build mobile apps with simple HTML, CSS, and JS components.
# Dependencies # Dependencies
pygments: true highlighter: pygments
# Permalinks # Permalinks
permalink: pretty permalink: pretty

2
docs/assets/css/docs.min.css vendored

File diff suppressed because one or more lines are too long

1
docs/robots.txt

@ -1,5 +1,4 @@
--- ---
layout: nil
--- ---
# www.robotstxt.org/ # www.robotstxt.org/

1
docs/sitemap.xml

@ -1,5 +1,4 @@
--- ---
layout: nil
--- ---
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>

10
js/.jscsrc

@ -1,30 +1,32 @@
{ {
"disallowEmptyBlocks": true, "disallowEmptyBlocks": true,
"disallowKeywords": ["with"], "disallowKeywords": ["with"],
"disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowMixedSpacesAndTabs": true, "disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true, "disallowMultipleLineStrings": true,
"disallowMultipleVarDecl": true, "disallowMultipleVarDecl": true,
"disallowQuotedKeysInObjects": "allButReserved", "disallowQuotedKeysInObjects": "allButReserved",
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], "disallowSpaceAfterPrefixUnaryOperators": ["!"],
"disallowSpaceBeforeBinaryOperators": [","],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideArrayBrackets": true, "disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true, "disallowSpacesInsideParentheses": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true, "disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true, "requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCapitalizedConstructors": true, "requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true, "requireCommaBeforeLineBreak": true,
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"], "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"],
"requireDotNotation": true, "requireDotNotation": true,
"requireLeftStickedOperators": [","],
"requireLineFeedAtFileEnd": true, "requireLineFeedAtFileEnd": true,
"requireParenthesesAroundIIFE": true, "requireParenthesesAroundIIFE": true,
"requireRightStickedOperators": ["!"],
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpaceAfterLineComment": true,
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true }, "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true },
"requireSpacesInConditionalExpression": true,
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },

18
package.json

@ -27,22 +27,22 @@
}, },
"devDependencies": { "devDependencies": {
"grunt": "~0.4.5", "grunt": "~0.4.5",
"grunt-contrib-clean": "~0.5.0", "grunt-contrib-clean": "~0.6.0",
"grunt-contrib-concat": "~0.4.0", "grunt-contrib-concat": "~0.5.0",
"grunt-contrib-copy": "~0.5.0", "grunt-contrib-copy": "~0.5.0",
"grunt-contrib-csslint": "~0.2.0", "grunt-contrib-csslint": "~0.2.0",
"grunt-contrib-cssmin": "~0.9.0", "grunt-contrib-cssmin": "~0.10.0",
"grunt-contrib-jshint": "~0.10.0", "grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-sass": "~0.7.3", "grunt-contrib-sass": "~0.7.3",
"grunt-contrib-uglify": "~0.4.0", "grunt-contrib-uglify": "~0.5.1",
"grunt-contrib-watch": "~0.6.1", "grunt-contrib-watch": "~0.6.1",
"grunt-csscomb": "~2.0.1", "grunt-csscomb": "~3.0.0",
"grunt-html-validation": "~0.1.17", "grunt-html-validation": "~0.1.18",
"grunt-jekyll": "~0.4.2", "grunt-jekyll": "~0.4.2",
"grunt-jscs-checker": "~0.4.4", "grunt-jscs": "~0.6.2",
"grunt-sed": "~0.1.1", "grunt-sed": "~0.1.1",
"load-grunt-tasks": "~0.4.0", "load-grunt-tasks": "~0.6.0",
"time-grunt": "~0.3.1" "time-grunt": "~0.4.0"
}, },
"engines": { "engines": {
"node": "~0.10.1" "node": "~0.10.1"

12
sass/.csscomb.json

@ -1,16 +1,20 @@
{ {
"always-semicolon": true, "always-semicolon": true,
"block-indent": 2, "block-indent": 2,
"colon-space": [0, 1],
"color-case": "lower", "color-case": "lower",
"color-shorthand": true, "color-shorthand": true,
"combinator-space": true,
"element-case": "lower", "element-case": "lower",
"eof-newline": true, "eof-newline": true,
"leading-zero": false, "leading-zero": false,
"remove-empty-rulesets": true, "remove-empty-rulesets": true,
"rule-indent": 2, "space-after-colon": 1,
"stick-brace": " ", "space-after-combinator": 1,
"space-after-declaration": "\n",
"space-after-opening-brace": "\n",
"space-before-closing-brace": "\n",
"space-before-colon": 0,
"space-before-combinator": 1,
"space-before-opening-brace": 1,
"strip-spaces": true, "strip-spaces": true,
"unitless-zero": true, "unitless-zero": true,
"vendor-prefix-align": true, "vendor-prefix-align": true,

Loading…
Cancel
Save