power-cosmic / fog

Fog. Mobilized by Power Cosmic
GNU General Public License v2.0
1 stars 3 forks source link

JQlite domReady call twice #21

Closed csperlich closed 8 years ago

csperlich commented 8 years ago

JQlite doesn't seem to be able to handle two calls to the domReady function for a single page.

i.e. if one file says:

$(function() {
 //set stuff up
});

and another one says:

$(function() {
 //set stuff up
});

then I think the first one get's clobbered, or some other kind of conflict is occurring.

tyler-hoffman commented 8 years ago

My fork addresses the issue. I made a PR, but I didn't accept it yet. jQuery allows for that?

On Sat, Dec 5, 2015 at 4:13 AM, csperlich notifications@github.com wrote:

JQlite doesn't seem to be able to handle two calls to the domReady function for a single page.

i.e. if one file says:

$(function() { //set stuff up });

and another one says:

$(function() { //set stuff up });

then I think the first one get's clobbered, or some other kind of conflict is occurring.

— Reply to this email directly or view it on GitHub https://github.com/power-cosmic/fog/issues/21.

tyler-hoffman commented 8 years ago

I accepted it like a million years ago. Just cleaning up here.