jf

Results 22 comments of jf

@qingdie 发错了?

@xieke 你好,现在的 `bind` 方法在每次完成渲染之后都会执行,你可以在这里做些额外的事。 更好的做法是提供一些生命周期的方法,渲染前、渲染、渲染后、卸载前、卸载后等,但是这样就搞得复杂了。这个定位用于简单的页面,不想搞得太复杂。欢迎网友 fork 来增加改进~

@wodenwang 请获取本仓库下最新的文件,https://github.com/progrape/router/blob/dev/dist/router.min.js weui demo 页面的文件是旧版本的

``` javascript render: function (callback){ callback(null, 'home'); } ``` callback 的第一个参数约定是标识错误,如果没有错误就传入 `null` ,第二个参数就是 html 字符串

@wodenwang 可以传入一个 `new Error('')` 对象

写的时候分开来写,构建工具合并在一起

I'm also getting a wrong output like this: ``` var markdown = require( "markdown" ).markdown; console.log( markdown.toHTML( "[http://github.com/aa_bb](http://github.com/aa_bb)" ) ); ``` I want to output html like `http://github.com/aa_bb`, but actually...

怎么复现的?我还没重现这个 bug

旋转问题参考 https://github.com/exif-js/exif-js