Lin Ran

Results 7 issues of Lin Ran

Now you can have original source position in stack trace. ``` gorillascript let x() throw new Error("hello") x() ``` ``` log Error: hello at x (/home/unco/snips/gerror/error.gs:2:8, :4:11) at Object. (/home/unco/snips/gerror/error.gs:4:1,...

[gulp.gs](https://github.com/unc0/gulp.gs) this is a wrapper for gulp, so you can write gulpfile in gorillascript. [gorillaify](https://github.com/unc0/gorillaify) this is a browserify module, you can mix javascript and gorillascript in your project and...

Take this [code](https://github.com/aaronpowell/db.js/blob/master/src/db.js#L150) as an example. Sometimes the value we need to return from a promise is in an EventListener. I don't know how to wrap this _IndexedDB request_ into...

In mocha.js they using a CommonJS require to make mocha runable in browser, it is a lite version of [brequire](https://github.com/weepy/brequire/blob/master/browser/require.js). Compiled single JS may looks like this: ``` javascript ;(function(){...

``` --langdef=gorilla --langmap=gorilla:.gs --regex-gorilla=/^let[ \t]+([A-Za-z0-9_$\-]+)[ \t]*=[ \t]*require/\1/e,module,modules/ --regex-gorilla=/^let[ \t]+([A-Za-z0-9_$\-]+)[ \t]*=[ \t]*\{/\1/o,object,objects/ --regex-gorilla=/^const[ \t]+([A-Z][A-Z0-9_\-]+)[ \t]*=/\1/C,constant,constants/ --regex-gorilla=/^let[ \t]+([A-Za-z0-9_$\-]+)[ \t]*=[ \t]*#(\(.*\))?/\1/f,function,functions/ --regex-gorilla=/^let[ \t]+([A-Za-z0-9_$\-]+)[ \t]*\(.*\)/\1/f,function,functions/ --regex-gorilla=/^[^\/*]*class[ \t]+([A-Za-z0-9_$\-]+)/\1/c,class,classes/ --regex-gorilla=/^[^\/*]*def[ \t]+([A-Za-z0-9_$\-]+)/\1/m,method,methods/ --regex-gorilla=/^let[ \t]+([A-Za-z0-9_$\-]+)[ \t]*=[ \t]*\[/\1/a,array,arrays/ --regex-gorilla=/^let[...

``` coffeescript /*global $:false, jQuery:false */ alert "Hello, GorillaScript!" ``` I tested in `gorilla -c -p`, compiler deletes that special comment.

之前封面图片可以显示,这两天不行了,内容图片显示正常,图集标题也正常。