mirror of https://github.com/lukechilds/rollup.git
Rich Harris
9 years ago
4 changed files with 24 additions and 14 deletions
@ -1,7 +1,8 @@ |
|||
'use strict'; |
|||
|
|||
var $ = require('jquery'); |
|||
$ = 'default' in $ ? $['default'] : $; |
|||
function _interopDefault (ex) { return 'default' in ex ? ex['default'] : ex; } |
|||
|
|||
var $ = _interopDefault(require('jquery')); |
|||
|
|||
$( function () { |
|||
$( 'body' ).html( '<h1>hello world!</h1>' ); |
|||
|
Loading…
Reference in new issue