This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dojo.string is undefined

 
Mahesh Chandran
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am reading the The Definitive Guide for DOJO. I get this error when I try to execute:



This does not work on Firebug or a separate code. The example provided in http://dojotoolkit.org/reference-guide/1.6/dojo/string.html also gives the same error.

Can someone point out what I am doing wrong.

Thanks Mahesh.


 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not too familiar with Dojo, but from the 1.8 documentation, this is correct:

Here's a JSFiddle.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic