Skip to content

Commit

Permalink
docs: Fix tutorial example
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Nov 15, 2019
1 parent d588810 commit 5289fde
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions docs/04-tutorial.md
Expand Up @@ -276,18 +276,7 @@ export default {
Besides `bundle.js`, Rollup will now create a second file `bundle.min.js`:

```js
var version = (function () {
'use strict';

var version = "1.0.0";

function main () {
console.log('version ' + version);
}

return main;

}());
var version=function(){"use strict";var n="1.0.0";return function(){console.log("version "+n)}}();
```


Expand Down

0 comments on commit 5289fde

Please sign in to comment.