Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
prototype.js tidbits
tree: 08510690d2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
clearer
experimental
lib
misc
protoquery
test
README.rdoc
add_script_add_stylesheet.js
array.extensions.js
behavior.should_be_present.js
benchmark.js
capability.html
checkbox_range.js
class.addbehavior.js
class.observable.js
class.watchable.js
class_include.js
colorLiteralToHex.js
console.js
cookie.js
draghelper.js
element.methods.js
event.interceptor.js
event.register.js
event.simulate.js
event_cache_buster.js
form.element.methods.js
form.methods.js
form_dispatcher.js
function.extensions.js
get_json.js
hash_changed.js
ie_ajax_cache_fix.js
ie_attributes_fix.js
insertRule.js
key_observer.js
object.extensions.js
safari_label_fix.js
set_builder.js
string.extensions.js

README.rdoc

Description

Protolicious is a set of javascript snippets based on prototype.js

Contents

Element (Element.Methods) extensions

  • Element#setProperty

  • Element#swapClassName

  • Element#enableClassName

  • Element#contains

  • Element#indexOf

  • Element#isTagName

  • Element#getContentWidth

  • Element#getContentHeight

  • Element#setWidth

  • Element#setHeight

  • Element#appearVisible

  • Element#delegate

  • Element#fillDocument

  • Element#centerInViewport

Function extensions

  • Function.K

  • Function#negate

  • Function#runOnce

  • Function#_new

  • Function#toDelayed

  • Function#toDeferred

  • Function#addAdvice

Array extensions

  • Array#sum

  • Array#namespace

Field (Form.Element.Methods) extensions

  • Field#isBlank

  • Field#present

Form (Form.Methods) extensions

  • Form#unserialize

Event extensions

  • Event.simulate

  • Event.register

  • Event.unregister

Cookie

  • Cookie.set

  • Cookie.get

  • Cookie.unset

Prototype

  • Prototype.addScript

  • Prototype.addStylesheet

Object extensions

  • Object.isEvent

  • Object.methodize

License

protolicious is licensed under the terms of the MIT license

Something went wrong with that request. Please try again.