[css-houdini-drafts] [worklets] (bikeshedding time!) import() name is potentially confusing...

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