lewisje / ourlibrary

Automatically exported from code.google.com/p/ourlibrary
0 stars 0 forks source link

Partial build: Error: createElement is not defined #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to the online My Library builder: 
2. Select only the Event, Image, and Image > Preload modules.
2. Click the "Test HTML" button.
3. Results in the following Javascript error: "'createElement' is not
defined" (on line 303)

What is the expected output? What do you see instead?
 * There should be no Javascript errors. Instead I got a Javascript error
with the message "'createElement' is not defined".
 * The Event test button ("Click Me") on the "Test HTML" page should be
enabled whenever building the "Event" module (on most browsers). Instead,
it is disabled.

What version of the product are you using? On what operating system?
 * My Library: only the Event, Image, and Image > Preload modules (using
the online builder around 5:30pm on April 14, 2010)
 * Browsers: Firefox 3.5.7 and IE8. (This issue should be browser-independent)
 * OS: Windows XP Pro SP3

Please provide any additional information below.
 1) I don't see the variable "createElement" declared anywhere in the
custom build, so the error is a valid one.
 2) When I try to build only the Event module _or_ the Event and Image
modules, I don't get any errors and attachListener is available (which is
unexpected). My best guess is a bug in the builder's dependency
calculation, something to do with Image > Preload.

Thanks,
Ethan B

Attaching "mylib-busted.js"

Original issue reported on code.google.com by ethan.sherrie on 14 Apr 2010 at 9:50

Attachments:

GoogleCodeExporter commented 9 years ago
Builder dependency issue (Preload module needs createElement).  Fixed.  Thanks 
Ethan!

Original comment by dmark.ci...@gmail.com on 19 Apr 2010 at 6:21