![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
文章平均质量分 70
亦余心之所向兮
这个作者很懒,什么都没留下…
展开
-
pureMVC 笔记
pureMVCpureMVC 架构图一个概略图观察者模式NotificationObserverNotifierSimpleCommandMircoCommandMediatorProxyViewControllerModelFacade总结pureMVCpureMVC 架构图一个概略图观察者模式请看我的上一篇博客 传送门NotificationNotification原创 2016-05-13 22:00:03 · 1230 阅读 · 0 评论 -
微信小游戏API (doing)
微信小游戏API (doing)1. 登录wx.login({ success: function(response) { if (response.code) { wx.request({ url: 'https://serverurl/login/', data: { ...原创 2018-04-12 10:47:01 · 3949 阅读 · 0 评论 -
RamdaJS使用总结
1. 数组排序// 需求根据sum属性逆排序// sum 相同时,根据id正排序// js array的sort方法arr.sort(function(a, b) { if (a.sum > b.sum) { return -1; } else if (a.sum < b.sum) { return 1; } else...原创 2018-09-04 23:17:39 · 1057 阅读 · 0 评论