Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amitu/amdfix
AMDFix fixes AMD files
https://github.com/amitu/amdfix
Last synced: 1 day ago
JSON representation
AMDFix fixes AMD files
- Host: GitHub
- URL: https://github.com/amitu/amdfix
- Owner: amitu
- License: bsd-3-clause
- Created: 2015-09-16T12:27:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-17T10:19:48.000Z (about 9 years ago)
- Last Synced: 2024-04-17T02:59:17.199Z (7 months ago)
- Language: Python
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Instead of writing
```javascript
define(["dojo/dom-class", "dojo/on"], function(domClass, on){
domClass.add(document.body, "dojorocks");
on(window, "resize", function(){});
function foo() {
}
return foo;
});
```Write
```javascript
import dojo/dom-class;
// above is same as: import dojo/dom-class as domClass;
import dojo/on;domClass.add(document.body, "dojorocks");
on(window, "resize", function(){});
function foo() {
}
export foo;
```