Skip to content

Commit

Permalink
Removing GPL license option since new/modified BSD is already GPL-com…
Browse files Browse the repository at this point in the history
…patible.
  • Loading branch information
jrburke committed Oct 13, 2010
1 parent d81b12b commit 1d50f68
Show file tree
Hide file tree
Showing 27 changed files with 51 additions and 143 deletions.
105 changes: 5 additions & 100 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -8,7 +8,7 @@ RequireJS includes [an optimization tool](requirejs/tree/master/docs/optimizatio

If the JavaScript file defines a JavaScript module via [require.def()](requirejs/tree/master/docs/api.md#define), then there are other benefits RequireJS can offer: [better CommonJS support](requirejs/tree/master/docs/commonjs.md) and [loading multiple versions](requirejs/tree/master/docs/api.md#multiversion) of a module in a page. RequireJS also allows for [module modifiers](requirejs/tree/master/docs/api.md#modifiers) and has a plugin system that supports features like [i18n string bundles](requirejs/tree/master/docs/api.md#i18n), [text file dependencies](requirejs/tree/master/docs/api.md#text), and [JSONP service dependencies](requirejs/tree/master/docs/api.md#jsonp).

RequireJS does not have any dependencies on a JavaScript framework. It is tri-licensed -- BSD, MIT, and GPL.
RequireJS does not have any dependencies on a JavaScript framework. It is dual-licensed -- new BSD or MIT.

The standard require.js file is around 4.9KB when minified via Closure Compiler and gzipped. require.js can be built without some features, with the smallest option (just dependency tracking and simple module loading) weighing in at 3.9KB minified, gzipped.

Expand Down
4 changes: 2 additions & 2 deletions build/build.js
@@ -1,6 +1,6 @@
/**
* @license Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
2 changes: 1 addition & 1 deletion build/convert/node/dist.js
@@ -1,6 +1,6 @@
/**
* @license Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
2 changes: 1 addition & 1 deletion build/convert/node/r-source.js
@@ -1,6 +1,6 @@
/**
* @license r.js Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
2 changes: 1 addition & 1 deletion build/convert/node/requireAdapter.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS requireAdapter Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*jslint nomen: false */
Expand Down
4 changes: 2 additions & 2 deletions build/jslib/build.js
@@ -1,6 +1,6 @@
/**
* @license Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
2 changes: 1 addition & 1 deletion build/jslib/commandLine.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
2 changes: 1 addition & 1 deletion build/jslib/commonJs.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
4 changes: 2 additions & 2 deletions build/jslib/fileUtil.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
//Helper functions to deal with file I/O.
Expand Down
4 changes: 2 additions & 2 deletions build/jslib/lang.js
@@ -1,6 +1,6 @@
/**
* @license Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
4 changes: 2 additions & 2 deletions build/jslib/logger.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
var logger = {
Expand Down
4 changes: 2 additions & 2 deletions build/jslib/optimize.js
@@ -1,6 +1,6 @@
/**
* @license Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
4 changes: 2 additions & 2 deletions build/jslib/parse.js
@@ -1,6 +1,6 @@
/**
* @license Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
4 changes: 2 additions & 2 deletions build/jslib/pragma.js
@@ -1,6 +1,6 @@
/**
* @license Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
4 changes: 2 additions & 2 deletions build/jslib/requirePatch.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*
Expand Down
4 changes: 2 additions & 2 deletions build/tests/priority/webapp/scripts/require-jquery.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
//laxbreak is true to allow build pragmas to change some statements.
Expand Down
4 changes: 2 additions & 2 deletions dist/dist-build.sh
@@ -1,7 +1,7 @@
#!/bin/bash

#@license RequireJS Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
#Available via the MIT, GPL or new BSD license.
#@license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
#Available via the MIT or new BSD license.
#see: http://github.com/jrburke/requirejs for details

#version should be something like 0.9.0beta or 0.9.0
Expand Down
4 changes: 2 additions & 2 deletions dist/dist-site.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/

Expand Down
4 changes: 2 additions & 2 deletions require.js
@@ -1,6 +1,6 @@
/** vim: et:ts=4:sw=4:sts=4
* @license RequireJS Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
//laxbreak is true to allow build pragmas to change some statements.
Expand Down
4 changes: 2 additions & 2 deletions require/i18n.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS i18n Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS i18n Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*jslint regexp: false, nomen: false, plusplus: false */
Expand Down
4 changes: 2 additions & 2 deletions require/jsonp.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS jsonp Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS jsonp Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*jslint nomen: false, plusplus: false */
Expand Down
4 changes: 2 additions & 2 deletions require/order.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS order Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS order Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*jslint nomen: false, plusplus: false */
Expand Down
2 changes: 1 addition & 1 deletion require/rhino.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS rhino Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*global require: false, readFile: false */
Expand Down
4 changes: 2 additions & 2 deletions require/text.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS text Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS text Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*jslint regexp: false, nomen: false, plusplus: false */
Expand Down
4 changes: 2 additions & 2 deletions require/transportD.js
@@ -1,6 +1,6 @@
/**
* @license RequireJS transportD Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT, GPL or new BSD license.
* @license RequireJS transportD Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*jslint */
Expand Down
3 changes: 3 additions & 0 deletions tasks.txt
Expand Up @@ -19,6 +19,9 @@
- in commonJs.js convert, if take out dependency scanning, things break in the Node adapter.
Need to figure out why. Function.toString() seems to work.

- Allow paths mapping inside modules? for things like jsdom/browser/index.js retrieved via
require("./jsdom/browser");

- Build: do not require the user to be in the same directory as build file?
- Build: if optimize the build profile file, Closure compiler complains. If put parens
around the object, then it is OK. Decide if want to go that route or pure JSON route,
Expand Down

0 comments on commit 1d50f68

Please sign in to comment.