diff --git a/build/Gruntfile.ls b/build/Gruntfile.ls index efba403550b4..65ed6363e44a 100644 --- a/build/Gruntfile.ls +++ b/build/Gruntfile.ls @@ -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: @@ -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]> diff --git a/build/build.ls b/build/build.ls index 248ec2a8fdf5..489580b69260 100644 --- a/build/build.ls +++ b/build/build.ls @@ -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 @@ -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 diff --git a/build/index.js b/build/index.js index 902a5a761a99..02635f5b4c56 100644 --- a/build/index.js +++ b/build/index.js @@ -1,8 +1,8 @@ // Generated by LiveScript 1.4.0 (function(){ - var Promise, ref$, list, experimental, libraryBlacklist, banner, readFile, writeFile, unlink, basename, dirname, join, webpack, temp; + var Promise, ref$, list, libraryBlacklist, banner, readFile, writeFile, unlink, basename, dirname, join, webpack, temp; Promise = require('../library/fn/promise'); - ref$ = require('./config'), list = ref$.list, experimental = ref$.experimental, libraryBlacklist = ref$.libraryBlacklist, banner = ref$.banner; + ref$ = require('./config'), list = ref$.list, libraryBlacklist = ref$.libraryBlacklist, banner = ref$.banner; ref$ = require('fs'), readFile = ref$.readFile, writeFile = ref$.writeFile, unlink = ref$.unlink; ref$ = require('path'), basename = ref$.basename, dirname = ref$.dirname, join = ref$.join; webpack = require('webpack'); @@ -16,18 +16,12 @@ : [], library = (ref$ = arg$.library) != null ? ref$ : false, umd = (ref$ = arg$.umd) != null ? ref$ : true; return new Promise(function(resolve, reject){ (function(){ - var i$, x$, ref$, len$, ns, name, j$, len1$, TARGET, this$ = this; - if (this.exp) { - for (i$ = 0, len$ = (ref$ = experimental).length; i$ < len$; ++i$) { - x$ = ref$[i$]; - this[x$] = true; - } - } + var ns, i$, ref$, len$, name, j$, len1$, TARGET, this$ = this; for (ns in this) { if (this[ns]) { for (i$ = 0, len$ = (ref$ = list).length; i$ < len$; ++i$) { name = ref$[i$]; - if (name.indexOf(ns + ".") === 0 && !in$(name, experimental)) { + if (name.indexOf(ns + ".") === 0) { this[name] = true; } } @@ -90,9 +84,4 @@ }, {}))); }); }; - function in$(x, xs){ - var i = -1, l = xs.length >>> 0; - while (++i < l) if (x === xs[i]) return true; - return false; - } }).call(this); diff --git a/tests/experimental.html b/tests/experimental.html deleted file mode 100644 index fef7cf2076a5..000000000000 --- a/tests/experimental.html +++ /dev/null @@ -1,11 +0,0 @@ - - -