上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页
摘要: class limitArray extends Array{ constructor(maxNum){ super() Object.defineProperty(this,"maxNum",{ enumerable:false,//是否可以被枚举 value:maxNum, writable:t 阅读全文
posted @ 2020-04-01 16:47 无工时代 阅读(278) 评论(0) 推荐(0)
摘要: 'use strict';/*异步数据模块加载器功能1、加载器存在 主任务、副任务、子任务newRequire 表示加载主任务,主任务并发执行,newRequire(param1),执行主任务的时候,暂停副任务,主任务结束后,再执行副任务。onRequireFree 表示加载副任务,任务放队列,主任 阅读全文
posted @ 2020-03-25 16:37 无工时代 阅读(521) 评论(0) 推荐(0)
摘要: class LCache{ constructor(load,exec){ this.load=load;//加载函数 this.exec=exec;//执行函数 this.maxLen=100;//最大缓存数 this.nearTimeMap={};//最近访问时间 this.resMap={}; 阅读全文
posted @ 2020-03-20 18:37 无工时代 阅读(319) 评论(0) 推荐(0)
摘要: //bitmap 判断是否存在 Buffer.prototype.hasBit=function(num){ const n=num>>3; const k=num%8; return (this[n]&1<<k)!==0 } Buffer.prototype.setBit=function(num 阅读全文
posted @ 2020-03-18 14:06 无工时代 阅读(207) 评论(0) 推荐(0)
摘要: demo地址 http://106.13.201.82/demo/page_change.html page_change.vue <template> <div class="flex" :class="direction" :style="{width:width,height:height}" 阅读全文
posted @ 2020-03-14 14:19 无工时代 阅读(3209) 评论(0) 推荐(0)
摘要: function getText(time,callback) { setTimeout(function () { callback(time) },time) } var callbackMap={};//记录加载完成的回调 var resMap={};//记录url var loadbackM 阅读全文
posted @ 2020-03-11 00:43 无工时代 阅读(199) 评论(0) 推荐(0)
摘要: //通过贝叶斯概率机器学习 const execMathExpress=require('exec-mathexpress'); //一个神经元,同过学习特征,判断是否发出信号 class Yuan { constructor(props) { this.props=props||{}; } //学 阅读全文
posted @ 2020-02-29 23:59 无工时代 阅读(366) 评论(0) 推荐(0)
摘要: //通过贝叶斯概率机器学习 const execMathExpress=require('exec-mathexpress'); //一个神经元,同过学习特征,判断是否发出信号 class Yuan { constructor(props) { this.props=props||{}; } //学 阅读全文
posted @ 2020-02-26 16:22 无工时代 阅读(273) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-11-26 15:23 无工时代 阅读(3) 评论(0) 推荐(0)
摘要: const fs=require('fs-extra');const ShortName=require('./ShortName');const WashRoom=require('./WashRoom')//本地数据库class LocalStorage{ constructor(tagDir) { this.dbDir=tagDir||__dirname+'/db/';... 阅读全文
posted @ 2019-11-25 16:15 无工时代 阅读(258) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页