Skip to content

Commit

Permalink
Rename to carty
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed May 29, 2015
1 parent 8c10bb6 commit ff39a73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/carty.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

module.exports = createCart;
module.exports = carty;

var extend = require('extend');
var emitter = require('./util/emitter');
Expand All @@ -22,7 +22,7 @@ var _defaultItemAttributes = {
quantity: 1
};

function createCart(opts) {
function carty(opts) {
function cart() {
return {
size: cart.size(),
Expand Down Expand Up @@ -400,4 +400,4 @@ function createCart(opts) {
return cart;
}

createCart.options = options.bind(createCart, _defaultOptions);
carty.options = options.bind(carty, _defaultOptions);

0 comments on commit ff39a73

Please sign in to comment.