Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Slide 55: Objects: Fixed - using "=" inside object instead of ":" #1

Merged
merged 1 commit into from Dec 24, 2012

Conversation

Projects
None yet
2 participants
Contributor

rishabhsrao commented Dec 24, 2012

The example below (on Slide 55 of the presentation) was using = instead of : for assignment:

myObject2 = {
    foo : "Foo", 
    bar : "Bar", 
    anotherObject : {
        baz : "Baz", 
        pez = "Pez"
    }
}; //this is called an object literal pattern

Thanks!

Slide 55: Objects: Fixed - using = inside object
Slide 55: Objects: Fixed - using = inside object
The below example was using "=" instead of ":" for assignment:

myObject2 = {
    foo : "Foo", 
    bar : "Bar", 
    anotherObject : {
        baz : "Baz", 
        pez = "Pez"
    }
}; //this is called an object literal pattern

bittersweetryan added a commit that referenced this pull request Dec 24, 2012

Merge pull request #1 from rishabhsrao/master
Slide 55: Objects: Fixed - using "=" inside object instead of ":"

@bittersweetryan bittersweetryan merged commit 572457f into bittersweetryan:master Dec 24, 2012

Owner

bittersweetryan commented Dec 24, 2012

Nice catch, thanks!

Contributor

rishabhsrao commented Dec 25, 2012

Sure, you're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment