├── .browserslistrc ├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── api-extractor.json ├── babel.config.js ├── karma.conf.js ├── package.json ├── rollup.config.js ├── src └── index.ts ├── test ├── index.spec.js └── scripts │ ├── bar.js │ ├── baz.js │ └── foo.js └── tsconfig.json /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not ie <= 9 4 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | *.local* 2 | .temp 3 | coverage 4 | dist 5 | node_modules 6 | test/scripts 7 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/README.md -------------------------------------------------------------------------------- /api-extractor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/api-extractor.json -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/babel.config.js -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/karma.conf.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/src/index.ts -------------------------------------------------------------------------------- /test/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/test/index.spec.js -------------------------------------------------------------------------------- /test/scripts/bar.js: -------------------------------------------------------------------------------- 1 | window.Bar = () => {}; 2 | -------------------------------------------------------------------------------- /test/scripts/baz.js: -------------------------------------------------------------------------------- 1 | window.Baz = () => {}; 2 | -------------------------------------------------------------------------------- /test/scripts/foo.js: -------------------------------------------------------------------------------- 1 | window.Foo = () => {}; 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanchen/load-scripts/HEAD/tsconfig.json --------------------------------------------------------------------------------