会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
以后文章更新在https://ybleeho.github.io
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2018年10月14日
solid原则
摘要: Tuo让我这周总结solid原则。在学校的时候主要学面向对象语言的时候会接触到solid之中的一些原则。但是到公司参加工作两个月以来用的开发语言主要用的是javascript(typed languege?functional languege?),对于solid原则感觉需求或者说是应用感觉是无从下
阅读全文
posted @ 2018-10-14 20:36 ybleeho
阅读(392)
评论(0)
推荐(0)
2018年10月11日
sequelize difference between hasone and hasmany
摘要: Query is equal, hasone return the first instance from the collection,hasmany return the whole collection.
阅读全文
posted @ 2018-10-11 15:52 ybleeho
阅读(255)
评论(0)
推荐(0)
2018年9月26日
async Make errors in callbacks throw globally
摘要: https://github.com/caolan/async/pull/1408 let see an example: balabala is not defined .. and the async will throw error globally. async waterfall sour
阅读全文
posted @ 2018-09-26 16:48 ybleeho
阅读(194)
评论(0)
推荐(0)
jwt vs session
摘要: https://cnodejs.org/topic/5b568ec12860af042a217822 https://juejin.im/post/5a437441f265da43294e54c3 1.可扩展性 session是有状态的,token是无状态的,所以如果多台服务器上的应用,单点登录,基
阅读全文
posted @ 2018-09-26 12:24 ybleeho
阅读(316)
评论(0)
推荐(0)
2018年3月17日
js数组去重,spread set
摘要: let test= [1,2,3,7,5,4,4,3] console.log([...new Set(test)]) //[ 1, 2, 3, 7, 5, 4 ]
阅读全文
posted @ 2018-03-17 09:38 ybleeho
阅读(320)
评论(0)
推荐(0)
2018年3月16日
viewport 属性
摘要: 当前的viewport宽度设为ideal viewport的宽度,既可以设置 width=device-width,也可以设置 initial-scale=1,但这两者各有一个小缺陷,就是iphone、ipad以及IE 会横竖屏不分,通通以竖屏的ideal viewport宽度为准。所以,最完美的写
阅读全文
posted @ 2018-03-16 10:53 ybleeho
阅读(157)
评论(0)
推荐(0)
给网站添加X-UA-Compatible标签
摘要: IE=edge告诉IE使用最新的引擎渲染网页,chrome=1则可以激活Chrome Frame
阅读全文
posted @ 2018-03-16 10:30 ybleeho
阅读(174)
评论(2)
推荐(0)
2018年2月12日
gulp 学习笔记3 watch
摘要: gulp.watch 监视文件并且可以在文件发生改动时候做一些事情。
阅读全文
posted @ 2018-02-12 15:41 ybleeho
阅读(240)
评论(0)
推荐(0)
gulp 学习笔记2 named tasks
摘要: var gulp = require('gulp') var uglify = require('gulp-uglify') var cleancss = require('gulp-clean-css') gulp.task('scripts',function () { gulp.src('app/js/*.js') .pipe(uglify()) ....
阅读全文
posted @ 2018-02-12 15:33 ybleeho
阅读(208)
评论(0)
推荐(0)
gulp学习笔记1 uglify
摘要: 作用:Minify JavaScript
阅读全文
posted @ 2018-02-12 15:14 ybleeho
阅读(130)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告