Move jQuery wrapper into coffeescript.

This commit is contained in:
Olly Smith 2012-03-01 08:06:38 +00:00
parent a174ae924b
commit 8446be205e
3 changed files with 324 additions and 322 deletions

View File

@ -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.

View File

@ -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

File diff suppressed because one or more lines are too long