asdf-games/node_modules/browserify/test/double_bundle_json/index.js

6 lines
109 B
JavaScript

var a = require('./a.json');
var b = require('./b.json');
console.log('a=' + a.x);
console.log('b=' + b.x);