¶ Stitches¶ An HTML5 Sprite Sheet Generator
Stitches is an HTML5 sprite sheet generator. Stitches is developed by Matthew Cobbs in concert with the lovely open-source community at Github. Thanks are owed to the developers at Twitter for Bootstrap, and Glyphicons for some cool little icons. Addtionally, I want to thank James Taylor for the Docker documentation tool, and most of all the good folks who develop RequireJS and GruntJS, for helping this all make sense. |
|
¶ RequireJS MainKicks off application on elements matching |
require({
paths: {
"tpl" : "../tpl"
}
},
[
"wrap/jquery",
"module/stitches"
],
function($, Stitches) {
"use strict";
$(document).ready(function () {
var selector = ".stitches";
$(selector).each(function () {
var stitches = new Stitches(this);
});
});
});
|