We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcb7789 commit 8c715a6Copy full SHA for 8c715a6
1 file changed
public/javascripts/DV/lib/initializer.js
@@ -5,7 +5,8 @@ console.log || (console.log = _.identity);
5
// Create the DV namespaces.
6
window.DV = window.DV || {};
7
DV.jQuery = jQuery.noConflict(true);
8
-DV._ = _.noConflict();
+DV._ = _.noConflict(); // preserve a safe reference for the viewer
9
+_ = DV._; // make sure that _ is defined in the global namespace for now.
10
DV.viewers = DV.viewers || {};
11
DV.model = DV.model || {};
12
0 commit comments