Sha256: 649a140a22b3e56fb0d1bcafdf93496e1c2eccc5d012769f0bb17dac7049f8d2

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

/**
 * @namespace WORKAREA.createYourOwn
 */

 WORKAREA.registerModule('createYourOwn', (function () {
  'use strict';

    var description = function (event) {
        $('#own-create').toggle();
    },
    
    shipping = function (event) {
        $('#own-ship').toggle();
    },

    init = function ($scope) {
        $('#create', $scope).on('click', description);
        $('#ship', $scope).on('click', shipping);
    };

    return {
        init: init
    };

}()));

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-image_decoration-1.0.0.pre app/assets/javascripts/workarea/storefront/products/modules/create_your_own.js