* fix momentum scrolling on iOS (#5083)

* Revert "fix momentum scrolling on iOS (#5083)" (#5084)

This reverts commit 812571843c.

* AST tests (WIP)

* added tests

* cleanup

new helpers for cleaner code

* more tests

tests are mostly complete now.
also included one for our helper function.

* string quotes

* Update dependencies; disable some babel-minify transforms to work around https://github.com/babel/minify/issues/893 (#5095)

* more tests + refactor

* Remove unused helper function; improve logging output

* Add tests for ImportNamespaceSpecifier, Expansion; cleanup

* CI: Test first before building, so that the tests run on the committed, built files in /lib; the build parts of CI are only a test that the build process succeeds, so we shouldn't be testing the output of the CI build steps
This commit is contained in:
Geoffrey Booth 2018-08-18 15:45:31 -07:00 committed by GitHub
parent 16b4448fe8
commit db86dc4d8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 2734 additions and 1274 deletions

View File

@ -10,11 +10,11 @@ cache:
- node_modules
script:
- node ./bin/cake build:except-parser
- node ./bin/cake build:parser
- node ./bin/cake build:full
- node ./bin/cake build:browser
- node ./bin/cake test
- node --harmony ./bin/cake test
- node ./bin/cake test:browser
- node ./bin/cake test:integrations
- node ./bin/cake build:except-parser
- node ./bin/cake build:parser
- node ./bin/cake build:full
- node ./bin/cake build:browser

View File

@ -72,7 +72,7 @@ transpile = (code) ->
# Exclude the `modules` plugin in order to not break the `}(this));`
# at the end of the `build:browser` code block.
presets.push ['env', {modules: no}] unless process.env.TRANSFORM is 'false'
presets.push ['minify', {mangle: no}] unless process.env.MINIFY is 'false'
presets.push ['minify', {mangle: no, evaluate: no, removeUndefined: no}] unless process.env.MINIFY is 'false'
babelOptions =
compact: process.env.MINIFY isnt 'false'
presets: presets

View File

@ -15,14 +15,14 @@ cache:
- node_modules
test_script:
- node ./bin/cake build:except-parser
- node ./bin/cake build:parser
- node ./bin/cake build:full
- node ./bin/cake build:browser
- node ./bin/cake test
- node --harmony ./bin/cake test
- node ./bin/cake test:browser
- node ./bin/cake test:integrations
- node ./bin/cake build:except-parser
- node ./bin/cake build:parser
- node ./bin/cake build:full
- node ./bin/cake build:browser
build: off

File diff suppressed because one or more lines are too long

View File

@ -1540,7 +1540,7 @@ inner = changeNumbers();
<span class="cm-keyword">return</span> <span class="cm-variable">outer</span> <span class="cm-operator">=</span> <span class="cm-number">10</span>;
};
<span class="cm-variable">inner</span> <span class="cm-operator">=</span> <span class="cm-variable">changeNumbers</span>();
<span class="cm-variable-2">inner</span> <span class="cm-operator">=</span> <span class="cm-variable">changeNumbers</span>();
</pre>
</div>
</div>

2792
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -39,16 +39,16 @@
"url": "git://github.com/jashkenas/coffeescript.git"
},
"devDependencies": {
"babel-core": "6.26.3",
"babel-preset-env": "1.6.1",
"babel-preset-minify": "0.4.0",
"codemirror": "^5.37.0",
"babel-core": "^6.26.3",
"babel-preset-env": "1.7.0",
"babel-preset-minify": "^0.4.3",
"codemirror": "^5.39.2",
"docco": "~0.8.0",
"highlight.js": "~9.12.0",
"jison": ">=0.4.18",
"markdown-it": "~8.4.1",
"underscore": "~1.9.0",
"webpack": "~4.6.0"
"markdown-it": "~8.4.2",
"underscore": "~1.9.1",
"webpack": "~4.16.5"
},
"dependencies": {}
}

File diff suppressed because it is too large Load Diff