diff options
Diffstat (limited to 'scripts/history.js')
| -rw-r--r-- | scripts/history.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/history.js b/scripts/history.js index a3127c75..e99cbb08 100644 --- a/scripts/history.js +++ b/scripts/history.js @@ -15,11 +15,16 @@ // ReferenceError: __commandLineAPI is not defined //var ActionEnum = Enum(); -define('history', ['FileSaver'], function(saveAs) { +define('history', ['jquery', 'FileSaver', 'consts', 'signal'], + function($, saveAs, consts, signal) { function History(user) { + var that = this; this.records = []; this.user = user; + signal.slot(consts.RECORD_LINKS, function(obj) { + return that.record_links(obj) + }); } var ACTION_KEYSTROKES = 'ACTION_KEYSTROKES'; |
