Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Errors in Getting Started Guide

$
0
0
Hi, I just wanted to list some erros ( in my opinion ) of the "Getting Started" section of the CanJS guide.

Perhaps these are already presented here in another thread, but I think it is a bit frustrating if you wanna learn something and the example source code at the first page has some errors in it.

#1: 

Where: http://canjs.com/guides/Tutorial.html -> Loading CanJS -> Example 1, Code Line 6
What: Missing "http:" at the beginning

#2:

Where: http://canjs.com/guides/Constructs.html -> Constructor Functions -> Example 1, Code Line 5
What: Missing "," after the "}" to separate the two "methods"

#3 (perhaps this is not a real error but rather confusing if you use the code from Example 2 as a base for "calling the super constructor (of Construct Todo)" within the same page):

Where: http://canjs.com/guides/Constructs.html -> Initialization -> Example 4 (Last Example), Code Line 1 and 3
What: Check that the prefix before the ".extend({" (Line 1) and ".prototype.init.apply(this, arguments);" (Line 3) is the same.

Viewing all articles
Browse latest Browse all 3491

Trending Articles