improve license info

This commit is contained in:
Evan You 2016-08-16 10:39:19 -04:00
parent ce798c6f68
commit e96529844e
2 changed files with 13 additions and 5 deletions

View File

@ -1,8 +1,13 @@
/** /**
* Virtual DOM implementation based on Snabbdom by * Virtual DOM patching algorithm based on Snabbdom by
* Simon Friis Vindum (@paldepind) * Simon Friis Vindum (@paldepind)
* with custom modifications. * Licensed under the MIT License
* https://github.com/paldepind/snabbdom/blob/master/LICENSE
* *
* modified by Evan You (@yyx990803)
*
/*
* Not type-checking this because this file is perf-critical and the cost * Not type-checking this because this file is perf-critical and the cost
* of making flow understand it is not worth it. * of making flow understand it is not worth it.
*/ */

View File

@ -1,13 +1,16 @@
/* @flow */ /* @flow */
import stream from 'stream'
import { createWriteFunction } from './write'
/** /**
* Original RenderStream implmentation by Sasha Aickin (@aickin) * Original RenderStream implmentation by Sasha Aickin (@aickin)
* Licensed under the Apache License, Version 2.0 * Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Modified by Evan You (@yyx990803) * Modified by Evan You (@yyx990803)
*/ */
import stream from 'stream'
import { createWriteFunction } from './write'
export default class RenderStream extends stream.Readable { export default class RenderStream extends stream.Readable {
buffer: string; buffer: string;
render: Function; render: Function;