diff --git a/.csslintrc b/.csslintrc new file mode 100644 index 00000000..9a5e3bb4 --- /dev/null +++ b/.csslintrc @@ -0,0 +1,17 @@ +[ + "floats", + "overqualified-elements", + "zero-units", + "universal-selector", + "import", + "font-faces", + "vendor-prefix", + "text-indent", + "gradients", + "compatible-vendor-prefixes", + "adjoining-classes", + "known-properties", + "empty-rules", + "duplicate-properties", + "display-property-grouping" +] diff --git a/.gitmodules b/.gitmodules index 28ffdbdd..43d6ba0e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ url = http://github.com/pivotal/jasmine.git [submodule "thirdparty/node-XMLHttpRequest"] path = thirdparty/node-XMLHttpRequest - url = http://github.com/tinyhippos/node-XMLHttpRequest.git + url = http://github.com/driverdan/node-XMLHttpRequest.git [submodule "thirdparty/browser-require"] path = thirdparty/browser-require url = https://github.com/rsms/browser-require.git diff --git a/.jshintrc b/.jshintrc index b7ed2501..dbc9827b 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,6 +1,10 @@ { "predef": [ + "stagewebview", + "FileReader", "FileWriter", + "WebKitBlobBuilder", "BlobBuilder", "webkitNotifications", + "FileError", "DOMDocument", "$", "it", "describe", "xit", "xdescribe", diff --git a/Jakefile b/Jakefile index 1cfd6c66..137e6931 100644 --- a/Jakefile +++ b/Jakefile @@ -30,7 +30,7 @@ task('test', [], function () { desc("boot test server for running all tests in the browser"); task('btest', [], require('./build/btest')); -desc("runs jshint - jake lint [path1,path2]"); +desc("runs jshint + csslint - jake lint [path1] [path2]"); task('lint', [], function () { require('./build/lint')(complete, Array.prototype.slice.call(arguments)); }, true); diff --git a/LICENSE b/LICENSE index 834eebf8..cb4dcce4 100644 --- a/LICENSE +++ b/LICENSE @@ -266,13 +266,6 @@ licensed under the MIT (MIT-LICENSE.txt) http://docs.jquery.com/UI -------------------------------------------------------- -* jQuery.Dimensions * - -Copyright (c) 2007 Paul Bakaus (paul.bakaus@googlemail.com) and Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net) -Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) -and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. - ------------------------------------------------------- * jQuery Tooltip plugin * @@ -285,15 +278,6 @@ Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html -------------------------------------------------------- -* Sinon * - -https://github.com/cjohansen/Sinon.JS - -Copyright (c) 2010-2011, Christian Johansen, christian@cjohansen.no - -licensed under the BSD License - ------------------------------------------------------- * Math.uuid.js (v1.4) * diff --git a/build/btest.js b/build/btest.js index 3ebf5d7d..7c366845 100644 --- a/build/btest.js +++ b/build/btest.js @@ -14,19 +14,29 @@ * limitations under the License. */ module.exports = function () { - var express = require('express'), - connect = require('connect'), + var connect = require('connect'), fs = require('fs'), sys = require('sys'), utils = require('./build/utils'), libs = [], tests = [], - app = express.createServer( - connect.static(__dirname + "/../lib/"), - connect.static(__dirname + "/../") - ), html = fs.readFileSync(__dirname + "/btest/test.html", "utf-8"), - doc, modules, specs; + doc, + modules, + specs, + app = connect( + connect.static(__dirname + "/../lib/"), + connect.static(__dirname + "/../"), + connect.router(function (app) { + app.get('/', function (req, res) { + res.writeHead(200, { + "Cache-Control": "no-cache", + "Content-Type": "text/html" + }); + res.end(doc); + }); + }) + ); utils.collect(__dirname + "/../lib", libs); utils.collect(__dirname + "/../test", tests); @@ -45,11 +55,6 @@ module.exports = function () { doc = html.replace(//g, specs).replace(/"##FILES##"/g, modules); - app.get('/', function (req, res) { - res.header("Cache-Control", "no-cache"); - res.send(doc); - }); - app.listen(3000); sys.puts("Test Server running on:"); diff --git a/build/btest/test.html b/build/btest/test.html index 851862ee..05ff6a21 100644 --- a/build/btest/test.html +++ b/build/btest/test.html @@ -25,9 +25,9 @@ - - - + + + - - - @@ -83,7 +80,6 @@ - @@ -91,13 +87,6 @@ require.define('thirdparty/Math.uuid', function (require, module, exports) {}); - - -
- -Join the Ripple Community