Skip to content

Commit

Permalink
remove experimental task, tests, namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Aug 17, 2017
1 parent c09b96c commit 71b25fc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 34 deletions.
5 changes: 0 additions & 5 deletions build/Gruntfile.ls
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module.exports = (grunt)->
'./tests/tests.js': './tests/tests/*'
'./tests/library.js': './tests/library/*'
'./tests/es.js': './tests/tests/es*'
'./tests/experimental.js': './tests/experimental/*'
'./build/index.js': './build/build.ls*'
clean: <[./library]>
copy: lib: files:
Expand Down Expand Up @@ -79,8 +78,4 @@ module.exports = (grunt)->
grunt.option \library ''
grunt.option \path './client/shim'
grunt.task.run <[build:es,esnext,web uglify]>
grunt.registerTask \e ->
grunt.option \library ''>
grunt.option \path './client/core'
grunt.task.run <[build:es,esnext,web,core,exp uglify]>
grunt.registerTask \default <[clean copy client library shim]>
5 changes: 2 additions & 3 deletions build/build.ls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require! {
'../library/fn/promise': Promise
'./config': {list, experimental, libraryBlacklist, banner}
'./config': {list, libraryBlacklist, banner}
fs: {readFile, writeFile, unlink}
path: {basename, dirname, join}
webpack, temp
Expand All @@ -9,11 +9,10 @@ require! {
module.exports = ({modules = [], blacklist = [], library = no, umd = on})->
resolve, reject <~! new Promise _
let @ = modules.reduce ((memo, it)-> memo[it] = on; memo), {}
if @exp => for experimental => @[..] = on
for ns of @
if @[ns]
for name in list
if name.indexOf("#ns.") is 0 and name not in experimental
if name.indexOf("#ns.") is 0
@[name] = on

if library => blacklist ++= libraryBlacklist
Expand Down
19 changes: 4 additions & 15 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions tests/experimental.html

This file was deleted.

Empty file removed tests/experimental.js
Empty file.

0 comments on commit 71b25fc

Please sign in to comment.