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.
|
||||||
|
10
morris.js
10
morris.js
@ -1,6 +1,7 @@
|
|||||||
(function($) {
|
(function() {
|
||||||
(function() {
|
var $, Morris;
|
||||||
var Morris;
|
|
||||||
|
$ = jQuery;
|
||||||
|
|
||||||
Morris = {};
|
Morris = {};
|
||||||
|
|
||||||
@ -345,5 +346,4 @@
|
|||||||
|
|
||||||
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