!function r(o,e,n){function t(i,c){if(!e[i]){if(!o[i]){var l="function"==typeof require&&require;if(!c&&l)return l(i,!0);if(u)return u(i,!0);throw new Error("Cannot find module '"+i+"'")}var a=e[i]={exports:{}};o[i][0].call(a.exports,function(r){var e=o[i][1][r];return t(e?e:r)},a,a.exports,r,o,e,n)}return e[i].exports}for(var u="function"==typeof require&&require,i=0;i<n.length;i++)t(n[i]);return t}({1:[function(r,o,e){var n=Backbone.Model.extend({url:"/photos/album"}),t=new n;$("#create-new-album").click(function(r){var o={title:$("#title-input").val(),summary:$("#summary-input").val()};console.log(o),t.save(o,{success:function(r){console.log(r),location.reload()},error:function(r){console.log("Error occurred!"),console.log(r)}})})},{}]},{},[1]);