sourcemint-sdk-requirejs

These examples illustrate how to load RequireJS compatible code into the Sourcemint Platform.

Sourcemint RequireJS SDK

Usage

node ./bin/examples

Tests

../../bundler-js/0/bin/bundle ./examples/01-HelloWorld ./examples/01-HelloWorld/dist
../../bundler-js/0/bin/bundle ./examples/04-PackageLocalDependencies ./examples/04-PackageLocalDependencies/dist

Links

  • RequireJS on NodeJS: http://requirejs.org/docs/node.html
  • https://github.com/jrburke/amdefine
  • https://github.com/ajaxorg/node-amd-loader