You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use build/stitches/js/stitches-1.3.5.js, let it do its thing
use src/require.js to load the src/js/module/stitches.js module, but use your own code instead of $(".stitches").each(function () { new Stitches(this) });, which is cumbersome and hard to discover.
i propose that this API is enhanced by the following:
if build/stitches/js/stitches-1.3.5.js finds some global like e.g. window.Stitches = { STUB: true }, then instead of attaching a stitches instace to every *.stitches, it replaces window.Stitches.
The text was updated successfully, but these errors were encountered:
when using this you have 2 alternatives:
build/stitches/js/stitches-1.3.5.js
, let it do its thingsrc/require.js
to load thesrc/js/module/stitches.js
module, but use your own code instead of$(".stitches").each(function () { new Stitches(this) });
, which is cumbersome and hard to discover.i propose that this API is enhanced by the following:
if
build/stitches/js/stitches-1.3.5.js
finds some global like e.g.window.Stitches = { STUB: true }
, then instead of attaching a stitches instace to every*.stitches
, it replaceswindow.Stitches
.The text was updated successfully, but these errors were encountered: