Jump to content
L8V2L

Script tags

Recommended Posts

If I have a couple of script tags, they can have the potential of collision with each other with name space, correct?If I encapsulate each on in an object, will that fix that?

Share this post


Link to post
Share on other sites

there are also libraries and design practices for that as well.

* RequireJS

* Browserify

* AMD

* CommonJS

Share this post


Link to post
Share on other sites

there are also libraries and design practices for that as well.* RequireJS* Browserify* AMD* CommonJS

No libraries!!!

Share this post


Link to post
Share on other sites

I said there were also design practices / specs, like AMD. Maybe looks things up before you dismiss things you have no idea about. There is also the sandbox pattern and the module pattern.

Share this post


Link to post
Share on other sites

I said there were also design practices / specs, like AMD. Maybe looks things up before you dismiss things you have no idea about. There is also the sandbox pattern and the module pattern.

I'm pretty up for the module pattern... Care to speak on what the others are? A brief description. It can even be vague.

Share this post


Link to post
Share on other sites

or you can get a specific description, by doing some research.

Share this post


Link to post
Share on other sites
<script>if (typeof proj1 === 'undefined'){var proj1 = {};//project namespace}else{alert('Namespace conflict');throw {name:'error',message:'Namespace conflict'};}

Share this post


Link to post
Share on other sites

What laptop should I get? Is a Mac good? It seem to be the developer choice. Or is an window okay? I only ever use toashia, and that other brend I can't remember... HELP!!!! I'm in decisive!!!!Which brend should I go with!!!!And for a cheap prices!!!Please any suggestion!!!!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...