jellyfin-web/dashboard-ui/bower_components/prism/tests/helper/components.js
2016-02-03 18:00:01 -05:00

11 lines
241 B
JavaScript

"use strict";
var fs = require("fs");
var vm = require("vm");
var fileContent = fs.readFileSync(__dirname + "/../../components.js", "utf8");
var context = {};
vm.runInNewContext(fileContent, context);
module.exports = context.components;