From 78ab7cdc00f46e389cb2e2bbf9b35704fad2756b Mon Sep 17 00:00:00 2001 From: LV-426 Date: Tue, 11 Nov 2014 01:41:16 +0200 Subject: rename RZ -> rz_core --- scripts/drag_n_drop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/drag_n_drop.js') 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); -- cgit v1.3.1