/**
 * Patterns gallery - A simple gallery
 *
 * Copyright 2013 Simplon B.V. - Wichert Akkerman
 */
define([
    "jquery",
    "../registry",
    "photoswipe"
], function($, patterns) {
    var gallery = {
        name: "gallery",
        trigger: ".pat-gallery",

        init: function($el) {
            return $el;
        }
    };


    patterns.register(gallery);
    return gallery;
});

/**
 * Patterns gallery - A simple gallery
 *
 * Copyright 2013 Simplon B.V. - Wichert Akkerman
 */
define([
    "jquery",
    "../registry",
    "klass", // Workaround because bungle is ignoring dependencies currently
    "photoswipe"
], function($, patterns) {
    var gallery = {
        name: "gallery",
        trigger: ".pat-gallery",

        init: function($el) {
            return $el;
        }
    };


    patterns.register(gallery);
    return gallery;
});

Work around bungle bug (it ignores dependencies).