chore: improve license of forked code (#10753)

This commit is contained in:
neverland 2022-06-26 21:58:13 +08:00 committed by GitHub
parent 293dab6a51
commit f46c9c6548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 31 additions and 0 deletions

View File

@ -1,5 +1,6 @@
/**
* This is a fork of [vue-lazyload](https://github.com/hilongjw/vue-lazyload) with Vue 3 support.
* license at https://github.com/hilongjw/vue-lazyload/blob/master/LICENSE
*/
import Lazy from './lazy';

View File

@ -1,3 +1,8 @@
/**
* This is a fork of [vue-lazyload](https://github.com/hilongjw/vue-lazyload) with Vue 3 support.
* license at https://github.com/hilongjw/vue-lazyload/blob/master/LICENSE
*/
import { h } from 'vue';
import { inBrowser, useRect } from '@vant/use';

View File

@ -1,3 +1,8 @@
/**
* This is a fork of [vue-lazyload](https://github.com/hilongjw/vue-lazyload) with Vue 3 support.
* license at https://github.com/hilongjw/vue-lazyload/blob/master/LICENSE
*/
/* eslint-disable max-classes-per-file */
/* eslint-disable prefer-object-spread */
import { remove } from './util';

View File

@ -1,3 +1,8 @@
/**
* This is a fork of [vue-lazyload](https://github.com/hilongjw/vue-lazyload) with Vue 3 support.
* license at https://github.com/hilongjw/vue-lazyload/blob/master/LICENSE
*/
import { useRect } from '@vant/use';
import { loadImageAsync } from './util';
import { noop } from '../../utils';

View File

@ -1,3 +1,8 @@
/**
* This is a fork of [vue-lazyload](https://github.com/hilongjw/vue-lazyload) with Vue 3 support.
* license at https://github.com/hilongjw/vue-lazyload/blob/master/LICENSE
*/
import { nextTick } from 'vue';
import { inBrowser, getScrollParent } from '@vant/use';
import {

View File

@ -1,3 +1,8 @@
/**
* This is a fork of [vue-lazyload](https://github.com/hilongjw/vue-lazyload) with Vue 3 support.
* license at https://github.com/hilongjw/vue-lazyload/blob/master/LICENSE
*/
import { useRect } from '@vant/use';
import { loadImageAsync } from './util';
import { noop } from '../../utils';

View File

@ -1,3 +1,8 @@
/**
* This is a fork of [vue-lazyload](https://github.com/hilongjw/vue-lazyload) with Vue 3 support.
* license at https://github.com/hilongjw/vue-lazyload/blob/master/LICENSE
*/
import { inBrowser } from '@vant/use';
export const hasIntersectionObserver =