狼族小狈 lzxb Shenzhen, China 为天地立心,为生民立命,为往圣继绝学,为万世开太平

push eventlzxb/canvas-demo

曾宪晟

commit sha ce7b54dfcfe6d1e02f7d4d3e6a7426eb4052f44d

feat: 添加新的dom

view details

push time in 4 minutes

push eventFollowmeTech/tms

曾宪晟

commit sha 736dcbe073e7ddaf90b2fcc063fa41c40093d55f

fix: 修复没有监听当前实例的bug

view details

push time in 2 hours

push eventFollowmeTech/tms

曾宪晟

commit sha 1ce4032cf5846f886e72da463dd20c6253275567

fix: 修复类型cuow

view details

push time in 6 days

push eventFollowmeTech/tms

曾宪晟

commit sha 26526a35afc84c19a64e59a3ee044ce9ce57acc6

fix: 修复类型错误

view details

push time in 6 days

push eventFollowmeTech/tms

曾宪晟

commit sha c91ce1cdf007c3ac90095088682b8d452667236d

fix: 升级vue tms

view details

push time in 6 days

issue commentvuejs/vue-cli

Adding PWA plug-in does not generate HTML configuration.

I wrote an webpack plug-in myself

module.exports = class RemovePwaHtmlPlugin {
	apply(compiler) {
		compiler.hooks.emit.tapAsync('webpack', (compilation, callback) => {
			delete compilation.assets['index.html'];
			callback();
		});
	}
};
lzxb

comment created time in 6 days

startedgoogle/clusterfuzz

started time in 7 days

startedswc-project/swc

started time in 8 days

push eventlzxb/canvas-demo

曾宪晟

commit sha 4e038b3f5c029b850c5bc6c291269196b081e709

fix: 更新yil

view details

push time in 9 days

startedwilddeer/stickyfill

started time in 10 days

startedgoogle/charts

started time in 23 days

issue closedlzxb/vue2-demo

编译后的文件到底输出到哪里了?

webpack编译成功, 浏览器中也可以通过[http://localhost:3000/app/#/] 访问. 但是奇怪的是, 怎么也找不到编译后输出的文件.
配置的不是放到项目目录/app/下, 为什么找不到文件, 浏览器里却可以访问呢? 拜托, 求助!!!

closed time in 24 days

03917415

startedantvis/my-f2

started time in 25 days

issue commentFollowmeTech/tms

建议您换个key绑定

哈哈,在React和Vue的项目中,我都是直接使用tms。我可以提供一个API,设置你想绑定的key

fxjs

comment created time in a month

push eventlzxb/sanguozhi

曾宪晟

commit sha b479a2036c67579ff2a13b3268c654b9997660e2

feat: 随机生成城市和人物数据

view details

push time in a month

push eventlzxb/sanguozhi

曾宪晟

commit sha 716945dd49c3bba183a4bb5b3c2cc81e31d9b0b7

fix: 添加城市

view details

push time in a month

pull request commentlzxb/flex.css

Misspelled words

多谢指正

barnett617

comment created time in a month

push eventlzxb/flex.css

Trigolds

commit sha 1f314098af7669d7988ed9839eec113bb23c3f4e

Misspelled words

view details

狼族小狈

commit sha a257fc6027037b81544ccf533ec482ef294dc55b

Merge pull request #22 from barnett617/patch-1 Misspelled words

view details

push time in a month

PR merged lzxb/flex.css

Misspelled words
+1 -1

0 comment

1 changed file

barnett617

pr closed time in a month

issue closedistanbuljs/nyc

Unable to complete coverage test of one hundred percent

Please use the template provided below, when reporting bugs:

Expected Behavior

Ability to complete coverage testing by one hundred percent

Observed Behavior

Cannot complete coverage test by one hundred percent

Bonus Points! Code (or Repository) that Reproduces Issue

//#########Test code###########
const util = {
  isPromise (obj) {
    return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'
  }
}

//###########Test file###########3
import test from 'ava'
test('is promise', t => {
  t.false(util.isPromise(null))
  t.false(util.isPromise(true))
  t.false(util.isPromise(false))
  t.false(util.isPromise(0))
  t.false(util.isPromise([]))

  // object
  t.false(util.isPromise({}))
  t.false(util.isPromise({
    then: {}
  }))
  t.true(util.isPromise({
    then () {}
  }))

  // function
  t.false(util.isPromise(function () {}))
  const myPromise = function () {}
  myPromise.then = function () {}
  t.true(util.isPromise(myPromise))
  myPromise.then = []
  t.false(util.isPromise(myPromise))

  // promise
  t.true(util.isPromise(new Promise(function () {})))
  t.true(util.isPromise(Promise.resolve({})))
})


//####Compiled by'nyc' ########33
function isPromise(obj) {
  cov_2jpw7wnt92.f[4]++;
  cov_2jpw7wnt92.s[13]++;
  return (cov_2jpw7wnt92.b[9][0]++, !!obj) && ((cov_2jpw7wnt92.b[9][1]++, (typeof obj === 'undefined' ? (c ov_2jpw7wnt92.b[10][0]++, 'undefined') : (cov_2jpw7wnt92.b[10][1]++, _typeof(obj))) === 'object') || (cov_2jpw7wnt92.b[9][2]++, typeof obj === 'function')) && (cov_2jpw7wnt92.b[9][3]++, typeof obj.then === 'function');
}

closed time in a month

lzxb

pull request commentvuejs/vue-ssr-docs

fix(hydration): Add help

Yes, I met.

lzxb

comment created time in 2 months

startedDman95/SASM

started time in 2 months

issue commentlzxb/vue2-demo

编译后的文件到底输出到哪里了?

npm run dev:dist
03917415

comment created time in 2 months

startedtrekhleb/javascript-algorithms

started time in 2 months

issue commentlzxb/vue2-demo

编译后的文件到底输出到哪里了?

是编译到内存中了

03917415

comment created time in 2 months

startedMisterBooo/LeetCodeAnimation

started time in 2 months

starteddidi/mpx

started time in 2 months

startedRubyLouvre/mobileHack

started time in 3 months

startedisaacs/node-lru-cache

started time in 3 months

push eventlzxb/sanguozhi

曾宪晟

commit sha 170e4a4974f4fce24bb7c4f06fc1a2bf022a5f11

feat: test

view details

push time in 3 months

push eventlzxb/sanguozhi

曾宪晟

commit sha 3b8193a5a092580aeaeb99796de27d8bbcfb609c

feat: 初始化项目

view details

push time in 3 months

create barnchlzxb/sanguozhi

branch : master

created branch time in 3 months

created repositorylzxb/sanguozhi

三国志3

created time in 3 months

issue commentyyx990803/register-service-worker

Error when trying to test service worker logic with vue cli 3

I had the same problem.

matrunchyk

comment created time in 3 months

pull request commentfridays/next-routes

support custom-server-typescript

import * as Router from 'next-routes';

const router = (Router as any)();

I use this way.

vwxyutarooo

comment created time in 3 months

startedvaldrinkoshi/virtual-scroller

started time in 3 months

more