diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-06 11:53:10 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-06 11:53:28 +0300 |
| commit | 747a7c714b879f7fc34c5dbff41f40bb939b815a (patch) | |
| tree | 63af836640311478f1a51a2510c4ef1343315aa0 | |
| parent | b3dee87e700e562131c4d36808755367204c5ae3 (diff) | |
client/item_view: use strict
| -rw-r--r-- | src/client/view/item_info.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/view/item_info.js b/src/client/view/item_info.js index 6dfe2b75..1a52ee60 100644 --- a/src/client/view/item_info.js +++ b/src/client/view/item_info.js @@ -1,6 +1,8 @@ define(['jquery', 'jquery-ui', 'util', 'consts', 'view/helpers', 'model/diff', 'model/types'], function($, _unused_jquery_ui, util, consts, view_helpers, model_diff, model_types) { +"strict" + var DEBOUNCE_TIME = 500; // milliseconds var item = null, @@ -21,7 +23,8 @@ var item = null, })), change_handlers = [], status_display = info.find('#displaystatus'), - status = info.find('#editstatus'); + status = info.find('#editstatus'), + diffBusUnsubscribe; /** * Adds the div with the label, return the edit child |
