Skip to content
This repository
Browse code

update to brunch 1.3.1

  • Loading branch information...
commit da0e709799fe7b26ef33b26c802e90b762d9c88f 1 parent 302c7e7
manabu niseki authored July 01, 2012
26  .npmignore
... ...
@@ -0,0 +1,26 @@
  1
+# Numerous always-ignore extensions
  2
+*.diff
  3
+*.err
  4
+*.orig
  5
+*.log
  6
+*.rej
  7
+*.swo
  8
+*.swp
  9
+*.vi
  10
+*~
  11
+*.sass-cache
  12
+
  13
+# OS or Editor folders
  14
+.DS_Store
  15
+.cache
  16
+.project
  17
+.settings
  18
+.tmproj
  19
+nbproject
  20
+Thumbs.db
  21
+
  22
+# NPM packages folder.
  23
+node_modules/
  24
+
  25
+# Brunch folder for temporary files.
  26
+tmp/
2  app/views/column_view.coffee
... ...
@@ -1,4 +1,4 @@
1  
-columnTemplate = require('./templates/column')
  1
+columnTemplate = require('views/templates/column')
2 2
 
3 3
 class exports.ColumnView extends Backbone.View
4 4
   className: "column"
2  app/views/columns_view.coffee
... ...
@@ -1,5 +1,5 @@
1 1
 {ColumnView} = require('views/column_view')
2  
-columnsTemplate = require('./templates/columns')
  2
+columnsTemplate = require('views/templates/columns')
3 3
 
4 4
 class exports.ColumnsView extends Backbone.View
5 5
   id: "columns"
2  app/views/home_view.coffee
... ...
@@ -1,4 +1,4 @@
1  
-homeTemplate = require('./templates/home')
  1
+homeTemplate = require('views/templates/home')
2 2
 
3 3
 class exports.HomeView extends Backbone.View
4 4
   el: '#main'
2  app/views/new_column_view.coffee
... ...
@@ -1,4 +1,4 @@
1  
-newColumnTemplate = require('./templates/new_column')
  1
+newColumnTemplate = require('views/templates/new_column')
2 2
 
3 3
 class exports.NewColumnView extends Backbone.View
4 4
   id: "new-column"
2  app/views/new_note_view.coffee
... ...
@@ -1,4 +1,4 @@
1  
-newNoteTemplate = require('./templates/new_note')
  1
+newNoteTemplate = require('views/templates/new_note')
2 2
 
3 3
 class exports.NewNoteView extends Backbone.View
4 4
   id: "new-note"
2  app/views/note_view.coffee
... ...
@@ -1,4 +1,4 @@
1  
-noteTemplate = require('./templates/note')
  1
+noteTemplate = require('views/templates/note')
2 2
 
3 3
 class exports.NoteView extends Backbone.View
4 4
   className: "note white"
2  app/views/notes_view.coffee
... ...
@@ -1,5 +1,5 @@
1 1
 {NoteView} = require('views/note_view')
2  
-notesTemplate = require('./templates/notes')
  2
+notesTemplate = require('views/templates/notes')
3 3
 
4 4
 class exports.NotesView extends Backbone.View
5 5
   id: "notes"
2  app/views/resting_view.coffee
... ...
@@ -1,4 +1,4 @@
1  
-timerTemplate = require('./templates/timer')
  1
+timerTemplate = require('views/templates/timer')
2 2
 
3 3
 class exports.RestingView extends Backbone.View
4 4
   el: "#modal"
2  app/views/stats_view.coffee
... ...
@@ -1,4 +1,4 @@
1  
-statsTemplate = require('./templates/stats')
  1
+statsTemplate = require('views/templates/stats')
2 2
 
3 3
 class exports.StatsView extends Backbone.View
4 4
   el: "#modal"
2  app/views/working_view.coffee
... ...
@@ -1,4 +1,4 @@
1  
-timerTemplate = require('./templates/timer')
  1
+timerTemplate = require('views/templates/timer')
2 2
 
3 3
 class exports.WorkingView extends Backbone.View
4 4
   el: "#modal"
9  build/index.html
@@ -22,10 +22,10 @@
22 22
                     <a href="#working">
23 23
                         <button id="start-pomodoro" class="btn primary">Start Pomodoro</button>
24 24
                     </a>
25  
-                    <a href="#resting/300">
  25
+                    <a href="#resting/short">
26 26
                         <button id="take-a-short-break" class="btn success">Take a short break</button>
27 27
                     </a>
28  
-                    <a href="#resting/900">
  28
+                    <a href="#resting/long">
29 29
                         <button id="take-a-long-break" class="btn success">Take a long break</button>
30 30
                     </a>
31 31
                 </span>
@@ -34,6 +34,11 @@
34 34
                         <button class="btn">Show stats</button>
35 35
                     </a>
36 36
                 </span>
  37
+                <span id="small_timer_container" style="margin-left: 5px">
  38
+                    <a href="#small_timer">
  39
+                        <button id="small_timer" class="btn success">Timer</button>
  40
+                    </a>
  41
+                </span>
37 42
             </div>
38 43
         </div>
39 44
     </div>
46  build/options.html
... ...
@@ -0,0 +1,46 @@
  1
+<html>
  2
+<head><title>Pomodoro Daisuki</title></head>
  3
+<script type="text/javascript">
  4
+
  5
+function save_parameter(name){
  6
+	var input = document.getElementById(name);
  7
+	localStorage[name] = input.value;
  8
+}
  9
+
  10
+function load_parameter(name){
  11
+	var value = localStorage[name];
  12
+	if (!value) {
  13
+		return;
  14
+	}
  15
+	var input = document.getElementById(name);
  16
+	input.value = value;
  17
+}
  18
+
  19
