- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Wed, 05 Apr 2017 22:00:41 +0000
- To: public-houdini-archive@w3.org
bfgeek has just created a new issue for https://github.com/w3c/css-houdini-drafts:
== [worklets] (bikeshedding time!) import() name is potentially confusing... ==
So the [import](https://drafts.css-houdini.org/worklets/#dom-worklet-import) function has been noted as potentially confusing.
Other names which have been discussed at some point are:
`loadModule` (@adamk)
`distributeScript` (@annevk)
For additional context the other way to invoke scripts will be via the script tag most likely, e.g.
```html
<script worklet="paint" src="paint.js"></script>
```
Which is the same as
```js
CSS.paintWorklet.import('paint.js');
```
>From https://github.com/w3c/css-houdini-drafts/issues/373 originally.
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/374 using your GitHub account
Received on Wednesday, 5 April 2017 22:00:53 UTC