This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var koa = require('koa'); | |
var r = require('koa-route'); | |
var bodyParser = require('koa-bodyparser'); | |
var app = koa(); | |
app.use(function *(next){ | |
var start = new Date; | |
yield next; | |
var ms = new Date - start; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ufwb version="1.17"> | |
<grammar name="ISOBMFF MP4" start="id:8" fileextension="mp4" uti="public.mpeg-4"> | |
<structure name="Atom" id="9" length="Size" extends="id:10"> | |
<number name="Size" id="11" fillcolor="68D6FB" type="integer" length="4"> | |
<description>Atom Size</description> | |
</number> | |
<number name="Type" mustmatch="yes" id="12" fillcolor="FF7B7A" type="integer" length="4" display="hex"> | |
<description>Atom Type</description> | |
</number> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This plugin modifies the generated webpack code to execute a module within the DLL bundle in addition to preserving | |
// the default behavior of exporting the webpack require function | |
class DllBootstrapPlugin { | |
constructor(options) { | |
this.options = options || {} | |
} | |
apply(compiler) { | |
compiler.plugin('compilation', (compilation) => { | |
compilation.mainTemplate.plugin('startup', (source, chunk) => { |
OlderNewer