+function save_options() {
  20
+	save_parameter("pomodoro-duration");
  21
+	save_parameter("short-duration");
  22
+	save_parameter("long-duration");
  23
+
  24
+	var status = document.getElementById("status");
  25
+	status.innerHTML = "Options Saved.";
  26
+	setTimeout(function() {
  27
+		status.innerHTML = "";
  28
+	}, 750);
  29
+}
  30
+
  31
+function restore_options() {
  32
+	load_parameter("pomodoro-duration");
  33
+	load_parameter("short-duration");
  34
+	load_parameter("long-duration");
  35
+}
  36
+</script>
  37
+
  38
+<body onload="restore_options()">
  39
+<table>
  40
+<tr><td>Duration of a pomodoro </td><td><input id="pomodoro-duration" size=2 value="25" /></td><td>minutes</td></tr>
  41
+<tr><td>Duration of a short break </td><td><input id="short-duration" size=2 value="5" /></td><td>minutes</td></tr>
  42
+<tr><td>Duration of a long break </td><td><input id="long-duration" size=2 value="15"/></td><td>minutes</td></tr>
  43
+</table>
  44
+<button onclick="save_options()">Save</button> <span id="status"></span>
  45
+</body>
  46
+</html>
2,494  build/scripts/app.js
... ...
@@ -1,52 +1,80 @@
1 1
 (function(/*! Brunch !*/) {
2  
-  if (!this.require) {
3  
-    var modules = {}, cache = {}, require = function(name, root) {
4  
-      var module = cache[name], path = expand(root, name), fn;
5  
-      if (module) {
6  
-        return module;
7  
-      } else if (fn = modules[path] || modules[path = expand(path, './index')]) {
8  
-        module = {id: name, exports: {}};
9  
-        try {
10  
-          cache[name] = module.exports;
11  
-          fn(module.exports, function(name) {
12  
-            return require(name, dirname(path));
13  
-          }, module);
14  
-          return cache[name] = module.exports;
15  
-        } catch (err) {
16  
-          delete cache[name];
17  
-          throw err;
18  
-        }
19  
-      } else {
20  
-        throw 'module \'' + name + '\' not found';
21  
-      }
22  
-    }, expand = function(root, name) {
23  
-      var results = [], parts, part;
24  
-      if (/^\.\.?(\/|$)/.test(name)) {
25  
-        parts = [root, name].join('/').split('/');
26  
-      } else {
27  
-        parts = name.split('/');
28  
-      }
29  
-      for (var i = 0, length = parts.length; i < length; i++) {
30  
-        part = parts[i];
31  
-        if (part == '..') {
32  
-          results.pop();
33  
-        } else if (part != '.' && part != '') {
34  
-          results.push(part);
35  
-        }
  2
+  'use strict';
  3
+
  4
+  var globals = typeof window !== 'undefined' ? window : global;
  5
+  if (typeof globals.require === 'function') return;
  6
+
  7
+  var modules = {};
  8
+  var cache = {};
  9
+
  10
+  var has = function(object, name) {
  11
+    return hasOwnProperty.call(object, name);
  12
+  };
  13
+
  14
+  var expand = function(root, name) {
  15
+    var results = [], parts, part;
  16
+    if (/^\.\.?(\/|$)/.test(name)) {
  17
+      parts = [root, name].join('/').split('/');
  18
+    } else {
  19
+      parts = name.split('/');
  20
+    }
  21
+    for (var i = 0, length = parts.length; i < length; i++) {
  22
+      part = parts[i];
  23
+      if (part === '..') {
  24
+        results.pop();
  25
+      } else if (part !== '.' && part !== '') {
  26
+        results.push(part);
36 27
       }
37  
-      return results.join('/');
38  
-    }, dirname = function(path) {
39  
-      return path.split('/').slice(0, -1).join('/');
40  
-    };
41  
-    this.require = function(name) {
42  
-      return require(name, '');
43 28
     }
44  
-    this.require.define = function(bundle) {
45  
-      for (var key in bundle)
46  
-        modules[key] = bundle[key];
  29
+    return results.join('/');
  30
+  };
  31
+
  32
+  var dirname = function(path) {
  33
+    return path.split('/').slice(0, -1).join('/');
  34
+  };
  35
+
  36
+  var localRequire = function(path) {
  37
+    return function(name) {
  38
+      var dir = dirname(path);
  39
+      var absolute = expand(dir, name);
  40
+      return require(absolute);
47 41
     };
  42
+  };
  43
+
  44
+  var initModule = function(name, definition) {
  45
+    var module = {id: name, exports: {}};
  46
+    definition(module.exports, localRequire(name), module);
  47
+    var exports = cache[name] = module.exports;
  48
+    return exports;
  49
+  };
  50
+
  51
+  var require = function(name) {
  52
+    var path = expand(name, '.');
  53
+
  54
+    if (has(cache, path)) return cache[path];
  55
+    if (has(modules, path)) return initModule(path, modules[path]);
  56
+
  57
+    var dirIndex = expand(path, './index');
  58
+    if (has(cache, dirIndex)) return cache[dirIndex];
  59
+    if (has(modules, dirIndex)) return initModule(dirIndex, modules[dirIndex]);
  60
+
  61
+    throw new Error('Cannot find module "' + name + '"');
  62
+  };
  63
+
  64
+  var define = function(bundle) {
  65
+    for (var key in bundle) {
  66
+      if (has(bundle, key)) {
  67
+        modules[key] = bundle[key];
  68
+      }
  69
+    }
48 70
   }
49  
-}).call(this);// Make it safe to do console.log() always.
  71
+
  72
+  globals.require = require;
  73
+  globals.require.define = define;
  74
+  globals.require.brunch = true;
  75
+})();
  76
+
  77
+// Make it safe to do console.log() always.
50 78
 (function (con) {
51 79
   var method;
52 80
   var dummy = function() {};
@@ -57,6 +85,8 @@
57 85
     con[method] = con[method] || dummy;
58 86
   }
59 87
 })(window.console = window.console || {});
  88
+;
  89
+
60 90
 /*!
61 91
  * jQuery JavaScript Library v1.7
62 92
  * http://jquery.com/
@@ -9357,6 +9387,8 @@ jQuery.each([ "Height", "Width" ], function( i, name ) {
9357 9387
 // Expose jQuery to the global object
9358 9388
 window.jQuery = window.$ = jQuery;
9359 9389
 })( window );
  9390
+;
  9391
+
9360 9392
 //     Underscore.js 1.1.7
9361 9393
 //     (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
9362 9394
 //     Underscore is freely distributable under the MIT license.
@@ -10196,6 +10228,8 @@ window.jQuery = window.$ = jQuery;
10196 10228
   };
10197 10229
 
10198 10230
 })();
  10231
+;
  10232
+
10199 10233
 //     Backbone.js 0.5.3
10200 10234
 //     (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.
10201 10235
 //     Backbone may be freely distributed under the MIT license.
@@ -11354,6 +11388,8 @@ window.jQuery = window.$ = jQuery;
11354 11388
   };
11355 11389
 
11356 11390
 }).call(this);
  11391
+;
  11392
+
11357 11393
 /**
11358 11394
  * Backbone localStorage Adapter v1.0
11359 11395
  * https://github.com/jeromegn/Backbone.localStorage
@@ -11454,7 +11490,9 @@ Backbone.sync = function(method, model, options, error) {
11454 11490
   } else {
11455 11491
     options.error("Record not found");
11456 11492
   }
11457  
-};/* =========================================================
  11493
+};;
  11494
+
  11495
+/* =========================================================
11458 11496
  * bootstrap-modal.js v1.4.0
11459 11497
  * http://twitter.github.com/bootstrap/javascript.html#modal
11460 11498
  * =========================================================
@@ -11725,6 +11763,8 @@ Backbone.sync = function(method, model, options, error) {
11725 11763
   
11726 11764
 
11727 11765
 }( window.jQuery || window.ender );
  11766
+;
  11767
+
11728 11768
 /*
11729 11769
  Highcharts JS v2.1.9 (2011-11-11)
11730 11770
 
@@ -11901,6 +11941,8 @@ g,h,i=A(d.softConnector,true),j=d.distance,m=this.center,v=m[2]/2;m=m[1];var P=j
11901 11941
 y;for(y=Na;y--;)Sa[y].rank>=U&&Sa.splice(y,1);Na=Sa.length}for(y=0;y<Na;y++){b=Sa[y];h=b.labelPos;b=9999;for(H=0;H<U;H++){g=bb(C[H]-h[1]);if(g<b){b=g;Ea=H}}if(Ea<y&&C[y]!==null)Ea=y;else{if(U<Na-y+Ea&&C[y]!==null)Ea=U-Na+y;for(;C[Ea]===null;)Ea++}Z.push({i:Ea,y:C[Ea]});C[Ea]=null}Z.sort(z);for(y=0;y<Na;y++){b=Sa[y];h=b.labelPos;g=b.dataLabel;H=Z.pop();Y=h[1];U=b.visible===false?ob:Ab;Ea=H.i;H=H.y;if(Y>H&&C[Ea+1]!==null||Y<H&&C[Ea-1]!==null)H=Y;Y=this.getX(Ea===0||Ea===C.length-1?Y:H,M);g.attr({visibility:U,
11902 11942
 align:h[6]})[g.moved?"animate":"attr"]({x:Y+d.x+({left:e,right:-e}[h[6]]||0),y:H+d.y});g.moved=true;if(P&&f){g=b.connector;h=i?[Za,Y+(h[6]==="left"?5:-5),H,"C",Y,H,2*h[2]-h[4],2*h[3]-h[5],h[2],h[3],Ka,h[4],h[5]]:[Za,Y+(h[6]==="left"?5:-5),H,Ka,h[2],h[3],Ka,h[4],h[5]];if(g){g.animate({d:h});g.attr("visibility",U)}else b.connector=g=this.chart.renderer.path(h).attr({"stroke-width":f,stroke:d.connectorColor||b.color||"#606060",visibility:U,zIndex:3}).translate(c.plotLeft,c.plotTop).add()}}}}},drawTracker:hd.prototype.drawTracker,
11903 11943
 getSymbol:function(){}});wb.pie=ma;db.Highcharts={Chart:Nd,dateFormat:Zc,pathAnim:Nc,getOptions:function(){return Xa},hasRtlBug:me,numberFormat:Ed,Point:Oc,Color:bc,Renderer:fd,seriesTypes:wb,setOptions:function(a){Xa=Ca(Xa,a);Id();return Xa},Series:sb,addEvent:Qa,removeEvent:pb,createElement:hb,discardElement:pc,css:Ja,each:u,extend:sa,map:tc,merge:Ca,pick:A,extendClass:yb,product:"Highcharts",version:"2.1.9"}})();
  11944
+;
  11945
+
11904 11946
 /*!
11905 11947
  * jQuery UI 1.8.11
11906 11948
  *
@@ -12307,6 +12349,8 @@ load:function(c){c=this._getIndex(c);var h=this,i=this.options,j=this.anchors.eq
12307 12349
 "cache.tabs",true);h._trigger("load",null,h._ui(h.anchors[c],h.panels[c]));try{i.ajaxOptions.success(l,k)}catch(m){}},error:function(l,k){h._cleanup();h._trigger("load",null,h._ui(h.anchors[c],h.panels[c]));try{i.ajaxOptions.error(l,k,c,j)}catch(m){}}}));h.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
12308 12350
 url:function(c,h){this.anchors.eq(c).removeData("cache.tabs").data("load.tabs",h);return this},length:function(){return this.anchors.length}});b.extend(b.ui.tabs,{version:"1.8.11"});b.extend(b.ui.tabs.prototype,{rotation:null,rotate:function(c,h){var i=this,j=this.options,n=i._rotate||(i._rotate=function(p){clearTimeout(i.rotation);i.rotation=setTimeout(function(){var l=j.selected;i.select(++l<i.anchors.length?l:0)},c);p&&p.stopPropagation()});h=i._unrotate||(i._unrotate=!h?function(p){p.clientX&&
12309 12351
 i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow",n);this.anchors.bind(j.event+".tabs",h);n()}else{clearTimeout(i.rotation);this.element.unbind("tabsshow",n);this.anchors.unbind(j.event+".tabs",h);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
  12352
+;
  12353
+
12310 12354
 // Moment.js
12311 12355
 //
12312 12356
 // (c) 2011 Tim Wood
@@ -12930,185 +12974,307 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
12930 12974
         window.moment = moment;
12931 12975
     }
12932 12976
 
12933  
-})(Date);(function ($) {
12934  
-    function configuration(settings) {
12935  
-        return $.extend({
12936  
-            seconds:60,
12937  
-            tick:function (timer, formatted_time) {
12938  
-            },
12939  
-            format:'mm:ss',
12940  
-            reset:false,
12941  
-            show_in_title:false,
12942  
-            origin_title:undefined,
12943  
-            buzzer:function () {
12944  
-            }
12945  
-        }, settings);
12946  
-    }
12947  
-
12948  
-    $.fn.extend({
12949  
-        startTimer:function (settings) {
12950  
-            var timer = $(this);
12951  
-            var settings = configuration(settings);
12952  
-            var origin_title = document.title;
12953  
-
12954  
-            return this.each(function () {
12955  
-                if (localStorage['jquery.countdown.ended_at'] === undefined || settings.reset) {
12956  
-                    localStorage['jquery.countdown.ended_at'] = new Date().getTime() + settings.seconds * 1000;
12957  
-                }
12958  
-                var tick = function () {
12959  
-                    var ended_at = localStorage['jquery.countdown.ended_at'];
12960  
-                    var current_time = parseInt(ended_at) - new Date().getTime();
12961  
-
12962  
-                    if (current_time < 0 || isNaN(current_time)) {
12963  
-                        timer.clearTimer();
12964  
-
12965  
-                        // when not called clearTimer externally
12966  
-                        if (ended_at !== undefined) {
12967  
-                            settings.buzzer();
12968  
-                        }
12969  
-                        if (settings.show_in_title) {
12970  
-                            document.title = origin_title;
12971  
-                        }
12972  
-
12973  
-                        return false;
12974  
-                    } else {
12975  
-                        // var formatted_time = new Date(current_time).toString(settings.format);
12976  
-                        var formatted_time = moment(current_time).format(settings.format);
12977  
-                        timer.text(formatted_time);
12978  
-                        if (settings.show_in_title) {
12979  
-                            document.title = formatted_time;
12980  
-                        }
12981  
-
12982  
-                        return true;
12983  
-                    }
12984  
-                };
12985  
-
12986  
-                if (tick()) {
12987  
-                    var interval = setInterval(function () {
12988  
-                        if (!tick()) {
12989  
-                            clearInterval(interval);
12990  
-                        }
12991  
-                    }, 1000);
12992  
-                }
12993  
-            });
12994  
-        },
12995  
-        clearTimer:function () {
12996  
-            localStorage.removeItem('jquery.countdown.ended_at');
12997  
-        }
12998  
-    });
12999  
-})(jQuery);
13000  
-
13001  
-(this.require.define({
13002  
-  "models/state_model": function(exports, require, module) {
13003  
-    (function() {
13004  
-  var __hasProp = Object.prototype.hasOwnProperty,
13005  
-    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
  12977
+})(Date);;
  12978
+
  12979
+(function ($) {
  12980
+    function configuration(settings) {
  12981
+        return $.extend({
  12982
+            seconds:60,
  12983
+            tick:function (timer, formatted_time) {
  12984
+            },
  12985
+            format:'mm:ss',
  12986
+            reset:false,
  12987
+            show_in_title:false,
  12988
+            origin_title:undefined,
  12989
+            buzzer:function () {
  12990
+            }
  12991
+        }, settings);
  12992
+    }
13006 12993
 
13007  
-  exports.State = (function(_super) {
  12994
+    $.fn.extend({
  12995
+        startTimer:function (settings) {
  12996
+            var timer = $(this);
  12997
+            var settings = configuration(settings);
  12998
+            var origin_title = document.title;
13008 12999
 
13009  
-    __extends(State, _super);
  13000
+            return this.each(function () {
  13001
+                if (localStorage['jquery.countdown.ended_at'] === undefined || settings.reset) {
  13002
+                    localStorage['jquery.countdown.ended_at'] = new Date().getTime() + settings.seconds * 1000;
  13003
+                }
  13004
+                var tick = function () {
  13005
+                    var ended_at = localStorage['jquery.countdown.ended_at'];
  13006
+                    var current_time = parseInt(ended_at) - new Date().getTime();
  13007
+
  13008
+                    if (current_time < 0 || isNaN(current_time)) {
  13009
+                        timer.clearTimer();
  13010
+
  13011
+                        // when not called clearTimer externally
  13012
+                        if (ended_at !== undefined) {
  13013
+                            settings.buzzer();
  13014
+                        }
  13015
+                        if (settings.show_in_title) {
  13016
+                            document.title = origin_title;
  13017
+                        }
  13018
+
  13019
+                        return false;
  13020
+                    } else {
  13021
+                        // var formatted_time = new Date(current_time).toString(settings.format);
  13022
+                        var formatted_time = moment(current_time).format(settings.format);
  13023
+                        timer.text(formatted_time);
  13024
+                        if (settings.show_in_title) {
  13025
+                            document.title = formatted_time;
  13026
+                        }
  13027
+
  13028
+                        return true;
  13029
+                    }
  13030
+                };
  13031
+
  13032
+                if (tick()) {
  13033
+                    var interval = setInterval(function () {
  13034
+                        if (!tick()) {
  13035
+                            clearInterval(interval);
  13036
+                        }
  13037
+                    }, 1000);
  13038
+                }
  13039
+            });
  13040
+        },
  13041
+        clearTimer:function () {
  13042
+            localStorage.removeItem('jquery.countdown.ended_at');
  13043
+        }
  13044
+    });
  13045
+})(jQuery);
13010 13046
 
13011  
-    function State() {
13012  
-      State.__super__.constructor.apply(this, arguments);
13013  
-    }
  13047
+;
13014 13048
 
13015  
-    return State;
  13049
+// lib/handlebars/base.js
  13050
+var Handlebars = {};
13016 13051
 
13017  
-  })(Backbone.Model);
  13052
+Handlebars.VERSION = "1.0.beta.6";
13018 13053
 
13019  
-}).call(this);
  13054
+Handlebars.helpers  = {};
  13055
+Handlebars.partials = {};
  13056
+
  13057
+Handlebars.registerHelper = function(name, fn, inverse) {
  13058
+  if(inverse) { fn.not = inverse; }
  13059
+  this.helpers[name] = fn;
  13060
+};
13020 13061
 
  13062
+Handlebars.registerPartial = function(name, str) {
  13063
+  this.partials[name] = str;
  13064
+};
  13065
+
  13066
+Handlebars.registerHelper('helperMissing', function(arg) {
  13067
+  if(arguments.length === 2) {
  13068
+    return undefined;
  13069
+  } else {
  13070
+    throw new Error("Could not find property '" + arg + "'");
13021 13071
   }
13022  
-}));
13023  
-(this.require.define({
13024  
-  "collections/states_collection": function(exports, require, module) {
13025  
-    (function() {
13026  
-  var State,
13027  
-    __hasProp = Object.prototype.hasOwnProperty,
13028  
-    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
  13072
+});
13029 13073
 
13030  
-  State = require('models/state_model').State;
  13074
+var toString = Object.prototype.toString, functionType = "[object Function]";
13031 13075
 
13032  
-  exports.States = (function(_super) {
  13076
+Handlebars.registerHelper('blockHelperMissing', function(context, options) {
  13077
+  var inverse = options.inverse || function() {}, fn = options.fn;
13033 13078
 
13034  
-    __extends(States, _super);
13035 13079
 
13036  
-    function States() {
13037  
-      States.__super__.constructor.apply(this, arguments);
  13080
+  var ret = "";
  13081
+  var type = toString.call(context);
  13082
+
  13083
+  if(type === functionType) { context = context.call(this); }
  13084
+
  13085
+  if(context === true) {
  13086
+    return fn(this);
  13087
+  } else if(context === false || context == null) {
  13088
+    return inverse(this);
  13089
+  } else if(type === "[object Array]") {
  13090
+    if(context.length > 0) {
  13091
+      for(var i=0, j=context.length; i<j; i++) {
  13092
+        ret = ret + fn(context[i]);
  13093
+      }
  13094
+    } else {
  13095
+      ret = inverse(this);
13038 13096
     }
  13097
+    return ret;
  13098
+  } else {
  13099
+    return fn(context);
  13100
+  }
  13101
+});
13039 13102
 
13040  
-    States.prototype.model = State;
  13103
+Handlebars.registerHelper('each', function(context, options) {
  13104
+  var fn = options.fn, inverse = options.inverse;
  13105
+  var ret = "";
13041 13106
 
13042  
-    States.prototype.initialize = function() {
13043  
-      return this.localStorage = new Store("state");
13044  
-    };
  13107
+  if(context && context.length > 0) {
  13108
+    for(var i=0, j=context.length; i<j; i++) {
  13109
+      ret = ret + fn(context[i]);
  13110
+    }
  13111
+  } else {
  13112
+    ret = inverse(this);
  13113
+  }
  13114
+  return ret;
  13115
+});
13045 13116
 
13046  
-    States.prototype.getCurrentState = function() {
13047  
-      var first;
13048  
-      first = this.first();
13049  
-      if (first === void 0) first = this.create();
13050  
-      return first;
13051  
-    };
  13117
+Handlebars.registerHelper('if', function(context, options) {
  13118
+  var type = toString.call(context);
  13119
+  if(type === functionType) { context = context.call(this); }
13052 13120
 
13053  
-    States.prototype.getCurrentStateName = function() {
13054  
-      var currentState;
13055  
-      currentState = this.getCurrentState();
13056  
-      return currentState.get('name');
13057  
-    };
  13121
+  if(!context || Handlebars.Utils.isEmpty(context)) {
  13122
+    return options.inverse(this);
  13123
+  } else {
  13124
+    return options.fn(this);
  13125
+  }
  13126
+});
13058 13127
 
13059  
-    States.prototype.setCurrentStateName = function(name) {
13060  
-      var currentState;
13061  
-      currentState = this.getCurrentState();
13062  
-      return currentState.save({
13063  
-        name: name
13064  
-      });
13065  
-    };
  13128
+Handlebars.registerHelper('unless', function(context, options) {
  13129
+  var fn = options.fn, inverse = options.inverse;
  13130
+  options.fn = inverse;
  13131
+  options.inverse = fn;
13066 13132
 
13067  
-    return States;
  13133
+  return Handlebars.helpers['if'].call(this, context, options);
  13134
+});
13068 13135
 
13069  
-  })(Backbone.Collection);
  13136
+Handlebars.registerHelper('with', function(context, options) {
  13137
+  return options.fn(context);
  13138
+});
13070 13139
 
13071  
-}).call(this);
  13140
+Handlebars.registerHelper('log', function(context) {
  13141
+  Handlebars.log(context);
  13142
+});
  13143
+;
  13144
+// lib/handlebars/utils.js
  13145
+Handlebars.Exception = function(message) {
  13146
+  var tmp = Error.prototype.constructor.apply(this, arguments);
13072 13147
 
  13148
+  for (var p in tmp) {
  13149
+    if (tmp.hasOwnProperty(p)) { this[p] = tmp[p]; }
13073 13150
   }
13074  
-}));
13075  
-(this.require.define({
13076  
-  "collections/notes_collection": function(exports, require, module) {
13077  
-    (function() {
13078  
-  var Note,
13079  
-    __hasProp = Object.prototype.hasOwnProperty,
13080  
-    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
13081 13151
 
13082  
-  Note = require('models/note_model').Note;
  13152
+  this.message = tmp.message;
  13153
+};
  13154
+Handlebars.Exception.prototype = new Error;
13083 13155
 
13084  
-  exports.Notes = (function(_super) {
  13156
+// Build out our basic SafeString type
  13157
+Handlebars.SafeString = function(string) {
  13158
+  this.string = string;
  13159
+};
  13160
+Handlebars.SafeString.prototype.toString = function() {
  13161
+  return this.string.toString();
  13162
+};
13085 13163
 
13086  
-    __extends(Notes, _super);
  13164
+(function() {
  13165
+  var escape = {
  13166
+    "<": "&lt;",
  13167
+    ">": "&gt;",
  13168
+    '"': "&quot;",
  13169
+    "'": "&#x27;",
  13170
+    "`": "&#x60;"
  13171
+  };
13087 13172
 
13088  
-    function Notes() {
13089  
-      Notes.__super__.constructor.apply(this, arguments);
13090  
-    }
  13173
+  var badChars = /&(?!\w+;)|[<>"'`]/g;
  13174
+  var possible = /[&<>"'`]/;
13091 13175
 
13092  
-    Notes.prototype.model = Note;
  13176
+  var escapeChar = function(chr) {
  13177
+    return escape[chr] || "&amp;";
  13178
+  };
13093 13179
 
13094  
-    Notes.prototype.initialize = function() {
13095  
-      return this.localStorage = new Store("notes");
  13180
+  Handlebars.Utils = {
  13181
+    escapeExpression: function(string) {
  13182
+      // don't escape SafeStrings, since they're already safe
  13183
+      if (string instanceof Handlebars.SafeString) {
  13184
+        return string.toString();
  13185
+      } else if (string == null || string === false) {
  13186
+        return "";
  13187
+      }
  13188
+
  13189
+      if(!possible.test(string)) { return string; }
  13190
+      return string.replace(badChars, escapeChar);
  13191
+    },
  13192
+
  13193
+    isEmpty: function(value) {
  13194
+      if (typeof value === "undefined") {
  13195
+        return true;
  13196
+      } else if (value === null) {
  13197
+        return true;
  13198
+      } else if (value === false) {
  13199
+        return true;
  13200
+      } else if(Object.prototype.toString.call(value) === "[object Array]" && value.length === 0) {
  13201
+        return true;
  13202
+      } else {
  13203
+        return false;
  13204
+      }
  13205
+    }
  13206
+  };
  13207
+})();;
  13208
+// lib/handlebars/runtime.js
  13209
+Handlebars.VM = {
  13210
+  template: function(templateSpec) {
  13211
+    // Just add water
  13212
+    var container = {
  13213
+      escapeExpression: Handlebars.Utils.escapeExpression,
  13214
+      invokePartial: Handlebars.VM.invokePartial,
  13215
+      programs: [],
  13216
+      program: function(i, fn, data) {
  13217
+        var programWrapper = this.programs[i];
  13218
+        if(data) {
  13219
+          return Handlebars.VM.program(fn, data);
  13220
+        } else if(programWrapper) {
  13221
+          return programWrapper;
  13222
+        } else {
  13223
+          programWrapper = this.programs[i] = Handlebars.VM.program(fn);
  13224
+          return programWrapper;
  13225
+        }
  13226
+      },
  13227
+      programWithDepth: Handlebars.VM.programWithDepth,
  13228
+      noop: Handlebars.VM.noop
13096 13229
     };
13097 13230
 
13098  
-    return Notes;
  13231
+    return function(context, options) {
  13232
+      options = options || {};
  13233
+      return templateSpec.call(container, Handlebars, context, options.helpers, options.partials, options.data);
  13234
+    };
  13235
+  },
13099 13236
 
13100  
-  })(Backbone.Collection);
  13237
+  programWithDepth: function(fn, data, $depth) {
  13238
+    var args = Array.prototype.slice.call(arguments, 2);
13101 13239
 
13102  
-}).call(this);
  13240
+    return function(context, options) {
  13241
+      options = options || {};
13103 13242
 
  13243
+      return fn.apply(this, [context, options.data || data].concat(args));
  13244
+    };
  13245
+  },
  13246
+  program: function(fn, data) {
  13247
+    return function(context, options) {
  13248
+      options = options || {};
  13249
+
  13250
+      return fn(context, options.data || data);
  13251
+    };
  13252
+  },
  13253
+  noop: function() { return ""; },
  13254
+  invokePartial: function(partial, name, context, helpers, partials, data) {
  13255
+    options = { helpers: helpers, partials: partials, data: data };
  13256
+
  13257
+    if(partial === undefined) {
  13258
+      throw new Handlebars.Exception("The partial " + name + " could not be found");
  13259
+    } else if(partial instanceof Function) {
  13260
+      return partial(context, options);
  13261
+    } else if (!Handlebars.compile) {
  13262
+      throw new Handlebars.Exception("The partial " + name + " could not be compiled when running in runtime-only mode");
  13263
+    } else {
  13264
+      partials[name] = Handlebars.compile(partial);
  13265
+      return partials[name](context, options);
  13266
+    }
13104 13267
   }
13105  
-}));
13106  
-(this.require.define({
13107  
-  "collections/columns_collection": function(exports, require, module) {
13108  
-    (function() {
  13268
+};
  13269
+
  13270
+Handlebars.template = Handlebars.VM.template;
  13271
+;
  13272
+;
  13273
+
  13274
+window.require.define({"collections/columns_collection": function(exports, require, module) {
13109 13275
   var Column,
13110  
-    __hasProp = Object.prototype.hasOwnProperty,
13111  
-    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
  13276
+    __hasProp = {}.hasOwnProperty,
  13277
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
13112 13278
 
13113 13279
   Column = require('models/column_model').Column;
13114 13280
 
@@ -13117,7 +13283,7 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13117 13283
     __extends(Columns, _super);
13118 13284
 
13119 13285
     function Columns() {
13120  
-      Columns.__super__.constructor.apply(this, arguments);
  13286
+      return Columns.__super__.constructor.apply(this, arguments);
13121 13287
     }
13122 13288
 
13123 13289
     Columns.prototype.model = Column;
@@ -13129,17 +13295,40 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13129 13295
     return Columns;
13130 13296
 
13131 13297
   })(Backbone.Collection);
  13298
+  
  13299
+}});
13132 13300
 
13133  
-}).call(this);
  13301
+window.require.define({"collections/notes_collection": function(exports, require, module) {
  13302
+  var Note,
  13303
+    __hasProp = {}.hasOwnProperty,
  13304
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
13134 13305
 
13135  
-  }
13136  
-}));
13137  
-(this.require.define({
13138  
-  "collections/pomodoros_collection": function(exports, require, module) {
13139  
-    (function() {
  13306
+  Note = require('models/note_model').Note;
  13307
+
  13308
+  exports.Notes = (function(_super) {
  13309
+
  13310
+    __extends(Notes, _super);
  13311
+
  13312
+    function Notes() {
  13313
+      return Notes.__super__.constructor.apply(this, arguments);
  13314
+    }
  13315
+
  13316
+    Notes.prototype.model = Note;
  13317
+
  13318
+    Notes.prototype.initialize = function() {
  13319
+      return this.localStorage = new Store("notes");
  13320
+    };
  13321
+
  13322
+    return Notes;
  13323
+
  13324
+  })(Backbone.Collection);
  13325
+  
  13326
+}});
  13327
+
  13328
+window.require.define({"collections/pomodoros_collection": function(exports, require, module) {
13140 13329
   var Pomodoro,
13141  
-    __hasProp = Object.prototype.hasOwnProperty,
13142  
-    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
  13330
+    __hasProp = {}.hasOwnProperty,
  13331
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
13143 13332
 
13144 13333
   Pomodoro = require('models/pomodoro_model').Pomodoro;
13145 13334
 
@@ -13148,7 +13337,7 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13148 13337
     __extends(Pomodoros, _super);
13149 13338
 
13150 13339
     function Pomodoros() {
13151  
-      Pomodoros.__super__.constructor.apply(this, arguments);
  13340
+      return Pomodoros.__super__.constructor.apply(this, arguments);
13152 13341
     }
13153 13342
 
13154 13343
     Pomodoros.prototype.model = Pomodoro;
@@ -13164,24 +13353,98 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13164 13353
       return _.each(clone_models, function(pomodoro) {
13165 13354
         var date;
13166 13355
         date = moment(parseInt(pomodoro.get('created_at'))).format(format);
13167  
-        if (today > date) return pomodoro.destroy();
  13356
+        if (today > date) {
  13357
+          return pomodoro.destroy();
  13358
+        }
13168 13359
       });
13169 13360
     };
13170 13361
 
13171 13362
     return Pomodoros;
13172 13363
 
13173 13364
   })(Backbone.Collection);
  13365
+  
  13366
+}});
13174 13367
 
13175  
-}).call(this);
  13368
+window.require.define({"collections/states_collection": function(exports, require, module) {
  13369
+  var State,
  13370
+    __hasProp = {}.hasOwnProperty,
  13371
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
13176 13372
 
13177  
-  }
13178  
-}));
13179  
-(this.require.define({
13180  
-  "initialize": function(exports, require, module) {
13181  
-    (function() {
  13373
+  State = require('models/state_model').State;
  13374
+
  13375
+  exports.States = (function(_super) {
  13376
+
  13377
+    __extends(States, _super);
  13378
+
  13379
+    function States() {
  13380
+      return States.__super__.constructor.apply(this, arguments);
  13381
+    }
  13382
+
  13383
+    States.prototype.model = State;
  13384
+
  13385
+    States.prototype.initialize = function() {
  13386
+      return this.localStorage = new Store("state");
  13387
+    };
  13388
+
  13389
+    States.prototype.getCurrentState = function() {
  13390
+      var first;
  13391
+      first = this.first();
  13392
+      if (first === void 0) {
  13393
+        first = this.create();
  13394
+      }
  13395
+      return first;
  13396
+    };
  13397
+
  13398
+    States.prototype.getCurrentStateName = function() {
  13399
+      var currentState;
  13400
+      currentState = this.getCurrentState();
  13401
+      return currentState.get('name');
  13402
+    };
  13403
+
  13404
+    States.prototype.setCurrentStateName = function(name) {
  13405
+      var currentState;
  13406
+      currentState = this.getCurrentState();
  13407
+      return currentState.save({
  13408
+        name: name
  13409
+      });
  13410
+    };
  13411
+
  13412
+    return States;
  13413
+
  13414
+  })(Backbone.Collection);
  13415
+  
  13416
+}});
  13417
+
  13418
+window.require.define({"helpers": function(exports, require, module) {
  13419
+  
  13420
+  exports.BrunchApplication = (function() {
  13421
+
  13422
+    function BrunchApplication() {
  13423
+      var _this = this;
  13424
+      this.routers = {};
  13425
+      this.models = {};
  13426
+      this.collections = {};
  13427
+      this.views = {};
  13428
+      this.utils = {};
  13429
+      jQuery(function() {
  13430
+        return _this.initialize(_this);
  13431
+      });
  13432
+    }
  13433
+
  13434
+    BrunchApplication.prototype.onReady = function() {
  13435
+      return null;
  13436
+    };
  13437
+
  13438
+    return BrunchApplication;
  13439
+
  13440
+  })();
  13441
+  
  13442
+}});
  13443
+
  13444
+window.require.define({"initialize": function(exports, require, module) {
13182 13445
   var BrunchApplication, Columns, ColumnsView, HomeView, MainRouter, NewColumnView, NewNoteView, Notes, NotesView, Pomodoros, RestingView, States, StatsView, WorkingView,
13183  
-    __hasProp = Object.prototype.hasOwnProperty,
13184  
-    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
  13446
+    __hasProp = {}.hasOwnProperty,
  13447
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
13185 13448
 
13186 13449
   BrunchApplication = require('helpers').BrunchApplication;
13187 13450
 
@@ -13216,7 +13479,7 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13216 13479
     __extends(Application, _super);
13217 13480
 
13218 13481
     function Application() {
13219  
-      Application.__super__.constructor.apply(this, arguments);
  13482
+      return Application.__super__.constructor.apply(this, arguments);
13220 13483
     }
13221 13484
 
13222 13485
     Application.prototype.initialize = function() {
@@ -13238,7 +13501,7 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13238 13501
       this.audios.alarm = new Audio("audios/alarm.wav");
13239 13502
       this.settings = {};
13240 13503
       this.settings.date_format = "YYYY-MM-DD";
13241  
-      this.development = true;
  13504
+      this.development = false;
13242 13505
       Backbone.history.start();
13243 13506
       this.collections.states.fetch();
13244 13507
       currentStateName = app.collections.states.getCurrentStateName();
@@ -13253,23 +13516,19 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13253 13516
   })(BrunchApplication);
13254 13517
 
13255 13518
   window.app = new exports.Application;
  13519
+  
  13520
+}});
13256 13521
 
13257  
-}).call(this);
13258  
-
13259  
-  }
13260  
-}));
13261  
-(this.require.define({
13262  
-  "models/column_model": function(exports, require, module) {
13263  
-    (function() {
13264  
-  var __hasProp = Object.prototype.hasOwnProperty,
13265  
-    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
  13522
+window.require.define({"models/column_model": function(exports, require, module) {
  13523
+  var __hasProp = {}.hasOwnProperty,
  13524
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
13266 13525
 
13267 13526
   exports.Column = (function(_super) {
13268 13527
 
13269 13528
     __extends(Column, _super);
13270 13529
 
13271 13530
     function Column() {
13272  
-      Column.__super__.constructor.apply(this, arguments);
  13531
+      return Column.__super__.constructor.apply(this, arguments);
13273 13532
     }
13274 13533
 
13275 13534
     Column.prototype.defaults = {
@@ -13284,23 +13543,19 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13284 13543
     return Column;
13285 13544
 
13286 13545
   })(Backbone.Model);
  13546
+  
  13547
+}});
13287 13548
 
13288  
-}).call(this);
13289  
-
13290  
-  }
13291  
-}));
13292  
-(this.require.define({
13293  
-  "models/note_model": function(exports, require, module) {
13294  
-    (function() {
13295  
-  var __hasProp = Object.prototype.hasOwnProperty,
13296  
-    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
  13549
+window.require.define({"models/note_model": function(exports, require, module) {
  13550
+  var __hasProp = {}.hasOwnProperty,
  13551
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
13297 13552
 
13298 13553
   exports.Note = (function(_super) {
13299 13554
 
13300 13555
     __extends(Note, _super);
13301 13556
 
13302 13557
     function Note() {
13303  
-      Note.__super__.constructor.apply(this, arguments);
  13558
+      return Note.__super__.constructor.apply(this, arguments);
13304 13559
     }
13305 13560
 
13306 13561
     Note.prototype.defaults = {
@@ -13319,20 +13574,122 @@ i.rotate(null)}:function(){t=j.selected;n()});if(c){this.element.bind("tabsshow"
13319 13574
     return Note;
13320 13575
 
13321 13576
   })(Backbone.Model);
  13577
+  
  13578
+}});
13322 13579
 
13323  
-}).call(this);
  13580
+window.require.define({"models/pomodoro_model": function(exports, require, module) {
  13581
+  var __hasProp = {}.hasOwnProperty,
  13582
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
13324 13583
 
13325  
-  }
13326  
-}));
13327  
-(this.require.define({
13328  
-  "views/column_view": function(exports, require, module) {
13329  
-    (function() {
  13584
+  exports.Pomodoro = (function(_super) {
  13585
+
  13586
+    __extends(Pomodoro, _super);
  13587
+
  13588
+    function Pomodoro() {
  13589
+      return Pomodoro.__super__.constructor.apply(this, arguments);
  13590
+    }
  13591
+
  13592
+    return Pomodoro;
  13593
+
  13594
+  })(Backbone.Model);
  13595
+  
  13596
+}});
  13597
+
  13598
+window.require.define({"models/state_model": function(exports, require, module) {
  13599
+  var __hasProp = {}.hasOwnProperty,
  13600
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
  13601
+
  13602
+  exports.State = (function(_super) {
  13603
+
  13604
+    __extends(State, _super);
  13605
+
  13606
+    function State() {
  13607
+      return State.__super__.constructor.apply(this, arguments);
  13608
+    }
  13609
+
  13610
+    return State;
  13611
+
  13612
+  })(Backbone.Model);
  13613
+  
  13614
+}});
  13615
+
  13616
+window.require.define({"routers/main_router": function(exports, require, module) {
  13617
+  var __hasProp = {}.hasOwnProperty,
  13618
+    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
  13619
+
  13620
+  exports.MainRouter = (function(_super) {
  13621
+
  13622
+    __extends(MainRouter, _super);
  13623
+
  13624
+    function MainRouter() {
  13625
+      return MainRouter.__super__.constructor.apply(this, arguments);
  13626
+    }
  13627
+
  13628
+    MainRouter.prototype.routes = {