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

Re : Anyone know of a canjs modal dialog example ?

This should get you started ;)Modal - Based on Bootstrap + CanJShttps://gist.github.com/amcdaniel2/5644342Follow me on Twitter @amcdnl

View Article


How to change an observe inside of a compute?

Hey guys, having some issues with can compute that maybe someone has an easy answer for.  We are building a grid list very similar to the weekly tutorial, but are adding a filter inside.  We are trying...

View Article


Documentation for latest version of stealjs

Is there any documentation out for JavaScriptMVC 3.3 in particular with using stealjs and the use with jqueryMX or building packages?Ryan

View Article

Re : How to change an observe inside of a compute?

Could you simplify it into a JSFiddle? That makes it a lot easier to debug where the loop might be happening.

View Article

Using the Attributes Plugin

I am brand new to CanJS. Brand new to the concept of JS MVC frameworks in fact.I would like to have a model nested inside a model. I have a Block model that represents blocks of text on my page. But...

View Article


Testswarm

HiI am trying to rig a test to run under testswarm. It needs me to include its inject.js script after I load qunit.js. However, I am using steal and funcunit/qunit for all these, and I can't seem to do...

View Article

Re : Testswarm

Which version? What you are doing should work. Sent from my iPhoneOn May 25, 2013, at 12:32 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:

View Article

Don't update from master

This is a general announcement for anyone using JavaScriptMVC, or any of its sub projects (CanJS, Steal, etc).Do not update your projects to the latest master until after the end of next week.The...

View Article


Re : Testswarm

I've just rigged up a little test on my PC. Here is the code and result.1) HTML is as follows:<html>    <head>        <script type='text/javascript'...

View Article


DocumentJs generates no documentation

HiI have a problem using DocumentJS.First of all my project structure:Inventory/assets/www/ <--- root folder documentJSfuncunitinventory <-- project folderapplication <-- MVC...

View Article

Re : Steal Buildjs try to find index,html.js

Do nobody knows how to ignore cordova.js?

View Article

Re : Steal Buildjs try to find index,html.js

If you include cordova using steal, did you try to use packaged option?Read about it in docs.http://javascriptmvc.com/docs.html#!steal

View Article

Should I structure my whole html using template ?

Hi Guys,While using javascriptmvc should I render my whole html document using templates or use of templates should be for data rendering ?Which way is more efficient ?Thanks for your answers. :)

View Article


Re : Should I structure my whole html using template ?

Using client-side templates for your entire HTML is a bad idea.There is a cost to rendering a template, especially if it is not precompiled. Here are the steps to render a template:1) Fetch via Ajax2)...

View Article

example of using zepto.js with steal.js

I see in the canjs docs examples of using require.js with zepto.js but not steal.js. Can anyone provide an example of using zepto with steal? Or is that discouraged?

View Article


Re : [solved]DocumentJs generates no documentation

I solved it by myself.It was a path issue. You have to type documentjs\docs.bat instead of documentjs/docs.bat like it is written at the tutorial page.After that it works

View Article

Image may be NSFW.
Clik here to view.

DocumentJS docs.html doesn't show data

Hi,after generating my documentation there are a lot of json-files inside my docs folder.It looks like everything is done.But on my docs.html nothing is shown.Just the header of my index page.I...

View Article


Re : example of using zepto.js with steal.js

Steal can be used with any library. You will have to use a shim so Steal can properly pass Zepto into steal callbacks:stealconfig.js...shim: {      'zepto': {            exports: 'Zepto'      }}...And...

View Article

Re : How to change an observe inside of a compute?

Hopefully this will illustrate the point i'm trying to make:http://jsfiddle.net/SyEXx/16/I'm basically trying to filter the results into a new can.Observe.List for the template to use, so that when...

View Article

Re : How to change an observe inside of a compute?

Another question I'd love to know: is there any way to identify what value "change" triggered the compute to rerun?My dev team loves the magic of CanJS, until there is an issue that we are...

View Article
Browsing all 3491 articles
Browse latest View live