Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove toggleNotebook

  • Loading branch information...
commit ca7b9aa5499acfdfadafe3a50e93f399809c3a6b 1 parent 946c0f8
Patrick Hall authored
Showing with 1 addition and 14 deletions.
  1. +1 −14 js/notebook.js
View
15 js/notebook.js
@@ -1,5 +1,3 @@
-var show = function(o){ console.log(JSON.stringify(o, null,2)) };
-
window.Mary = {};
atomicLingUnit = {atom: "I AM ATOMIC"};
@@ -463,33 +461,22 @@ $(function(){
Mary.entryBook = new Mary.EntryBook([], {store: localStorage.notebook_current});
- Mary.Source = Backbone.Model.extend({ });
-
- Mary.Sources = Backbone.Collection.extend({
- model : Mary.Source
- });
-
Mary.ToolboxView = Backbone.View.extend({
el : '#toolbox',
initialize : function(){
- _.bindAll(this, 'exportData', 'toggleNotebook', 'setLanguage');
+ _.bindAll(this, 'exportData', 'setLanguage');
},
events : {
'click #export-button' : 'exportData',
- 'click #notebook-button' : 'toggleNotebook',
'click nav button.language' : 'setLanguage'
},
- toggleNotebook : function(){
- views.notebook.fadeToggle();
- },
-
setLanguage : function(ev){
var code = $(ev.currentTarget).data('code');
Mary.entryBook.setLanguage(code);
Please sign in to comment.
Something went wrong with that request. Please try again.