Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cart.js AMD Module
//cart.js
define(['user'], function (user) {
var calculateSalesTax = function() {
var userPostalCode = user.postalCode;
//logic to calculate sales tax continues...
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.