#!/usr/bin/env node

// Build demo data for embedding into html

/*eslint no-console:0*/

var fs   = require('fs');
var path = require('path');

console.log(JSON.stringify({
  self: {
    demo: {
      code:   fs.readFileSync(path.join(__dirname, '../demo/sample.js'), 'utf8'),
      source: fs.readFileSync(path.join(__dirname, '../demo/sample.md'), 'utf8')
    }
  }
}, null, 2));

#!/usr/bin/env node

// Build demo data for embedding into html

/*eslint no-console:0*/

var fs   = require('fs');
var path = require('path');

console.log(JSON.stringify({
  self: {
    demo: {
      code:   fs.readFileSync(path.join(__dirname, '../demo/example.js'), 'utf8'),
      source: fs.readFileSync(path.join(__dirname, '../demo/example.md'), 'utf8')
    }
  }
}, null, 2));

Change demo file naming from sample to example
Change demo file naming from sample to example

Seems to be missed when changing sample to example for demo files
