anycode-mbs-footer
Version:
mbs-footer anycode-mbs-footer
40 lines (31 loc) • 998 B
JavaScript
/*
mbs-footer
*/
(function(def){
def(['riot'], function(riot) {
function Library() {
this.name = "mbs-footer"
}
var library = new Library()
//
//
// Am i a mixin?
// riot.mixin('mbs-footer', { mbs-footer: library })
//
//
// BEGIN RIOT TAGS
// END RIOT TAGS
//
//
return library;
});
}( (function(darr, name){
if (typeof require === 'undefined') {
return function (deps, factory) { this[name] = factory.apply(this, darr.map(function(arg) { return window[arg] })); }
} else if (typeof exports === 'undefined') {
return function (deps, factory) { define(name, deps, factory); }
} else {
require('riot'); // must find a solution to why require needs to be called with primitive
return function (deps, factory) { module.exports = factory.apply(this, deps.map(require)); }
}
})(['riot'], 'mbs-footer') ));