diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-11-11 01:41:16 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-11 14:30:09 +0200 |
| commit | 78ab7cdc00f46e389cb2e2bbf9b35704fad2756b (patch) | |
| tree | 099bcd5e970ab62ebb46fe51aee9911a319e290b /scripts/drag_n_drop.js | |
| parent | fd7c618f3c5ed54096615809c3644ca2a9415267 (diff) | |
rename RZ -> rz_core
Diffstat (limited to 'scripts/drag_n_drop.js')
| -rw-r--r-- | scripts/drag_n_drop.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/drag_n_drop.js b/scripts/drag_n_drop.js index 1669a58a..f34b330f 100644 --- a/scripts/drag_n_drop.js +++ b/scripts/drag_n_drop.js @@ -1,4 +1,4 @@ -define('drag_n_drop', ['jquery', 'jquery-ui', 'rz_core'], function($, __unused_jqueryui, RZ) { +define(['jquery', 'jquery-ui', 'rz_core'], function($, __unused_jqueryui, rz_core) { function init() { console.log('rhizi: init drag-n-drop'); @@ -13,7 +13,7 @@ $(document).on('drop', function(e) { console.log('drop: error: reading from file failed'); } else { console.log('loading dropped file'); - RZ.load_from_json(fr.result); + rz_core.load_from_json(fr.result); } } fr.readAsText(file); |
