mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-10 21:36:34 +01:00
Move jQuery wrapper into coffeescript.
This commit is contained in:
parent
a174ae924b
commit
8446be205e
@ -1,5 +1,7 @@
|
|||||||
# The original line graph.
|
# The original line graph.
|
||||||
#
|
#
|
||||||
|
$ = jQuery
|
||||||
|
|
||||||
Morris = {}
|
Morris = {}
|
||||||
class Morris.Line
|
class Morris.Line
|
||||||
# Initialise the graph.
|
# Initialise the graph.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
(function($) {
|
|
||||||
(function() {
|
(function() {
|
||||||
var Morris;
|
var $, Morris;
|
||||||
|
|
||||||
|
$ = jQuery;
|
||||||
|
|
||||||
Morris = {};
|
Morris = {};
|
||||||
|
|
||||||
@ -346,4 +347,3 @@
|
|||||||
window.Morris = Morris;
|
window.Morris = Morris;
|
||||||
|
|
||||||
}).call(this);
|
}).call(this);
|
||||||
})(jQuery);
|
|
||||||
|
2
morris.min.js
vendored
2
morris.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user