作者:hap
首页:ThinkHap.com
文章:移步 issues
原博客WP数据库丢了,就干脆迁移到这边啦~
ThinkHap的个人空间
作者:hap
首页:ThinkHap.com
文章:移步 issues
原博客WP数据库丢了,就干脆迁移到这边啦~
$ grunt
Loading "gruntfile.js" tasks...ERROR
.>> ReferenceError: gruntfile is not defined
这应该就是gruntfile中有语法错误导致的。我是因为把Grunt.file.readJSON('package.json')写成了Gruntfile.readJSON('package.json')导致的。
因为在module.exports = function(grunt){} 引入的变量为grunt
2. Maximum call stack size exceeded
$ grunt uglify
Warning: Maximum call stack size exceeded Use --force to continue.
Aborted due to warnings.
这是因为我的gruntfile中把 grunt.registerTask('uglify', ['uglify']),注册任务的名称与调用的任务重名,导致死循环。修改为grunt.registerTask('js', ['uglify']) 即可。
以上详情介绍:http://www.cnblogs.com/hoojo/p/longPolling_comet_jquery_iframe_ajax.html
todo
之前都被问到过关于浏览器工作的原理。
比如当你在地址栏中输入一个地址,敲击回车后当页面内容显示出来之后,这段时间浏览器都做了什么。
之前也有看过了很长一篇的浏览器工作原理,看完之后又全忘了。还是在这里记录个简介吧。了解主要过程,这样也不容易忘。
以上整理自: http://developer.51cto.com/art/201007/209634_all.htm
长篇介绍:http://www.html5rocks.com/zh/tutorials/internals/howbrowserswork/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.