Quantcast
Channel: JavaScriptMVC Forum
Browsing all 3491 articles
Browse latest View live

Re : stealjs/canjs

Thank you, and js.bat, js and stealconfig.js at that level? Like this it works for meMohamed Cherif BOUCHELAGHEM

View Article


Re : 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 Article


Re : can.observe.delegate doesn't look up the controller's option

Yeah, that was it ^^Thanks for the help

View Article

Re : 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 Article

Image may be NSFW.
Clik here to view.

Re : stealjs/canjs

Thank you alex, I have the same structure now but still learning ins and outs of stealjs Mohamed Cherif BOUCHELAGHEM

View Article


Re : 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 Article

Re : 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 Article

Re : 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 Article


Re : 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 Article


Re : 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 Article

Re : 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 Article

Re : 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 Article

Re : 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 Article


Re : Future of FuncUnit

Thanks for the reply. I am going to give this some thought and then I'll share my ideas.

View Article

Re : 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 Article


Re : 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 Article

Shim 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 Article


Re : 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 Article

Re : 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 Article

Re : 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
Browsing all 3491 articles
Browse latest View live