mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-08-09 21:48:35 +00:00
update
This commit is contained in:
87
node_modules/requirejs-config-file/files/fixtures/config-with-define.js
generated
vendored
Normal file
87
node_modules/requirejs-config-file/files/fixtures/config-with-define.js
generated
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
/* global requirejs */
|
||||
requirejs.config({
|
||||
|
||||
baseUrl: '/js-built/lib',
|
||||
urlArgs: "bust=" + (new Date()).getTime(),
|
||||
|
||||
packages: [
|
||||
{
|
||||
name: "knockout",
|
||||
location: "../node_modules/shimney-knockout"
|
||||
},
|
||||
{
|
||||
name: "jquery",
|
||||
location: "../node_modules/shimney-jquery"
|
||||
},
|
||||
{
|
||||
name: "sammy",
|
||||
location: "../node_modules/shimney-sammy"
|
||||
},
|
||||
{
|
||||
name: "twitter-bootstrap",
|
||||
location: "../node_modules/shimney-twitter-bootstrap"
|
||||
},
|
||||
{
|
||||
name: "lodash",
|
||||
location: "../node_modules/shimney-lodash"
|
||||
},
|
||||
{
|
||||
name: "hogan",
|
||||
location: "../node_modules/shimney-hogan"
|
||||
},
|
||||
{
|
||||
name: "cookie-monster",
|
||||
location: "../node_modules/shimney-cookie-monster"
|
||||
},
|
||||
{
|
||||
name: "JSON", // is a direct dependency (in package.json)
|
||||
location: "../node_modules/shimney-json"
|
||||
}
|
||||
],
|
||||
|
||||
/* set paths and vendor versions for applications
|
||||
*
|
||||
* paths are relative to lib
|
||||
* define all vendor dependencies here
|
||||
*/
|
||||
paths: {
|
||||
'img-files': '../img',
|
||||
'test-setup': '../tests/setup',
|
||||
'test-files': "../tests/files",
|
||||
'templates': "../templates",
|
||||
|
||||
'jquery-ui': "../vendor/jquery-ui/jquery-ui-1.8.24.custom.patched",
|
||||
'jquery-ui-i18n': "../vendor/jquery-ui/jquery-ui-i18n.custom",
|
||||
"qunit": "../vendor/qunit/qunit-1.10.0",
|
||||
'joose': "../vendor/joose/all",
|
||||
'ace': "../vendor/ace/lib/ace",
|
||||
'psc-tests-assert': '../vendor/qunit-assert/lib/assert',
|
||||
'qunit-assert': '../vendor/qunit-assert/lib/assert',
|
||||
'TestRunner': "../vendor/qunit-assert/lib/TestRunner",
|
||||
'jquery-form': "../vendor/jquery-form/jquery.form-3.20",
|
||||
'jquery-fileupload': "../vendor/jquery-fileupload/jquery.fileupload",
|
||||
'jquery-iframe-transport': "../vendor/jquery-fileupload/jquery.iframe-transport",
|
||||
'jquery-tmpl': "../vendor/jquery-tmpl/jquery.tmpl",
|
||||
'jqwidgets': "../vendor/jqwidgets/jqx-all.min",
|
||||
'jquery-simulate': "../vendor/jquery-simulate/jquery.simulate.patched",
|
||||
'jquery-rangyinputs': "../vendor/jquery-rangyinputs/rangyinputs_jquery.min",
|
||||
'jquerypp': "../vendor/jquerypp/1.0.0/amd/jquerypp",
|
||||
'ui-connect-morphable': "../vendor/webforge/jquery.ui.connect-morphable",
|
||||
'ui-paging': "../vendor/webforge/ui.paging",
|
||||
'placeholder': "../vendor/mths.be/placeholder-2.0.6",
|
||||
'stacktrace': "../vendor/eriwen/stacktrace-min-0.4",
|
||||
'twitter-typeahead': "../vendor/twitter/typeahead/typeahead.min",
|
||||
'knockout-mapping': "../vendor/knockout/knockout.mapping",
|
||||
'knockout-bindings': "lib/Psc/ko/bindings",
|
||||
'jquery-selectrange': "../vendor/stackoverflow/jquery-selectrange",
|
||||
'jquery-global': "../vendor/jqwidgets/globalization/jquery.global",
|
||||
'jquery-global-de-DE': "../vendor/jqwidgets/globalization/jquery.glob.de-DE",
|
||||
'html5shiv': "../vendor/afarkas/html5shiv",
|
||||
'i18next': '../vendor/i18next/i18next.amd.withJQuery-1.6.3.min',
|
||||
'gdl/master/common/ispy': 'empty-module'
|
||||
}
|
||||
});
|
||||
|
||||
define(['jquery'], function ($) {
|
||||
$.myPlugin();
|
||||
});
|
0
node_modules/requirejs-config-file/files/fixtures/empty-call-config.js
generated
vendored
Normal file
0
node_modules/requirejs-config-file/files/fixtures/empty-call-config.js
generated
vendored
Normal file
0
node_modules/requirejs-config-file/files/fixtures/empty-config.js
generated
vendored
Normal file
0
node_modules/requirejs-config-file/files/fixtures/empty-config.js
generated
vendored
Normal file
4
node_modules/requirejs-config-file/files/fixtures/modified-empty-config.js
generated
vendored
Normal file
4
node_modules/requirejs-config-file/files/fixtures/modified-empty-config.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/* globals requirejs */
|
||||
requirejs.config({
|
||||
baseUrl: './js-build/lib'
|
||||
});
|
74
node_modules/requirejs-config-file/files/fixtures/modified-normal-config.js
generated
vendored
Normal file
74
node_modules/requirejs-config-file/files/fixtures/modified-normal-config.js
generated
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
/* global requirejs */
|
||||
requirejs.config({
|
||||
baseUrl: '/js-built/lib',
|
||||
packages: [
|
||||
{
|
||||
name: 'knockout',
|
||||
location: '../node_modules/shimney-knockout'
|
||||
},
|
||||
{
|
||||
name: 'jquery',
|
||||
location: '../node_modules/shimney-jquery'
|
||||
},
|
||||
{
|
||||
name: 'sammy',
|
||||
location: '../node_modules/shimney-sammy'
|
||||
},
|
||||
{
|
||||
name: 'twitter-bootstrap',
|
||||
location: '../node_modules/shimney-twitter-bootstrap'
|
||||
},
|
||||
{
|
||||
name: 'lodash',
|
||||
location: '../node_modules/shimney-lodash'
|
||||
},
|
||||
{
|
||||
name: 'hogan',
|
||||
location: '../node_modules/shimney-hogan'
|
||||
},
|
||||
{
|
||||
name: 'cookie-monster',
|
||||
location: '../node_modules/shimney-cookie-monster'
|
||||
},
|
||||
{
|
||||
name: 'JSON',
|
||||
location: '../node_modules/shimney-json'
|
||||
}
|
||||
],
|
||||
paths: {
|
||||
'img-files': '../img',
|
||||
'test-setup': '../tests/setup',
|
||||
'test-files': '../tests/files',
|
||||
templates: '../templates',
|
||||
'jquery-ui': '../vendor/jquery-ui/jquery-ui-1.8.24.custom.patched',
|
||||
'jquery-ui-i18n': '../vendor/jquery-ui/jquery-ui-i18n.custom',
|
||||
qunit: '../vendor/qunit/qunit-1.10.0',
|
||||
joose: '../vendor/joose/all',
|
||||
ace: '../vendor/ace/lib/ace',
|
||||
'psc-tests-assert': '../vendor/qunit-assert/lib/assert',
|
||||
'qunit-assert': '../vendor/qunit-assert/lib/assert',
|
||||
TestRunner: '../vendor/qunit-assert/lib/TestRunner',
|
||||
'jquery-form': '../vendor/jquery-form/jquery.form-3.20',
|
||||
'jquery-fileupload': '../vendor/jquery-fileupload/jquery.fileupload',
|
||||
'jquery-iframe-transport': '../vendor/jquery-fileupload/jquery.iframe-transport',
|
||||
'jquery-tmpl': '../vendor/jquery-tmpl/jquery.tmpl',
|
||||
jqwidgets: '../vendor/jqwidgets/jqx-all.min',
|
||||
'jquery-simulate': '../vendor/jquery-simulate/jquery.simulate.patched',
|
||||
'jquery-rangyinputs': '../vendor/jquery-rangyinputs/rangyinputs_jquery.min',
|
||||
jquerypp: '../vendor/jquerypp/1.0.0/amd/jquerypp',
|
||||
'ui-connect-morphable': '../vendor/webforge/jquery.ui.connect-morphable',
|
||||
'ui-paging': '../vendor/webforge/ui.paging',
|
||||
placeholder: '../vendor/mths.be/placeholder-2.0.6',
|
||||
stacktrace: '../vendor/eriwen/stacktrace-min-0.4',
|
||||
'twitter-typeahead': '../vendor/twitter/typeahead/typeahead.min',
|
||||
'knockout-mapping': '../vendor/knockout/knockout.mapping',
|
||||
'knockout-bindings': 'lib/Psc/ko/bindings',
|
||||
'jquery-selectrange': '../vendor/stackoverflow/jquery-selectrange',
|
||||
'jquery-global': '../vendor/jqwidgets/globalization/jquery.global',
|
||||
'jquery-global-de-DE': '../vendor/jqwidgets/globalization/jquery.glob.de-DE',
|
||||
html5shiv: '../vendor/afarkas/html5shiv',
|
||||
i18next: '../vendor/i18next/i18next.amd.withJQuery-1.6.3.min',
|
||||
'gdl/master/common/ispy': 'empty-module',
|
||||
monster: '/path/to/monster'
|
||||
}
|
||||
});
|
47
node_modules/requirejs-config-file/files/fixtures/modified-var-config.js
generated
vendored
Normal file
47
node_modules/requirejs-config-file/files/fixtures/modified-var-config.js
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
/* global requirejs */
|
||||
var require = {
|
||||
packages: [
|
||||
{
|
||||
name: 'knockout',
|
||||
location: '../node_modules/shimney-knockout'
|
||||
},
|
||||
{
|
||||
name: 'jquery',
|
||||
location: '../node_modules/shimney-jquery'
|
||||
},
|
||||
{
|
||||
name: 'sammy',
|
||||
location: '../node_modules/shimney-sammy'
|
||||
},
|
||||
{
|
||||
name: 'twitter-bootstrap',
|
||||
location: '../node_modules/shimney-twitter-bootstrap'
|
||||
},
|
||||
{
|
||||
name: 'lodash',
|
||||
location: '../node_modules/shimney-lodash'
|
||||
},
|
||||
{
|
||||
name: 'hogan',
|
||||
location: '../node_modules/shimney-hogan'
|
||||
},
|
||||
{
|
||||
name: 'cookie-monster',
|
||||
location: '../node_modules/shimney-cookie-monster'
|
||||
},
|
||||
{
|
||||
name: 'JSON',
|
||||
location: '../node_modules/shimney-json'
|
||||
}
|
||||
],
|
||||
paths: {
|
||||
'img-files': '../img',
|
||||
tpl: '../templates',
|
||||
'some-plugin': '../vendor/some-plugin.1.0',
|
||||
lodash: '/path/to/lodash.min'
|
||||
}
|
||||
};
|
||||
|
||||
if (typeof(requirejs) === "function") {
|
||||
requirejs.config(require);
|
||||
}
|
82
node_modules/requirejs-config-file/files/fixtures/normal-config.js
generated
vendored
Normal file
82
node_modules/requirejs-config-file/files/fixtures/normal-config.js
generated
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
/* global requirejs */
|
||||
requirejs.config({
|
||||
|
||||
baseUrl: '/js-built/lib',
|
||||
|
||||
packages: [
|
||||
{
|
||||
name: "knockout",
|
||||
location: "../node_modules/shimney-knockout"
|
||||
},
|
||||
{
|
||||
name: "jquery",
|
||||
location: "../node_modules/shimney-jquery"
|
||||
},
|
||||
{
|
||||
name: "sammy",
|
||||
location: "../node_modules/shimney-sammy"
|
||||
},
|
||||
{
|
||||
name: "twitter-bootstrap",
|
||||
location: "../node_modules/shimney-twitter-bootstrap"
|
||||
},
|
||||
{
|
||||
name: "lodash",
|
||||
location: "../node_modules/shimney-lodash"
|
||||
},
|
||||
{
|
||||
name: "hogan",
|
||||
location: "../node_modules/shimney-hogan"
|
||||
},
|
||||
{
|
||||
name: "cookie-monster",
|
||||
location: "../node_modules/shimney-cookie-monster"
|
||||
},
|
||||
{
|
||||
name: "JSON", // is a direct dependency (in package.json)
|
||||
location: "../node_modules/shimney-json"
|
||||
}
|
||||
],
|
||||
|
||||
/* set paths and vendor versions for applications
|
||||
*
|
||||
* paths are relative to lib
|
||||
* define all vendor dependencies here
|
||||
*/
|
||||
paths: {
|
||||
'img-files': '../img',
|
||||
'test-setup': '../tests/setup',
|
||||
'test-files': "../tests/files",
|
||||
'templates': "../templates",
|
||||
|
||||
'jquery-ui': "../vendor/jquery-ui/jquery-ui-1.8.24.custom.patched",
|
||||
'jquery-ui-i18n': "../vendor/jquery-ui/jquery-ui-i18n.custom",
|
||||
"qunit": "../vendor/qunit/qunit-1.10.0",
|
||||
'joose': "../vendor/joose/all",
|
||||
'ace': "../vendor/ace/lib/ace",
|
||||
'psc-tests-assert': '../vendor/qunit-assert/lib/assert',
|
||||
'qunit-assert': '../vendor/qunit-assert/lib/assert',
|
||||
'TestRunner': "../vendor/qunit-assert/lib/TestRunner",
|
||||
'jquery-form': "../vendor/jquery-form/jquery.form-3.20",
|
||||
'jquery-fileupload': "../vendor/jquery-fileupload/jquery.fileupload",
|
||||
'jquery-iframe-transport': "../vendor/jquery-fileupload/jquery.iframe-transport",
|
||||
'jquery-tmpl': "../vendor/jquery-tmpl/jquery.tmpl",
|
||||
'jqwidgets': "../vendor/jqwidgets/jqx-all.min",
|
||||
'jquery-simulate': "../vendor/jquery-simulate/jquery.simulate.patched",
|
||||
'jquery-rangyinputs': "../vendor/jquery-rangyinputs/rangyinputs_jquery.min",
|
||||
'jquerypp': "../vendor/jquerypp/1.0.0/amd/jquerypp",
|
||||
'ui-connect-morphable': "../vendor/webforge/jquery.ui.connect-morphable",
|
||||
'ui-paging': "../vendor/webforge/ui.paging",
|
||||
'placeholder': "../vendor/mths.be/placeholder-2.0.6",
|
||||
'stacktrace': "../vendor/eriwen/stacktrace-min-0.4",
|
||||
'twitter-typeahead': "../vendor/twitter/typeahead/typeahead.min",
|
||||
'knockout-mapping': "../vendor/knockout/knockout.mapping",
|
||||
'knockout-bindings': "lib/Psc/ko/bindings",
|
||||
'jquery-selectrange': "../vendor/stackoverflow/jquery-selectrange",
|
||||
'jquery-global': "../vendor/jqwidgets/globalization/jquery.global",
|
||||
'jquery-global-de-DE': "../vendor/jqwidgets/globalization/jquery.glob.de-DE",
|
||||
'html5shiv': "../vendor/afarkas/html5shiv",
|
||||
'i18next': '../vendor/i18next/i18next.amd.withJQuery-1.6.3.min',
|
||||
'gdl/master/common/ispy': 'empty-module'
|
||||
}
|
||||
});
|
1
node_modules/requirejs-config-file/files/fixtures/parse-error-config.js
generated
vendored
Normal file
1
node_modules/requirejs-config-file/files/fixtures/parse-error-config.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
requirejs.config(%s);
|
54
node_modules/requirejs-config-file/files/fixtures/var-config.js
generated
vendored
Normal file
54
node_modules/requirejs-config-file/files/fixtures/var-config.js
generated
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
/* global requirejs */
|
||||
var require = {
|
||||
|
||||
packages: [
|
||||
{
|
||||
name: "knockout",
|
||||
location: "../node_modules/shimney-knockout"
|
||||
},
|
||||
{
|
||||
name: "jquery",
|
||||
location: "../node_modules/shimney-jquery"
|
||||
},
|
||||
{
|
||||
name: "sammy",
|
||||
location: "../node_modules/shimney-sammy"
|
||||
},
|
||||
{
|
||||
name: "twitter-bootstrap",
|
||||
location: "../node_modules/shimney-twitter-bootstrap"
|
||||
},
|
||||
{
|
||||
name: "lodash",
|
||||
location: "../node_modules/shimney-lodash"
|
||||
},
|
||||
{
|
||||
name: "hogan",
|
||||
location: "../node_modules/shimney-hogan"
|
||||
},
|
||||
{
|
||||
name: "cookie-monster",
|
||||
location: "../node_modules/shimney-cookie-monster"
|
||||
},
|
||||
{
|
||||
name: "JSON", // is a direct dependency (in package.json)
|
||||
location: "../node_modules/shimney-json"
|
||||
}
|
||||
],
|
||||
|
||||
/* set paths and vendor versions for applications
|
||||
*
|
||||
* paths are relative to src
|
||||
* define all vendor dependencies here
|
||||
*/
|
||||
paths: {
|
||||
'img-files': '../img',
|
||||
'tpl': '../templates',
|
||||
|
||||
'some-plugin': "../vendor/some-plugin.1.0"
|
||||
}
|
||||
};
|
||||
|
||||
if (typeof(requirejs) === "function") {
|
||||
requirejs.config(require);
|
||||
}
|
Reference in New Issue
Block a user