forked from requirejs/requirejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.txt
226 lines (147 loc) · 7.44 KB
/
tasks.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
Release Notes
-------------------
1.1 items?
--------------
- map stuff
- with config:
http://groups.google.com/group/requirejs/browse_thread/thread/b382d90534f883db#
https://groups.google.com/group/amd-implement/browse_thread/thread/c36e284a7f85021a/2290754c54b3ddad?#2290754c54b3ddad
- remove special jquery detection, only do it for define() calls.
- check bug list
- robust handling for anon modules loaded outside loader.
- read config from main.js file for build?
- baseUrl and name optional in optimizer? r.js -o include=a,b out=foo.js
- globals: config to help underscore case?
Next release
--------------
- Need to talk about main: arg in the example.build.js, backlink to optimization page.
- https://github.com/jrburke/r.js/issues/81 share config with main.js
- uselib merge for r.js
- dojo stuff
- anon module errors
- almond+order.js
- require-cs circular ref.
- latest q, its define does not get a name.
- jquery mobile:
- jquery.mobile.support.js, get rid of named module
- why is order needed?
- what about onError cleanup: https://github.com/jrburke/requirejs/issues/156?
/**
* "undefines" a module. Acts like it has not loaded yet.
*/
function undef(fullName, url) {
delete defined[fullName];
delete specified[fullName];
delete loaded[fullName];
delete urlMap[fullName];
delete urlFetched[url];
}
- coffeescript 1.2 released, switch over the cs plugin.
- update optimization page to mention copying config to build.
- global and local? nocontext thing?
- make a decision matrix of when to use what. Mention lowercase names for file name convention.
- Feedback to ES group
- Constructive feedback for node community:
- amd as wrapped format
- proposal for extension to allow amd in modules via plugin api.
- Make require.js robust against anon modules that are not loaded through loader.
- just give them temporary IDs and console.log the issue.
- Generic design for gladius approach, using has, and the multiversion configs.
- order plugin not work with phantomjs build?
CentOS 5.6 (Final), PhantomJS 1.4.1, Qt 4.7
- paths entry for socket.io to remote domain/port, but then do a require.toUrl('socket.io') and it returns
a local path instead of the remote path?
- Should mention 'empty:' on the optimization page, particularly for excluding content.
- Try dojo with requirejs
- http://sfoster.dojotoolkit.org/dojobox/1.7-branch/util/debug.profile.js
- http://jsfiddle.net/sfoster/ztfdZ/
- upload plugins to cdnjs
- Spine
- handlebars
- raphael
- less
- jquery plugins
- Work on module adapter format: make sure global for jquery uses jQuery.
- If OK, then do pull request for backbone branch.
- clarify commonjs wrapping in amd api page.
- Doc: add info about overriding requirejs.onError.
- consider opt in fallback for define calls, detect require, doc.write it...
- Need to document define.amd.jQuery flag.
--------
- onResourceLoad, useful?
- cdnjs: how to use with fallback
- has() source trimming, needs brace matching?
- need to surface pragmasOnSave better?
- example using backbone and such.
- example that shows how to do a "include *" in a build.
- coffeescript: extend duplication: https://github.com/jrburke/require-cs/issues/7
- integrate properly with cpm
- A way to support local file/other kinds of caches?
http://groups.google.com/group/requirejs/browse_thread/thread/77092307ac6b9acb
http://www.html5rocks.com/en/tutorials/file/filesystem/#toc-filesystemurls
Docs:
- Pointer to motivations behind current thing, reason for dependencies.
- Update the coffeescript plugin to use the writeFile API?
- jjb's diagnostic/debug branch with dependency mappings
- https://github.com/jrburke/requirejs/issues/104: define as a special dependency?
- replacement for modify that intercepts callbacks, holds off until another module loads them?
- A way to show dependency graph too?
- Minify the require.js files with UglifyJS.
- https://github.com/jrburke/requirejs/pull/71: process by 2/21
- If any other info: IE checkLoaded recursion? https://github.com/jrburke/requirejs/issues/82
Bugs to work on
------------------
- Update AMD page to mention require scanning means only do them at the top.
- Consider patches in jetpack for:
- removing scanning
- add amd object
- add plugins?
- building with packages.build.js, the alpha/replace path mapping does not work out?
- build's name insertion if there is comment between define( and the [dependencies]
- ending slash in paths should throw error: https://github.com/jrburke/requirejs/issues/issue/49/
- Document new closure compiler options from neonstalwart
- require.modify alternative syntax/patch.
- has.js plugins
- require.def patch: https://github.com/jrburke/requirejs/pull/50
- Visualization of dependencies, highlighting circular dependencies: RobbertAtWork
- email on jsonp removal, toUrl and package names.
- Nested package config: https://github.com/jrburke/requirejs/pull/28
- IE, on errors, hits script onload, but need to make sure it is treated as a failure?
- https://github.com/jrburke/requirejs/issues#issue/26:
spider: throw with isCheckLoaded: maybe pass for refactor branch?
https://github.com/jrburke/requirejs/issues/issue/9
- Optimizer cannot include order! plugins in a build at the moment.
Optimizer improvements:
2) Investigate the issue with main.js baseUrl overriding the one in app.build.js
4) See if the pathing can be made simpler (abde's comment).
- Figure out if isCheckLoaded can be avoided. Not likely, but revisit.
- Finish PS3 work, investigate test failures, document level of support.
- Check out blackberry emulators at:
https://www.blackberry.com/Downloads/entry.do?code=060AD92489947D410D897474079C1477
- Building a lib that has its own lookup paths, so it can be self-contained?
but what if want to share code? Maybe just make it an option, you can do it,
but lose out on shared common.
- For function(require, exports, module) form, do not pass exports if the function
does not ask for it, to allow the function to set the exported value by returning.
- Figure out why priorityOrder test does not work, and if it should be supported.
Loading a plugin while waiting for a priority load may not be worth supporting,
it also means it will be slower. A priority module can include plugins but just
use a plugin to load the priorit module.
- DOH updates
- get latest code
- fix rendering in IE 9 standards? How to get it to render in IE9 standard mode?
- Allow module names that match Object.prototype method names?
- browser test for loading css?
- Best practices/architecture guide
- consider removing require.isBrowser and require.s.isBrowser, check the tests, and send email to list first.
- Make sure text plugin works offline.
- Get Blackberry simulator. Blackberry greater than 4.6, and particulary with the Blackberry 9500 simulator (with OS v4.7),
install and launch Blackberry MDS service simulator before running simulator to get network.
- trying to find path of the file executed, as given to rhino:
http://groups.google.com/group/jsdoc-2/msg/b1dd2f8991156fa0
- with appName, and no native require, setting path to be outside the baseUrl meant that the require path was really
relative to the output folder name?
- Use JSDoc to document a full module?
- When doing docs via jsdoc, using {some/module} as return types? How does JSDoc deal with the nested objects?
Probably needs custom work to get it recognize the module concept thing.
- To validate with Caja: http://caja.appspot.com/ and paste the code inside a script tag.