Developer Notes for prototype.jsが1.4.0対応に

去年の夏、prototype.js 1.3.1の英語ドキュメントが出て話題になりました。はてなでも多くのユーザーがブックマークしました。

Developer Notes for prototype.js covers version 1.4.0

そのドキュメントが1.4.0対応になりました。ご存知でしたでしょうか?久しぶりにprototype.jsのドキュメントが見たくなって、自分のはてなブックマークを漁って、見に行きました。それでドキュメントが1.3.1から1.4.0に更新されたことに気がつきまいた。

どれくらい変更されたのか気になったので1.3.1と1.4.0のドキュメントのdiffをとってみることにしました。コマンドラインによるテキストのdiffと、目視で以下の追加・変更点のリストアップしました。(やるんじゃなかった、結構時間かかりました。。。)

  • The utility functions
    • Using the $A() function
    • Using the $H() function
    • Using the $R() function
  • The Ajax object
    • Ajax.Responders & sample code
  • Extensions for the Object class
    • inspect(targetObj)
  • Extensions for the Number class
  • Extensions for the String class
    • stripScripts()
    • extractScripts()
    • evalScripts()
    • toQueryParams()
    • parseQuery()
    • toArray()
    • camelize()
  • Extensions for the Array class
    • clear()
    • first()
    • last()
    • compact()
    • flatten()
    • without(value1 [, value2 [, .. valueN]])
    • indexOf(value)
    • reverse([applyToSelf])
    • shift()
    • inspect()
  • Extensions for the document DOM object
    • getElementsByClassName(className [, parentElement])
  • The Prototype object
    • K
  • The Hash object
    • keys()
    • values()
    • merge(otherHash)
    • toQueryString()
    • inspect()
  • The ObjectRange class
    • start
    • end
    • exclusive
    • [ctor](start, end, exclusive)
    • include(searchedValue)
  • The Ajax object
    • activeRequestCount
  • The Ajax.Responders object
    • responders
    • register(responderToAdd)
    • unregister(responderToRemove)
    • dispatch(callback, request, transport, json)
  • The Ajax.Request class
    • url
    • evalJSON()
    • evalReponse()
    • header(name)
    • setRequestHeaders()
  • The options argument object
    • onException
  • The Ajax.Updater class
    • ScriptFragment [deleted]
  • The Element object
    • classNames(element)
    • empty(element)
    • getDimensions(element)
    • getStyle(element, cssProperty)
    • makeClipping(element)
    • makePositioned(element)
    • setStyle(element, cssProperty)
    • scrollTo(element)
    • undoClipping(element)
    • undoPositioned(element)
    • update(element, html)
    • visible(element)
  • The Element.ClassNames class
    • [ctor](element)
    • add(className)
    • remove(className)
    • set(className)
  • The Abstract.Insertion class
    • contentFromAnonymousTable()
  • The Insertion.Bottom class
    • [ctor](element, content) & sample code
  • The Form object
    • findFirstElement(form)

追記(2006/02/08 17:10)

日本語版も1.4に対応したようです。

prototype.js の開発者向けメモ バージョン 1.4.0 対応