Skip to content

Instantly share code, notes, and snippets.

View agubler's full-sized avatar
💭
feeding the fish

Anthony Gubler agubler

💭
feeding the fish
View GitHub Profile
@agubler
agubler / composeAspectTestCase.js
Last active July 5, 2016 14:02
Compose Aspect Test Case
'base, initialize, and aspect, twice': function() {
let val = 0;
const createBase = compose({})
.mixin({
mixin: {
foo: 0,
doFoo: () => {
val++;
this.foo++;
}
define([
"dojo/_base/declare",
"dojo/_base/lang",
"indium/router/router",
"indium/control/_BaseController"
], function (
declare,
lang,
router,
_BaseController