敬告读者

一、为方便读者订正《Dojo权威指南》第1版第1次印刷中存在的错误,译者经过对本书全面审读、修改、标记后,拍摄了79幅勘误照片。由于逐一发布在网页上既浪费时间,又不利于读者下载查阅,因此我将它们打包为一个压缩文件,读者可以通过《Dojo权威指南》照片勘误下载页面单击“下载”按钮下载。

二、下载后,请先解压缩。其中,照片格式为.jpg,文件名的形式统一为“Dojo_DTG_11.jpg”,最关键的是“11”,它代表纸质书中的页码。因此,读者打开一幅照片,根据其文件名中的数字,就能知道该照片源于纸质书的哪一页。只要翻到对应页面,在具体位置上作出相同的修改或修订即可。

朋友们的留言

  1. Ryan Zhang | 11月 23rd, 2010 at 10:10

    P149,
    原文:
    dojo.query(“span.foo”, someDomNode).addClass(“foo”).removeClass(“bar”);

    这里是不是有问题, 既然query得到的是class等于foo的span节点, 那么为什么还需要调用addClass(“foo”).

    正确的是不是应该是:
    dojo.query(“span.foo”, someDomNode).removeClass(“foo”).addClass(“bar”);

    Reply to this comment
  2. Ryan Zhang | 11月 23rd, 2010 at 10:17

    P241,原文:
    “然后取得要将这个数据项加入其中的子数据项, 最后再把它添加到取得的子数据项的集合中”。

    这一段翻译的应该有点问题。 我没有看到英文的原文, 但是根据上下文的意思, 是不是应该翻译成:

    “然后取得要将这个数据项加入其中的父数据项, 取得父数据项的子数据项集合, 然后再把新的数据项添加到集合中。”

    Reply to this comment
  3. Ryan Zhang | 11月 23rd, 2010 at 10:20

    P243
    例9-15
    dojo.require(“dojo.data.ItemFileReadStore”);

    coffeeStore = new dojo.data.ItemFileReadStore({url:”coffee.json”});

    应该改成

    dojo.require(“dojo.data.ItemFileWriteStore”);

    coffeeStore = new dojo.data.ItemFileWriteStore({url: “coffee.json”});

    Reply to this comment
  4. Ryan Zhang | 11月 23rd, 2010 at 10:25

    P244
    例9-16
    在这里例子里面只调用了一次setValues方法。 原文如下

    //修改这个数据项-触发一个通知
    coffeeStore.setValues(darkRoasts, “children”, darkRoastChildren.concat(newItem));

    既然只修改了一次而且根据注释也只发送一个通知。
    那么为什么输出结果
    Just modified the children attribute for Dark Roasts
    会被打印两次

    Reply to this comment
  5. Ryan Zhang | 11月 27th, 2010 at 11:05

    P144 表5-2
    addContent(/*String*/content,/*String?|Integer?*/position)
    根据对应的说明,content既可以是String也可以是节点,那么应该改成
    addContent(/*String|Node*/content,/*String?|Integer?*/position)
    更准确

    Reply to this comment
  6. Ryan Zhang | 11月 27th, 2010 at 11:19

    P144表5-2
    style(/*String|Object*/style)
    style方法既可以是读取也可以是设置样式,所以改成
    style(/*String|Object*/style, /*String?*/value)更准确

    Reply to this comment
  7. ball mill | 01月 8th, 2011 at 10:23

    照片都看不到

    Reply to this comment
  8. Janean Decius | 09月 16th, 2011 at 02:33

    Good website. I was checking constantly this website and I am impressed! Very useful information specially the last part I care for such information much.

    Reply to this comment
  9. UGG Sheepskin Boots Australia | 09月 19th, 2011 at 09:11

    Looking for this information, which is very helpful, thank you.

    Reply to this comment
  10. UGG Highkoo Sale | 09月 27th, 2011 at 10:37

    Thanks for your share,thanks a lot.Good luck!

    Reply to this comment
  11. UGG Highkoo Sale | 09月 27th, 2011 at 10:44

    Took me awhile to read all the comments, but I really love the article. It proved to be very useful to me and I am sure to all the commenters here!

    Reply to this comment
  12. Ed Hardy T Shirts | 10月 5th, 2011 at 15:40

    Who has deceiv'd thee so oft as thy self?

    Reply to this comment
  13. ugg ブーツ | 10月 31st, 2011 at 14:22

    Thanks a lot for sharing this with all of us you really realize what you are speaking approximately! Bookmarked. Thank you!

    Reply to this comment
  14. Onitsuka Tiger Shoes | 11月 11th, 2011 at 15:45

    The lanscope belongs towards guy who appears at it. (Ralph Waldo Emerson, American thinker)

    Reply to this comment
  15. mulberry bag | 11月 17th, 2011 at 15:02

    Mulberry Bag which is famous for fashionable appearance and high quality have earned a good reputation all over the world. We offer some most popular Mulberry Shoulder Bags in an accessable price to you.

    Reply to this comment
  16. Air Force One Heels | 12月 8th, 2011 at 16:58

    Life is a smile to face the reality that the future of watching over obstacles; life is with the heart of the scissors, cut out in the way of life leaves green branches; life, is the face of confusion or darkness, the soul ignite beans big smile was bright and light show.

    Reply to this comment
  17. cheap newport cigarettes | 12月 21st, 2011 at 14:41

    Your article is useful for me. It is a good article.

    Reply to this comment

我来说两句儿

可以在留言中使用以下标签 :<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree