--------------------------------------------------------------------------------
/samples/chat/assets/README:
--------------------------------------------------------------------------------
1 | This directory holds assets for use by the application.
--------------------------------------------------------------------------------
/samples/memo/assets/README:
--------------------------------------------------------------------------------
1 | This directory holds assets for use by the application.
--------------------------------------------------------------------------------
/client/assets/README:
--------------------------------------------------------------------------------
1 | This directory contains assets which are part of the framework core.
--------------------------------------------------------------------------------
/samples/chat/files/README:
--------------------------------------------------------------------------------
1 | This contains files uploaded to the application by end-users.
--------------------------------------------------------------------------------
/samples/memo/files/README:
--------------------------------------------------------------------------------
1 | This contains files uploaded to the application by end-users.
--------------------------------------------------------------------------------
/samples/security/assets/README:
--------------------------------------------------------------------------------
1 | This directory holds assets for use by the application.
--------------------------------------------------------------------------------
/samples/uploader/assets/README:
--------------------------------------------------------------------------------
1 | This directory holds assets for use by the application.
--------------------------------------------------------------------------------
/samples/angular_projects/assets/README:
--------------------------------------------------------------------------------
1 | This directory holds assets for use by the application.
--------------------------------------------------------------------------------
/samples/angular_todo/assets/README:
--------------------------------------------------------------------------------
1 | This directory holds assets for use by the application.
--------------------------------------------------------------------------------
/samples/dynamic_linking/assets/README:
--------------------------------------------------------------------------------
1 | This directory holds assets for use by the application.
--------------------------------------------------------------------------------
/samples/security/files/README:
--------------------------------------------------------------------------------
1 | This contains files uploaded to the application by end-users.
--------------------------------------------------------------------------------
/samples/static_linking/assets/README:
--------------------------------------------------------------------------------
1 | This directory holds assets for use by the application.
--------------------------------------------------------------------------------
/samples/uploader/files/README:
--------------------------------------------------------------------------------
1 | This contains files uploaded to the application by end-users.
--------------------------------------------------------------------------------
/app/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/app/assets/favicon.gif
--------------------------------------------------------------------------------
/client/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/assets/logo.png
--------------------------------------------------------------------------------
/samples/angular_projects/files/README:
--------------------------------------------------------------------------------
1 | This contains files uploaded to the application by end-users.
--------------------------------------------------------------------------------
/samples/angular_todo/files/README:
--------------------------------------------------------------------------------
1 | This contains files uploaded to the application by end-users.
--------------------------------------------------------------------------------
/samples/chat/templates/README:
--------------------------------------------------------------------------------
1 | This directory contains template files for use by the application.
--------------------------------------------------------------------------------
/samples/dynamic_linking/files/README:
--------------------------------------------------------------------------------
1 | This contains files uploaded to the application by end-users.
--------------------------------------------------------------------------------
/samples/memo/templates/README:
--------------------------------------------------------------------------------
1 | This directory contains template files for use by the application.
--------------------------------------------------------------------------------
/samples/static_linking/files/README:
--------------------------------------------------------------------------------
1 | This contains files uploaded to the application by end-users.
--------------------------------------------------------------------------------
/app/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/client/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/assets/favicon.gif
--------------------------------------------------------------------------------
/client/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains scripts which the framework uses for various purposes.
--------------------------------------------------------------------------------
/samples/angular_todo/templates/README:
--------------------------------------------------------------------------------
1 | This directory contains template files for use by the application.
--------------------------------------------------------------------------------
/samples/uploader/templates/README:
--------------------------------------------------------------------------------
1 | This directory contains template files for use by the application.
--------------------------------------------------------------------------------
/samples/angular_projects/templates/README:
--------------------------------------------------------------------------------
1 | This directory contains template files for use by the application.
--------------------------------------------------------------------------------
/samples/dynamic_linking/templates/README:
--------------------------------------------------------------------------------
1 | This directory contains template files for use by the application.
--------------------------------------------------------------------------------
/samples/static_linking/templates/README:
--------------------------------------------------------------------------------
1 | This directory contains template files for use by the application.
--------------------------------------------------------------------------------
/samples/chat/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/samples/chat/assets/favicon.gif
--------------------------------------------------------------------------------
/samples/chat/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/samples/memo/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/samples/memo/assets/favicon.gif
--------------------------------------------------------------------------------
/samples/memo/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/app/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/security/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/samples/uploader/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/samples/angular_projects/templates/index.html:
--------------------------------------------------------------------------------
1 |
2 |
Projects
3 |
4 |
--------------------------------------------------------------------------------
/samples/angular_todo/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/samples/chat/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains all .js script files that make-up the client-side of the application.
--------------------------------------------------------------------------------
/samples/dynamic_linking/scripts/d.js:
--------------------------------------------------------------------------------
1 | exports.someMethod = function() {
2 | return 'This is someMethod() of script d';
3 | }
--------------------------------------------------------------------------------
/samples/dynamic_linking/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/samples/memo/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains all .js script files that make-up the client-side of the application.
--------------------------------------------------------------------------------
/samples/security/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/samples/security/assets/favicon.gif
--------------------------------------------------------------------------------
/samples/static_linking/scripts/d.js:
--------------------------------------------------------------------------------
1 | exports.someMethod = function() {
2 | return 'This is someMethod() of script d';
3 | };
--------------------------------------------------------------------------------
/samples/static_linking/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/samples/uploader/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/samples/uploader/assets/favicon.gif
--------------------------------------------------------------------------------
/client/styles/fileuploader/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/fileuploader/loading.gif
--------------------------------------------------------------------------------
/samples/angular_projects/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains all stylesheets and related assets for use by the application.
--------------------------------------------------------------------------------
/samples/angular_todo/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains all .js script files that make-up the client-side of the application.
--------------------------------------------------------------------------------
/samples/chat/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/memo/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/uploader/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains all .js script files that make-up the client-side of the application.
--------------------------------------------------------------------------------
/app/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces.
--------------------------------------------------------------------------------
/samples/angular_projects/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains all .js script files that make-up the client-side of the application.
--------------------------------------------------------------------------------
/samples/angular_todo/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/samples/angular_todo/assets/favicon.gif
--------------------------------------------------------------------------------
/samples/dynamic_linking/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains all .js script files that make-up the client-side of the application.
--------------------------------------------------------------------------------
/samples/security/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/static_linking/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/samples/static_linking/assets/favicon.gif
--------------------------------------------------------------------------------
/samples/static_linking/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains all .js script files that make-up the client-side of the application.
--------------------------------------------------------------------------------
/samples/uploader/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/angular_projects/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/samples/angular_projects/assets/favicon.gif
--------------------------------------------------------------------------------
/samples/angular_todo/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/dynamic_linking/assets/favicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/samples/dynamic_linking/assets/favicon.gif
--------------------------------------------------------------------------------
/samples/dynamic_linking/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/memo/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces.
--------------------------------------------------------------------------------
/samples/static_linking/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/angular_projects/sims/README:
--------------------------------------------------------------------------------
1 | This directory contains server interfaces (node modules) for use by the application on the client-side.
--------------------------------------------------------------------------------
/samples/security/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces.
--------------------------------------------------------------------------------
/samples/uploader/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces.
--------------------------------------------------------------------------------
/samples/angular_todo/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces.
--------------------------------------------------------------------------------
/samples/static_linking/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces.
--------------------------------------------------------------------------------
/samples/angular_projects/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces.
--------------------------------------------------------------------------------
/samples/dynamic_linking/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces.
--------------------------------------------------------------------------------
/client/styles/bootstrap/assets/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/bootstrap/assets/glyphicons-halflings.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/animated-overlay.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/animated-overlay.gif
--------------------------------------------------------------------------------
/app/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/client/styles/bootstrap/assets/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/bootstrap/assets/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-icons_2e83ff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-icons_2e83ff_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-icons_454545_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-icons_454545_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-icons_888888_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-icons_888888_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-icons_cd0a0a_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-icons_cd0a0a_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/animated-overlay.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/animated-overlay.gif
--------------------------------------------------------------------------------
/samples/chat/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/samples/memo/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-bg_flat_0_aaaaaa_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-bg_flat_0_aaaaaa_40x100.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-bg_flat_75_ffffff_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-bg_flat_75_ffffff_40x100.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-bg_glass_55_fbf9ee_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-bg_glass_55_fbf9ee_1x400.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-bg_glass_65_ffffff_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-bg_glass_65_ffffff_1x400.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-bg_glass_75_dadada_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-bg_glass_75_dadada_1x400.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-bg_glass_75_e6e6e6_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-bg_glass_75_e6e6e6_1x400.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-bg_glass_95_fef1ec_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-bg_glass_95_fef1ec_1x400.png
--------------------------------------------------------------------------------
/samples/security/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/samples/static_linking/scripts/c.js:
--------------------------------------------------------------------------------
1 | exports.ClassC = function() {
2 | this.getMessage = function() {
3 | return 'This is getMessage() method of ClassC from script c';
4 | }
5 | };
--------------------------------------------------------------------------------
/samples/uploader/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/samples/angular_todo/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/samples/dynamic_linking/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/samples/static_linking/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-icons_228ef1_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-icons_228ef1_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-icons_ef8c08_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-icons_ef8c08_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-icons_ffd27a_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-icons_ffd27a_256x240.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-icons_ffffff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-icons_ffffff_256x240.png
--------------------------------------------------------------------------------
/samples/angular_projects/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains the .js script (lib) files that make-up the client-side of the application. The content of libs are loaded into the global scope.
--------------------------------------------------------------------------------
/samples/chat/node_modules/README:
--------------------------------------------------------------------------------
1 | This directory holds custom app-specific node modules. These modules can be used inside server interfaces - Use require('../node_modules/module_name.node.js')
--------------------------------------------------------------------------------
/client/styles/README:
--------------------------------------------------------------------------------
1 | This directory contains convenience libs which can be bundled into apps.
2 | Libs are loaded into the global scope so care must be taken to ensure that namespaces do not clash.
--------------------------------------------------------------------------------
/client/styles/jqueryui/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
--------------------------------------------------------------------------------
/samples/chat/worker.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo worker instance.
3 | Middleware functions should be added here.
4 | */
5 |
6 | module.exports.run = function (nombo) {
7 |
8 | }
--------------------------------------------------------------------------------
/app/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
--------------------------------------------------------------------------------
/samples/uploader/worker.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo worker instance.
3 | Middleware functions should be added here.
4 | */
5 |
6 | module.exports.run = function (nombo) {
7 |
8 | }
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
--------------------------------------------------------------------------------
/samples/angular_todo/worker.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo worker instance.
3 | Middleware functions should be added here.
4 | */
5 |
6 | module.exports.run = function (nombo) {
7 |
8 | }
--------------------------------------------------------------------------------
/samples/static_linking/worker.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo worker instance.
3 | Middleware functions should be added here.
4 | */
5 |
6 | module.exports.run = function (nombo) {
7 |
8 | }
--------------------------------------------------------------------------------
/client/libs/README:
--------------------------------------------------------------------------------
1 | This directory contains convenience libs which can be bundled into apps.
2 | Libs are loaded into the global scope so care must be taken to ensure that no two framework library uses the same namespace.
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
--------------------------------------------------------------------------------
/client/styles/jqueryui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jondubois/nombo/HEAD/client/styles/jqueryui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
--------------------------------------------------------------------------------
/samples/angular_projects/worker.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo worker instance.
3 | Middleware functions should be added here.
4 | */
5 |
6 | module.exports.run = function (nombo) {
7 |
8 | }
--------------------------------------------------------------------------------
/samples/chat/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/samples/dynamic_linking/worker.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo worker instance.
3 | Middleware functions should be added here.
4 | */
5 |
6 | module.exports.run = function (nombo) {
7 |
8 | }
--------------------------------------------------------------------------------
/samples/memo/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/client/styles/nombo.css:
--------------------------------------------------------------------------------
1 | html {
2 | width: 100%;
3 | height: 100%;
4 | }
5 |
6 | body {
7 | margin: 0px;
8 | padding: 0px;
9 | width: 100%;
10 | height: 100%;
11 | font-family: Arial, Helvetica, sans-serif;
12 | }
--------------------------------------------------------------------------------
/samples/security/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/samples/uploader/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/client/plugins/README:
--------------------------------------------------------------------------------
1 | This directory contains client side scripts which extend the client side functionality of Nombo.
2 | Unlike libs which are standalone, plugins depend and make explicit reference to the Nombo client side code.
--------------------------------------------------------------------------------
/samples/angular_projects/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/samples/angular_todo/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/samples/dynamic_linking/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/samples/static_linking/balancer.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo LoadBalancer instance.
3 | Middleware functions can be added here.
4 | */
5 |
6 | module.exports.run = function (loadBalancer) {
7 |
8 | };
--------------------------------------------------------------------------------
/samples/dynamic_linking/scripts/c.js:
--------------------------------------------------------------------------------
1 | // $n.ready is not really needed here since this file has no dependencies.
2 |
3 | exports.ClassC = function() {
4 | this.getMessage = function() {
5 | return 'This is getMessage() method of ClassC from script c';
6 | }
7 | };
--------------------------------------------------------------------------------
/samples/static_linking/scripts/a.js:
--------------------------------------------------------------------------------
1 | var b = require('./b');
2 |
3 | exports.foo = function() {
4 | var c = new b.ClassC();
5 | var dataFromDScript = b.run();
6 |
7 | return 'This is a.foo(), ' + b.foo() + ', ' + c.getMessage() + ', ' + dataFromDScript;
8 | };
--------------------------------------------------------------------------------
/app/master.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed once by the master process.
3 | This is where configuration tasks and resource bundling should happen.
4 | It is also an ideal place to spawn daemon processes.
5 | */
6 |
7 | module.exports.run = function (nombo) {
8 |
9 | };
--------------------------------------------------------------------------------
/app/scripts/index.js:
--------------------------------------------------------------------------------
1 | $n.ready(function() {
2 | var text = "Thank you for downloading Nombo. For more info on how to get started, please visit http://nombo.io/.";
3 | $(document.body).html('
' + text + '
');
4 | });
--------------------------------------------------------------------------------
/samples/static_linking/scripts/b.js:
--------------------------------------------------------------------------------
1 | var c = require('./c');
2 |
3 | exports.foo = function() {
4 | return 'This is b.foo()';
5 | };
6 |
7 | exports.ClassC = c.ClassC;
8 |
9 | exports.run = function() {
10 | var d = require('./d');
11 | return d.someMethod();
12 | };
--------------------------------------------------------------------------------
/samples/security/scripts/index.js:
--------------------------------------------------------------------------------
1 | $n.ready(function() {
2 | var text = "Thank you for downloading Nombo. For more info on how to get started, please visit http://nombo.io/.";
3 | $(document.body).html('
' + text + '
');
4 | });
--------------------------------------------------------------------------------
/samples/security/master.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed once by the master process.
3 | This is where configuration tasks and resource bundling should happen.
4 | It is also an ideal place to spawn daemon processes.
5 | */
6 |
7 | module.exports.run = function (nombo) {
8 |
9 | };
--------------------------------------------------------------------------------
/samples/dynamic_linking/master.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed once by the master process.
3 | This is where configuration tasks and resource bundling should happen.
4 | It is also an ideal place to spawn daemon processes.
5 | */
6 |
7 | module.exports.run = function (nombo) {
8 |
9 | }
--------------------------------------------------------------------------------
/samples/static_linking/master.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed once by the master process.
3 | This is where configuration tasks and resource bundling should happen.
4 | It is also an ideal place to spawn daemon processes.
5 | */
6 |
7 | module.exports.run = function (nombo) {
8 |
9 | }
--------------------------------------------------------------------------------
/samples/chat/templates/chatbox.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{{chatArea}}}
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/server.node.js:
--------------------------------------------------------------------------------
1 | var argv = require('optimist').argv;
2 | var port = argv._[0] ? argv._[0] : 8000;
3 | var release = argv.hasOwnProperty('r');
4 | var Master = require('nombo').Master;
5 |
6 | var options = {
7 | port: port,
8 | release: release
9 | };
10 |
11 | var nombo = new Master(options);
12 | nombo.start();
--------------------------------------------------------------------------------
/samples/memo/templates/add_note_dialog.html:
--------------------------------------------------------------------------------
1 |
\
4 | This app requires cookies. Please enable cookies in your browser and reload this page.\
5 |
\
6 |
';
7 |
8 | document.body.innerHTML = content;
--------------------------------------------------------------------------------
/samples/dynamic_linking/scripts/a.js:
--------------------------------------------------------------------------------
1 | var b = $n.grab.app.script('b');
2 |
3 | $n.ready(function() {
4 | // This script will have a foo(callback) method. Note that you can also use module.exports in the place of exports
5 | exports.foo = function(callback) {
6 | var c = new b.ClassC();
7 | // This function is taken from scrpt b, it dynamically requires the d script and calls a method on it
8 | b.dynamicLoadAndRun(function(dataFromDScript) {
9 | // Here functions are being evoked on all subdependencies
10 | callback('This is a.foo(), ' + b.foo() + ', ' + c.getMessage() + ', ' + dataFromDScript);
11 | });
12 | }
13 | });
--------------------------------------------------------------------------------
/samples/static_linking/scripts/index.js:
--------------------------------------------------------------------------------
1 | /*
2 | To load scripts statically (at launch), you need to call require().
3 | Embedding dependencies in this way allows you to treat client-side scripts as though they were Node.js modules.
4 | Effectively, all the linking and bundling happens at launch so that when a script executes, all its dependencies have already been loaded.
5 | This avoids the need for waiting for scripts to load asyncronously.
6 | This is the simplest and recommended way to link script dependencies.
7 | */
8 |
9 | var a = require('./a');
10 |
11 | $(document.body).html('
2 | This is a basic (and unpractical) memo app. You may want to open this app in another tab to see how Nombo synchronizes sessions across all open tabs.
3 | Close all tabs and leave them closed for approximately 10 seconds to destroy the session and all related data.
4 |
5 | Once you add a note to the table below, you can share it with the chat app ( http://samples.nombo.io:8000 ).
6 | Nombo allows you to do this with a single line of code.
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/samples/memo/worker.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed for each Nombo worker instance.
3 | Middleware functions should be added here.
4 | */
5 |
6 | var ws = require('nombo/webservice');
7 |
8 | module.exports.run = function (nombo) {
9 | nombo.addMiddleware(nombo.MIDDLEWARE_IO, function(req, res, next) {
10 | if(req.sim == 'auth') {
11 | // Do not need to login to use auth server interface module
12 | next();
13 | } else {
14 | // For any other sim, check if current session is authorized
15 | req.session.get('loggedIn', function(err, loggedIn) {
16 | if(loggedIn) {
17 | next();
18 | } else {
19 | res.error('Socket communication not authorized - You are not logged in');
20 | }
21 | });
22 | }
23 | });
24 | }
--------------------------------------------------------------------------------
/app/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/chat/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/memo/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/security/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/uploader/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/dynamic_linking/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/static_linking/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/angular_projects/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/angular_todo/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/client/libs/jquery/effects/transfer.js:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery UI Effects Transfer 1.8.16
3 | *
4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5 | * Dual licensed under the MIT or GPL Version 2 licenses.
6 | * http://jquery.org/license
7 | *
8 | * http://docs.jquery.com/UI/Effects/Transfer
9 | *
10 | * Depends:
11 | * jquery.effects.core.js
12 | */
13 | (function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments);
14 | b.dequeue()})})}})(jQuery);
15 |
--------------------------------------------------------------------------------
/samples/angular_todo/scripts/index.js:
--------------------------------------------------------------------------------
1 | $(document.body).html($n.grab.app.template('index').toString());
2 |
3 | window.TodoCtrl = function ($scope) {
4 | $scope.todos = [{
5 | text: 'learn angular',
6 | done: true
7 | }, {
8 | text: 'build an angular app',
9 | done: false
10 | }
11 | ];
12 |
13 | $scope.addTodo = function () {
14 | $scope.todos.push({
15 | text: $scope.todoText,
16 | done: false
17 | });
18 | $scope.todoText = '';
19 | };
20 |
21 | $scope.remaining = function () {
22 | var count = 0;
23 | angular.forEach($scope.todos, function (todo) {
24 | count += todo.done ? 0 : 1;
25 | });
26 | return count;
27 | };
28 |
29 | $scope.archive = function () {
30 | var oldTodos = $scope.todos;
31 | $scope.todos = [];
32 | angular.forEach(oldTodos, function (todo) {
33 | if (!todo.done) $scope.todos.push(todo);
34 | });
35 | };
36 | }
37 |
38 | angular.bootstrap(document);
--------------------------------------------------------------------------------
/samples/security/keys/key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | MIICXQIBAAKBgQDJPMY5rWQvrDa9u6qkHB/8AcHK+lUBueO3pGFdK62TclFLIBo4
3 | r0OtWcUB9xySYy4zxv5j+3R4JZ9ugVgAuXsjQtHN9fQ8EaIq3H0j6tdJ14SwRJGR
4 | YVlE9Kv+jATlCBitWw1Um7YmpTsrPnVSDLRotPdO4VyIE4iN3YI8JJ05TwIDAQAB
5 | AoGAQafIbKz7kOo4+fIunFhovwm7toOyFFwXxaSl94X2nbKgf0g8Bd540CgHtLpw
6 | 4fnl6xKzkN9Lgp+TwrQEiEf7ulLtKdlpyqm3uIZ3Prc/3wHMMzV7p5m0cf5EaXb4
7 | SWxIAMrxslE1hS+WUlIfQgaA9/U4K3Krf/9tODBEL6e2ZoECQQDzYQVi4QBxAKU0
8 | tX906Wk9cZV4l7sQ1+svUber7Vx5CLZEMrBvUIq5OkOXhOi27fgSNCEgV41yAmS7
9 | 0es0mDkhAkEA06xNaqK8lEVB9acoiZTSSVcfFjhemGOEskmK0Nd5j+5npSfTeohZ
10 | XUuFEE3F0KCBRowYrAguAbK0JAHHfgn0bwJBAKisGPuKTLAEbnq1Pvxbt+AplBnb
11 | rn3h5tEIpW62Nlx7uTZSmwzKmRn+U1HzfwUor8CN+Fdd1l2pYv74YTY2OYECQQDP
12 | 4MVe1ldxHds7T2CmTTt/v0nOXqm36vRky4jCtPqzeaTcM5KjIcjxsLsLWfXNf/O1
13 | vtx0Bsx36nKzcfPjOg+NAkAqggoNzQGILuJONive/LM9qFIQyhnWueB6gtzpjzQw
14 | +ssO164bJItsXaFX/qqKNQoBfTcYhnW3jQWSK/sy5bOl
15 | -----END RSA PRIVATE KEY-----
16 |
--------------------------------------------------------------------------------
/app/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains the modular .js script files that make-up the client-side of the application.
2 | When you setup your app for the first time, the following special script files will be
3 | inside the scripts/ directory:
4 |
5 | index.js - This is your app's main entry file; it is where all your client-side application logic should begin.
6 | You may want to add subdirectories inside the script/ directory to structure your app's code.
7 |
8 | load.js - This file gets executed as part of Nombo's preloading stage; you can completely customize the
9 | preloading screen by using this file. It's a good idea to keep this file light-weight.
10 |
11 | cookiesdisabled.js - Will be invoked if a user's browser doesn't support cookies (which are required by Nombo).
12 |
13 | failedconnection.js - Will be invoked whenever an initial connection fails; for whatever reason. You can use the
14 | global variable NOMBO_ERROR to show more details about the error.
--------------------------------------------------------------------------------
/client/libs/jquery/effects/blind.js:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery UI Effects Blind 1.8.16
3 | *
4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5 | * Dual licensed under the MIT or GPL Version 2 licenses.
6 | * http://jquery.org/license
7 | *
8 | * http://docs.jquery.com/UI/Effects/Blind
9 | *
10 | * Depends:
11 | * jquery.effects.core.js
12 | */
13 | (function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=["position","top","bottom","left","right"],f=b.effects.setMode(a,c.options.mode||"hide"),d=c.options.direction||"vertical";b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:"hidden"}),h=d=="vertical"?"height":"width";d=d=="vertical"?e.height():e.width();f=="show"&&e.css(h,0);var i={};i[h]=f=="show"?d:0;e.animate(i,c.duration,c.options.easing,function(){f=="hide"&&a.hide();b.effects.restore(a,
14 | g);b.effects.removeWrapper(a);c.callback&&c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery);
15 |
--------------------------------------------------------------------------------
/samples/memo/master.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | This function is executed once by the master process.
3 | This is where configuration tasks and resource bundling should happen.
4 | It is also an ideal place to spawn daemon processes.
5 | */
6 |
7 | module.exports.run = function (nombo) {
8 | // These files will be included as part of preload process
9 | nombo.bundle.framework.style('bootstrap.css');
10 | nombo.bundle.framework.style('jqueryui/ui-lightness/style.css');
11 | nombo.bundle.framework.lib('jquery/ui.js');
12 |
13 | nombo.bundle.app.template('login.html');
14 | nombo.bundle.app.template('notes_table.html');
15 | nombo.bundle.app.template('main.html');
16 | nombo.bundle.app.template('add_note_dialog.html');
17 |
18 | nombo.bundle.app.style('main.css');
19 |
20 | nombo.on('fail', function (err) {
21 | console.log('FAIL:', err.origin, err.message);
22 | });
23 | nombo.on('notice', function (err) {
24 | console.log('NOTICE:', err.origin, err.message);
25 | });
26 | }
--------------------------------------------------------------------------------
/samples/memo/sims/auth.node.js:
--------------------------------------------------------------------------------
1 | /*
2 | Check if session has been authorized.
3 | */
4 | module.exports.isLoggedIn = function(req, res) {
5 | req.session.get('loggedIn', function(err, loggedIn) {
6 | try {
7 | res.end(loggedIn);
8 | } catch(e) {
9 | res.error(e);
10 | }
11 | });
12 | }
13 |
14 | /*
15 | The only valid values are username 'bob' and password 'hello'.
16 | In a practical case, you may want to use a database.
17 | */
18 | module.exports.login = function(req, res) {
19 | if(req.data.username == 'bob' && req.data.password == 'hello') {
20 | // Here we are setting the loggedIn key to true to authorize the current session
21 | req.session.set('loggedIn', true, function(err) {
22 | res.end(true);
23 | });
24 | } else {
25 | res.end(false);
26 | }
27 | }
28 |
29 | /*
30 | Unauthorize the current session.
31 | */
32 | module.exports.logout = function(req, res) {
33 | req.session.remove('loggedIn', function(err) {
34 | res.end(!err);
35 | });
36 | }
--------------------------------------------------------------------------------
/samples/security/scripts/README:
--------------------------------------------------------------------------------
1 | This directory contains the modular .js script files that make-up the client-side of the application.
2 | When you setup your app for the first time, the following special script files will be
3 | inside the scripts/ directory:
4 |
5 | index.js - This is your app's main entry file; it is where all your client-side application logic should begin.
6 | You may want to add subdirectories inside the script/ directory to structure your app's code.
7 |
8 | load.js - This file gets executed as part of Nombo's preloading stage; you can completely customize the
9 | preloading screen by using this file. It's a good idea to keep this file light-weight.
10 |
11 | cookiesdisabled.js - Will be invoked if a user's browser doesn't support cookies (which are required by Nombo).
12 |
13 | failedconnection.js - Will be invoked whenever an initial connection fails; for whatever reason. You can use the
14 | global variable NOMBO_ERROR to show more details about the error.
--------------------------------------------------------------------------------
/client/libs/jquery/effects/highlight.js:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery UI Effects Highlight 1.8.16
3 | *
4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5 | * Dual licensed under the MIT or GPL Version 2 licenses.
6 | * http://jquery.org/license
7 | *
8 | * http://docs.jquery.com/UI/Effects/Highlight
9 | *
10 | * Depends:
11 | * jquery.effects.core.js
12 | */
13 | (function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&&
14 | this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
15 |
--------------------------------------------------------------------------------
/client/libs/jquery/effects/pulsate.js:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery UI Effects Pulsate 1.8.16
3 | *
4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5 | * Dual licensed under the MIT or GPL Version 2 licenses.
6 | * http://jquery.org/license
7 | *
8 | * http://docs.jquery.com/UI/Effects/Pulsate
9 | *
10 | * Depends:
11 | * jquery.effects.core.js
12 | */
13 | (function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c
2 |
3 |
4 |
5 |
6 | Required
7 |
8 |
9 |
10 |
11 |
12 | Required
13 |
14 | Not a URL
15 |
16 |
17 |
18 |
19 | Cancel
20 |
21 |
22 |
--------------------------------------------------------------------------------
/samples/security/keys/cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIICqjCCAhOgAwIBAgIJALIj2Ces80M4MA0GCSqGSIb3DQEBBQUAMG4xCzAJBgNV
3 | BAYTAkFVMRgwFgYDVQQIDA9OZXcgU291dGggV2FsZXMxDzANBgNVBAcMBlN5ZG5l
4 | eTEOMAwGA1UECgwFTm9tYm8xJDAiBgkqhkiG9w0BCQEWFWdyb3Nqb25hQHlhaG9v
5 | LmNvbS5hdTAeFw0xNDAyMjQwODUxMzVaFw0yNDAyMjIwODUxMzVaMG4xCzAJBgNV
6 | BAYTAkFVMRgwFgYDVQQIDA9OZXcgU291dGggV2FsZXMxDzANBgNVBAcMBlN5ZG5l
7 | eTEOMAwGA1UECgwFTm9tYm8xJDAiBgkqhkiG9w0BCQEWFWdyb3Nqb25hQHlhaG9v
8 | LmNvbS5hdTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAyTzGOa1kL6w2vbuq
9 | pBwf/AHByvpVAbnjt6RhXSutk3JRSyAaOK9DrVnFAfcckmMuM8b+Y/t0eCWfboFY
10 | ALl7I0LRzfX0PBGiKtx9I+rXSdeEsESRkWFZRPSr/owE5QgYrVsNVJu2JqU7Kz51
11 | Ugy0aLT3TuFciBOIjd2CPCSdOU8CAwEAAaNQME4wHQYDVR0OBBYEFP675H+0r1Yi
12 | 7eSqjE+ZU2W7mWr+MB8GA1UdIwQYMBaAFP675H+0r1Yi7eSqjE+ZU2W7mWr+MAwG
13 | A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAwAB2bzNVZi+pN7/7otRk/bOF
14 | p4rmo44tsl87rm174iPWbKR6Qi1jfRrdEdtqKOZhnZFSOvcVmIXqP8mZW2TZ+wpa
15 | EB39g6xjrruu3C2I+Pquyi2E4rMDlO0xitzf3XgJVmeRDby/VoTRcCmiVtmPeOiK
16 | m/29se47RQZ3TXVuqnM=
17 | -----END CERTIFICATE-----
18 |
--------------------------------------------------------------------------------
/license_mit.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011 Nombo (http://nombo.io/).
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
4 | (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,
5 | publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
6 | subject to the following conditions:
7 |
8 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
11 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
12 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
13 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/client/libs/bootstrap/tests/unit/bootstrap-scrollspy.js:
--------------------------------------------------------------------------------
1 | $(function () {
2 |
3 | module("bootstrap-scrollspy")
4 |
5 | test("should be defined on jquery object", function () {
6 | ok($(document.body).scrollspy, 'scrollspy method is defined')
7 | })
8 |
9 | test("should return element", function () {
10 | ok($(document.body).scrollspy()[0] == document.body, 'document.body returned')
11 | })
12 |
13 | test("should switch active class on scroll", function () {
14 | var sectionHTML = ''
15 | , $section = $(sectionHTML).append('#qunit-runoff')
16 | , topbarHTML ='
39 |
40 |
--------------------------------------------------------------------------------
/app/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/samples/chat/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/samples/memo/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/samples/security/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/samples/uploader/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/samples/angular_projects/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/samples/angular_todo/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/samples/dynamic_linking/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/samples/static_linking/README.md:
--------------------------------------------------------------------------------
1 | Nombo App
2 | ======
3 |
4 | This is the Nombo app directory - All source files and assets for your app should be placed in this directory or in one of the following subdirectories:
5 |
6 | - assets: To hold client-side static assets such as images, graphics an other media used within your application. You may alternatively prefer to place such files under the styles/ directory if they are being referenced within your app's CSS.
7 | - files: Default directory where files uploaded using the default nombo/fileuploader module are placed.
8 | - libs: Should contain JavaScript libraries for use within your app. Unlike scripts, libs are loaded directly into the global namespace - They should be used sparingly and in a controlled manner to avoid name clashes.
9 | - node_modules: For Node.js modules and other general purpose CommonJS modules - These can be used on both the client or server side.
10 | - scripts: Holds client-side CommonJS scripts for use within your application. The index.js file is the entry point of the application and will be executed as soon as your app has finished loading its bundled scripts, styles, assets and modules.
11 | - sims: This is where your Server Interface Modules (SIMs) should be defined (preferably with a .node.js extension).
12 | - styles: For holding CSS files and associated assets.
13 |
14 | Under each of these directories, you can setup any subdirectory structure you want.
15 | For scripts, a .js extension implies that the script is public while a .node.js extension signifies that this file is private and should never be served to the client-side (only for server-side use).
--------------------------------------------------------------------------------
/nombo-worker-bootstrap.node.js:
--------------------------------------------------------------------------------
1 | var Worker = require('./nombo-worker.node');
2 | var worker;
3 |
4 | var handleError = function (err) {
5 | var error;
6 | if (err.stack) {
7 | error = {
8 | message: err.message,
9 | stack: err.stack
10 | }
11 | } else {
12 | error = err;
13 | }
14 | process.send({type: 'error', data: error});
15 | };
16 |
17 | var handleNotice = function (notice) {
18 | if (notice instanceof Error) {
19 | notice = notice.message;
20 | }
21 | process.send({type: 'notice', data: notice});
22 | };
23 |
24 | var handleWorkerStart = function () {
25 | process.send({type: 'ready'});
26 | };
27 |
28 | var handleExit = function () {
29 | process.exit();
30 | };
31 |
32 | process.on('message', function (m) {
33 | if (m.type == 'init') {
34 | worker = new Worker(m.data);
35 |
36 | if (m.data.propagateErrors) {
37 | worker.on('error', handleError);
38 | worker.on('notice', handleNotice);
39 | worker.on(worker.EVENT_WORKER_START, handleWorkerStart);
40 | worker.on(worker.EVENT_WORKER_EXIT, handleExit);
41 | }
42 |
43 | var workerController = require(m.data.paths.appWorkerControllerPath);
44 | workerController.run(worker);
45 | worker.start();
46 |
47 | } else if (m.type == 'updateCache') {
48 | worker.handleCacheUpdate(m.data.url, m.data.content, m.data.size);
49 |
50 | } else if (m.type == 'updateCacheVersion') {
51 | worker.handleCacheVersionUpdate(m.data.cacheVersion);
52 |
53 | } else if (m.type == 'emit') {
54 | if (m.data) {
55 | worker.handleMasterEvent(m.event, m.data);
56 | } else {
57 | worker.handleMasterEvent(m.event);
58 | }
59 | }
60 | });
--------------------------------------------------------------------------------
/client/libs/bootstrap/tests/unit/bootstrap-alerts.js:
--------------------------------------------------------------------------------
1 | $(function () {
2 |
3 | module("bootstrap-alerts")
4 |
5 | test("should be defined on jquery object", function () {
6 | ok($(document.body).alert, 'alert method is defined')
7 | })
8 |
9 | test("should return element", function () {
10 | ok($(document.body).alert()[0] == document.body, 'document.body returned')
11 | })
12 |
13 | test("should fade element out on clicking .close", function () {
14 | var alertHTML = '