Re : stealjs/canjs
Thank you, and js.bat, js and stealconfig.js at that level? Like this it works for meMohamed Cherif BOUCHELAGHEM
View ArticleRe : stealjs/canjs
I have stealconfig.js at that level, but both js and js.bat are under the steal directory.Not sure if that is where they belong.
View ArticleRe : can.observe.delegate doesn't look up the controller's option
Yeah, that was it ^^Thanks for the help
View ArticleRe : stealjs/canjs
stealconfig.js should be at the root of your site, and steal directory too,I put all other library stuff in /lib folder: /lib/can, /lib/bootstrap, /lib/jquery (jquery++), and to shorten steal paths I...
View ArticleRe : stealjs/canjs
Thank you alex, I have the same structure now but still learning ins and outs of stealjs Mohamed Cherif BOUCHELAGHEM
View ArticleRe : Control Architecture: One highly-configurable control class or many...
General advice: combine, split, inherit as you feel your code becomes more maintainable, be consistent and DRY with your classes.
View ArticleRe : Future of FuncUnit
Hey daff. With FuncUnit can you write tests for apps that require you to be logged in?I assume you have to log in the user first, but was wondering if this was an easy task to accomplish. I am going to...
View ArticleRe : Models and Socket IO
Any chance of you guys sharing the code that runs the latest weekly widget blog post that uses CanJS and Socket.IO ? Tutorial is great. Getting to muck around with the code would be even better.
View ArticleRe : stealjs/canjs
Alex,Is that directory structure something that you came up with or something recommended by Bitovi crew?As far as putting can in a lib folder.
View ArticleRe : How to find the installed version of javascriptMVC?
Not sure it is actually in any file specifically for the purpose of querying for it.You could probably just look in the changelog.md and use the version of the latest entry.
View ArticleRe : Control Architecture: One highly-configurable control class or many...
Thanks for the replies; much appreciated.I have a somewhat underlying question: In your apps, to apply the same functionality to different elements in the UI, do you ever create more than one instance...
View ArticleRe : Future of FuncUnit
Thanks for the info on FuncUnit -- looking forward to it.--We made a proof-of-concept for tests which required the user to be logged in -- we initially did it by having the test fill out and submit the...
View ArticleRe : CanJS Tracker binding plugin is throwing an error I can't figure out
I had a little time to play around with CanJS and AMD.I've added an example of using Tracker with CanJS and AMD to the github repo.https://github.com/thecountofzero/tracker/tree/master/amdIt is working...
View ArticleRe : Future of FuncUnit
Thanks for the reply. I am going to give this some thought and then I'll share my ideas.
View ArticleRe : stealjs/canjs
The most common directory structure has all Bitovi libraries at the root along with folder(s) for the app:/root /appname /can /canui /documentjs /jquery /funcunit /steal...
View ArticleRe : stealjs/canjs
Thank you Curtis it's very clear like this, just one more question, /appname folder contains small apps (app modules) too?for example:...
View ArticleShim exports for already-loaded js files
I'm beginning to modularize a non-steal/non-amd app, and I think I've found an issue where already-loaded files are not properly exporting values from their shim config. I'm not certain that I'm doing...
View ArticleRe : Shim exports for already-loaded js files
I will hopefully have time to look into this next week. This week, I am on DocumentJS.But, I'm guessing something like your fix sounds about right. I will look into it as soon as I can. If you don't...
View ArticleRe : stealjs/canjs
Ok cool. That is how I have it except for js and js.bat being within steal, but that is a simple switch.Thanks Curtis.
View ArticleRe : stealjs/canjs
Heres a good structure .... say we have a app with 2 'big' modules inside ... a file manager and a image editor/root /app /editor /views --> views specific to...
View Article