forked from requirejs/requirejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtasks.txt
More file actions
212 lines (147 loc) · 8.06 KB
/
tasks.txt
File metadata and controls
212 lines (147 loc) · 8.06 KB
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
Release Notes
-------------------
- removed module.setExports support.
- removed require.def support
Next release
--------------
- Update docs about plugins have dependencies, note that the dependencies
should be able to execute ideally in node and java environments, or whatever
env the developer is targeting for a build.
- remove scriptAsync from require.js, order no longer needs it?
cdnjs:
- https://github.com/jrburke/require-jquery/issues/2
- how to do fallback scripts:
- FF2 wants evt.currentTarget?
- Opera no calls.
- Safari 2: load event for 404 and 500, error event for noserver.
- IE 6-8: load event.
- IE 9 standard: error event.
- FF, Safari, Chrome error events.
- example using backbone and such.
- jquery 1.6.3 released.
- clarify commonjs wrapping in amd api page.
- dynamic: plugin support.
- test that tests unique dependencies: duplicate uniques along with a dynamic plugin.
- test cyclical coffeescript dependency.
-> Hmm, just cut dynamic support for now?
- allow plugins to require require, other dependencies.
- run sc.handlebars.compile as part of a plugin call.
- domready
- code pass
- need to document writeFile
coffeescript:
- mix of types a problem? https://github.com/jrburke/require-cs/issues/5
- extend duplication: https://github.com/jrburke/require-cs/issues/7
- browserify
- backbone
- Test copyDir normalize change on windows.
wrap too.
- document wrap usage, faq-advanced, mention on optimization page for single file.
- Support require({priority: ['config']}) and have it affect paths for
paused resources. Trouble is makeModuleMap burns in the URL with the old
config, before the priority config loads, and the name resolution in
normalize uses package map information to resolve some names. ARGH PACKAGES!
It would also be good to avoid having to rename plugin resources after
a resource finishes loading. Maybe for both of those reasons, work out
a different algorithm in the loader.
HMM: is priority config even needed? Isn't a nested require enough?
Well, it is a bit different, but map out why.
- Blog post on config options using a pkg tool.
- integrate properly with cpm
- Offer alternate loader where ordered config is default?
- 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:
- rename r.js to be another name, confusing as a shorthand for require.js?
- 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?
- domReady plugin
- Update docs
- remove the config.ready support.
- remove require.ready
- add domReady docs.
- add domReady tests? Or tested already in the tests.
- Need waitForLoader test
- Need to add a boolean to indicate if if scripts are done.
- require.s.isDone used in Node and Rhino adapters?
- 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.
- Test DOMContentLoaded work related to dojo-contributors "bring back skipIeDomLoaded" thread,
selenium tests.
- http://trac.dojotoolkit.org/ticket/13113
- https://github.com/jrburke/requirejs/pull/71: process by 2/21
- r.js: do not find require calls inside define calls, to allow dynamic loading to
happen without var req = require gymnastics.
- If any other info: IE checkLoaded recursion? https://github.com/jrburke/requirejs/issues/82
- Confirm: From Richard Backhouse: As an FYI I have been doing my own investigation of using UglifyJS for compression
and one thing I found when trying to compress dojo 1.5 code was that I had ensure that "make_seqs"
flag was set to false when calling ast_squeeze. If I left this flag set to true the code would not load.
- https://github.com/jrburke/r.js/issues/1
Why can't plugins have dependencies? It is because the dependency is not fully evaluated.
Maybe rethink it, there have been some cases where creating a plugin that uses the
text plugin would be useful. However, would that mean the optimized result would include
the string twice in the output? Well for the text plugin, could allow other plugins to
indicate "do not inline this dependency" to help with that.
- localeList for i18n.js support, for better Dojo support.
Bugs to work on
------------------
- File bug for UglifyJS on dead code removal.
- 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?
- Allow specifying the use of a plugin in the data-main property? gets weird for built cases.
- 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.