summaryrefslogtreecommitdiffstats
path: root/lib/backbone/file.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backbone/file.js')
-rw-r--r--lib/backbone/file.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/backbone/file.js b/lib/backbone/file.js
index 34cf066..a58063c 100644
--- a/lib/backbone/file.js
+++ b/lib/backbone/file.js
@@ -1,3 +1,4 @@
+var _ = require('lodash');
function BackboneFile(book) {
if (!(this instanceof BackboneFile)) return new BackboneFile(book);
@@ -8,6 +9,8 @@ function BackboneFile(book) {
// Filename in the book
this.filename = '';
this.parser;
+
+ _.bindAll(this);
}
// Type of the backbone file