lucidnz / bootstrapify-1

An open-source base theme for Shopify using Twitter Bootstrap
http://bootstrapify-theme.myshopify.com/
187 stars 72 forks source link

RequireJS missing #239

Closed ryandowd closed 8 years ago

ryandowd commented 8 years ago

I've dug around and found that the 'app.js' uses require() to load the following files (assets/app.js LINES 5-7):

_var Bsify = require('./bsify.js'); var CartJS = require('shopify-cartjs'); var Lookbook = require('./bsify.lookbookgallery.js');

However it seems requirejs.js is not included. Am I missing something or is app.js just a redundant file?

For the sake of context - I began this search to try find an easy way to add an 'add to cart' ajax option from a collections page and was hoping to use Cart.add_item_to_cart($current_target);

ryandowd commented 8 years ago

Ok, so I've found the minified app.min.js is actually completely different. I'll just work from that.

Should the app.js been updated? Is there an original of the unminified version floating around?