Skip to content

Commit a3fc549

Browse files
committed
update example
1 parent e72f38c commit a3fc549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/example/example.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*global console: false */
22

3-
(function () {
3+
$(function onLoad() {
44
var $title = $('#title');
55
var $message = $('#message');
66
var $button = $('.btn');
@@ -28,4 +28,4 @@
2828
}
2929
});
3030
});
31-
})();
31+
});

0 commit comments

Comments
 (0)