Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
- update deps
- use markdown-loader from npm
- closes #32
  • Loading branch information
meaku committed May 29, 2018
1 parent 84c989b commit 44e4c13
Show file tree
Hide file tree
Showing 7 changed files with 8,766 additions and 9 deletions.
1 change: 1 addition & 0 deletions example/.gitignore
@@ -0,0 +1 @@
./node_modules
2 changes: 1 addition & 1 deletion example/README.md
Expand Up @@ -5,5 +5,5 @@
* second
* `npm start`
* third
* open chrome with url `localhost:4000`
* open `localhost:4000`

86 changes: 86 additions & 0 deletions example/bundle.js
@@ -0,0 +1,86 @@
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports) {

module.exports = "<h1>Markdown-loader-example</h1>\n<ul>\n<li>first<ul>\n<li><code>npm install</code></li>\n</ul>\n</li>\n<li>second<ul>\n<li><code>npm start</code></li>\n</ul>\n</li>\n<li>third<ul>\n<li>open chrome with url <code>localhost:4000</code></li>\n</ul>\n</li>\n</ul>\n";

/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {

var html = __webpack_require__(0);
var container = document.getElementById("container");

container.innerHTML = html;


/***/ })
/******/ ]);
Empty file added example/dist/.gitkeep
Empty file.

0 comments on commit 44e4c13

Please sign in to comment.