TheHelper / TH-HTML5

TH-HTML5 is a community project opened to anyone (new or old) who has any interest in exploring the aspects of HTML5 and expanding their, as well as others', knowledge towards creating a site employing its new abilities.
http://www.thehelper.net/forums/showthread.php/163657-TH-HTML5-Community-Project
2 stars 0 forks source link

Added canvas directory, and created a small canvas demo. #7

Closed ghost closed 13 years ago

ghost commented 13 years ago

I added a directory for canvas-related projects, and I created a small canvas demo.

oskarihiltunen commented 13 years ago

I would move modernizr.js to libs/modernizr.js and requestAnimationFrame.js to /canvas/libs/requestAnimationFrame.js.

Both are likely to be used in several different projects, modernizr for all types of projects and the other one for several canvas projects (based on a quick look on it). Therefore moving them to 'global' namespace would reduce code duplication in the future.

ghost commented 13 years ago

I'm not actually sure how well that work work, as I believe each of these projects are intended to be checked-out individually, and if one (or more) of the dependencies aren't checked-out as well, then the entire demo will fail to run...

... unless there is some way to ensure the file is checked-out with the rest of the folder?

oskarihiltunen commented 13 years ago

Could you elaborate on what you mean with "checked-out"?

ghost commented 13 years ago

When someone wants to download the source of a project, do they not preform a checkout?

Or am I just going insane?

oskarihiltunen commented 13 years ago

You mean using git? They clone, fetch or pull the project. But AFAIK it's not possible to do so to a part of the source code (unless in several branches), only to all of it.

ghost commented 13 years ago

Indeed then, I am going insane, and my point is invalid. I'll change it sometime either today (if I end up not being busy), or tomorrow.

Edit: DAMN IT.