Skip to content

Instantly share code, notes, and snippets.

{
:id "dev"
:source-map true
:source-map-timestamp true
:source-map-path "public/js"
:output-to "public/js/main.js"
:output-dir "public/js"
:asset-path "js"
:foreign-libs [
{:file "http://ariutta.github.io/svg-pan-zoom/dist/svg-pan-zoom.min.js"
/*
*
* A simple JavaScript dependency injection container
* By Monroe Thomas http://blog.coolmuse.com
*
* http://blog.coolmuse.com/2012/11/11/a-simple-javascript-dependency-injection-container/
*
* MIT Licensed.
*
* Unit tests can be found at https://gist.github.com/4270523
// unit tests for ServiceKernel.js (https://gist.github.com/4089076)
// requires QUnit test framework
module("ServiceKernelTests");
if (typeof throws === "undefined") throws = raises;
test("require unregistered service throws", function () {
var kernel = new ServiceKernel();