• Stars
    star
    152
  • Rank 244,685 (Top 5 %)
  • Language
    JavaScript
  • Created over 16 years ago
  • Updated about 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

prototype.js tidbits

DescriptionΒΆ ↑

Protolicious is a set of javascript snippets based on prototype.js (and other random stuff)

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.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

More Repositories

1

html-minifier

Javascript-based HTML compressor/minifier (with Node.js support)
JavaScript
4,939
star
2

compat-table

ECMAScript 5/6/7 compatibility tables
HTML
4,308
star
3

kratko.js

Simple tool to help refactor Javascript
JavaScript
266
star
4

jscritic

Quickly check how well 3rd party script behaves.
JavaScript
118
star
5

osx

Customization of OS X and installation of most of my work (and other) stuff
Shell
107
star
6

textmate-js-language-syntax-file

Better JS language syntax file for Textmate
JavaScript
91
star
7

detect-global

Bookmarklet for listing global variables (helps prevent accidental leaks)
JavaScript
86
star
8

cft

Common Feature Tests
JavaScript
68
star
9

nfe

"Named function expressions demystified" article
CSS
55
star
10

html-lint

Linter that was originally part of kangax/html-minifier
JavaScript
47
star
11

jstests

Various experiments with Javascript, HTML, CSS, etc.
29
star
12

domlint

Test suite against HTML/DOM conflicts
JavaScript
27
star
13

perfectionkills.com

HTML
26
star
14

array_subclassing

Generic function to subclass array in Javascript (using ECMAScript 5 features)
JavaScript
25
star
15

iseventsupported

A function for analyzing event support in browsers (using feature detection)
JavaScript
24
star
16

proto.menu

prototype.js based context menu
JavaScript
12
star
17

safarify

Bookmarklet to display safari version numbers next to webkit build numbers in GA
JavaScript
9
star
18

ape

APE Javascript Library
JavaScript
6
star
19

es5-testsuite

ES5 conformance test suite
JavaScript
6
star
20

foxify

Bookmarklet to report percentage of Firefox users by series
6
star
21

sputniktests-webrunner

sputniktests web runner
JavaScript
6
star
22

prototype-tmbundle

6
star
23

es5-compat-table

6
star
24

colorpicker

A fork of a ColorPicker by John Dyer
JavaScript
5
star
25

js-checker

ECMAScript/DOM conformance tests
JavaScript
5
star
26

css-tidbits

4
star
27

css-navigator

CSS Navigator Textmate Bundle (unofficially hosted)
4
star
28

shouldilearnjavascript.com

shouldilearnjavascript.com
3
star
29

jquery-context-menu

CSS
3
star
30

fitocracy-data-mining

JavaScript
2
star
31

executables

My personal executable files for geektool and other purposes.
Ruby
2
star
32

es5-helpers

Various experiments with ECMAScript 5
JavaScript
2
star
33

github_issues_viewer

JavaScript
1
star