Commits on Apr 4, 2013
  1. @savetheclocktower
  2. @savetheclocktower
Commits on Mar 26, 2013
  1. @savetheclocktower

    Merge pull request #98 from kir/master

    Ensure that '+' is correctly deserialized in `String#toQueryParams`.
    savetheclocktower committed Mar 25, 2013
  2. @savetheclocktower
  3. @savetheclocktower
  4. @savetheclocktower

    Merge pull request #96 from victor-homyakov/patch-33

    Use native `String#startsWith` and `String#endsWith` if present. Turn existing implementation into a true polyfill.
    savetheclocktower committed Mar 25, 2013
  5. @savetheclocktower
Commits on Feb 3, 2013
  1. @kir
Commits on Jan 26, 2013
  1. @victor-homyakov

    Updated unit tests

    victor-homyakov committed Jan 27, 2013
  2. @victor-homyakov

    Optional position argument

    Added optional position argument to `String#startsWith`, `String#endsWith`, as described in https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String/startsWith and https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String/endsWith.
    Documented new arguments and examples.
    victor-homyakov committed Jan 27, 2013
Commits on Jan 24, 2013
  1. @victor-homyakov
Commits on Dec 28, 2012
  1. @savetheclocktower

    Merge pull request #90 from jwestbrook/IE8Opacityfix

    Prevent exception in IE when calling `Element.getOpacity`.
    savetheclocktower committed Dec 28, 2012
  2. @jwestbrook

    IE8 fix for the opacity check

    IE8 fails to set the match variable which throws a javascript variable
    jwestbrook committed Dec 28, 2012
  3. @savetheclocktower

    Merge pull request #88 from victor-homyakov/patch-32

    Don’t send Ajax headers whose values are `null`.
    
    This allows end users to opt out of `X-Requested-With` and `X-Prototype-Version` by explicitly setting them to `null`. (Use case: making a CORS Ajax request without a preflight request.)
    savetheclocktower committed Dec 28, 2012
Commits on Dec 27, 2012
  1. @victor-homyakov

    Possibility to remove X-* headers for CORS request

    `setRequestHeaders()` unconditionally adds specific headers to any request.
    
    This patch gives possibility to remove these headers in order to allow simple CORS request.
    
    Based on http://stackoverflow.com/questions/13814739/prototype-ajax-request-being-sent-as-options-rather-than-get-results-in-501-err and https://prototype.lighthouseapp.com/projects/8886/tickets/1590-ability-to-remove-headers-in-ajaxrequestsetrequestheaders-for-cors
    victor-homyakov committed Dec 27, 2012
Commits on Dec 26, 2012
  1. @savetheclocktower

    Merge pull request #87 from victor-homyakov/patch-31

    Prevent error in `Element.viewportOffset` when string is passed as first argument.
    savetheclocktower committed Dec 26, 2012
Commits on Dec 25, 2012
  1. @victor-homyakov

    viewportOffset: extend forElement (it's used twice)

    `forElement` was used twice in `viewportOffset`:
    1. at line 1147 as `var element = $(forElement);`
    2. at line 1156 as `element = forElement;`
    This leads to error when `forElement` is string: `Element.viewportOffset('id')`
    victor-homyakov committed Dec 25, 2012
Commits on Nov 2, 2012
  1. @savetheclocktower

    Merge pull request #74 from victor-homyakov/patch-24

    Fix PDoc for `toQueryString`.
    savetheclocktower committed Nov 2, 2012
  2. @savetheclocktower

    Merge pull request #77 from victor-homyakov/patch-26

    `toQueryPair()`: `value` is already defined
    savetheclocktower committed Nov 2, 2012
  3. @savetheclocktower

    Merge pull request #78 from victor-homyakov/patch-27

    Merged nested if() into single expression
    savetheclocktower committed Nov 2, 2012
  4. @savetheclocktower

    Merge pull request #80 from sdumitriu/issue-1431

    Fix an issue where `writeAttribute` tries to set an attribute named `undefined` in certain cases. [#1431 state:resolved]
    savetheclocktower committed Nov 2, 2012
Commits on Oct 26, 2012
  1. @sdumitriu

    Issue #1431: writeAttribute('checked') fails to write the 'checked' a…

    …ttribute, writes an 'undefined' attribute instead
    sdumitriu committed Oct 25, 2012
Commits on Oct 23, 2012
  1. @victor-homyakov
Commits on Oct 22, 2012
  1. @victor-homyakov
Commits on Oct 3, 2012
  1. @victor-homyakov
Commits on Sep 27, 2012
  1. @savetheclocktower

    Merge pull request #66 from rydenius/1384-form-serialize-fix

    Fix regression in `Form.serialize` when handling `<select multiple>` elements. [#1384 state:resolved]
    savetheclocktower committed Sep 27, 2012
  2. @savetheclocktower

    Merge pull request #69 from victor-homyakov/patch-22

    Clear element creation cache in IE on page unload.
    savetheclocktower committed Sep 27, 2012
  3. @savetheclocktower

    Merge pull request #70 from rydenius/1339-hasLayout_IE-fix

    Fix IE regression in `Element#setOpacity`. [#1339 state:resolved]
    savetheclocktower committed Sep 27, 2012
  4. Fix for #1339, regression that setOpacity IE regression in 1.7.1 when…

    … setting opacity on an element before it was added to DOM. Also fixed some related tests.
    Jorgen Rydenius committed Sep 27, 2012
Commits on Sep 25, 2012
  1. @victor-homyakov
Commits on Sep 24, 2012
  1. @victor-homyakov

    Prevent IE leaks

    Without fix:
    
     - when `ELEMENT_CACHE` is not empty (e.g. `SPAN` was created with `new Element('span'))`, IE will leak memory for `DIV` and `ELEMENT_CACHE` after page unload.
     - when `ELEMENT_CACHE` is empty, `DIV` is cleaned correctly without any additional actions.
    
    Problem detected and fix tested in sIEve-0.0.8.
    victor-homyakov committed Sep 24, 2012
Commits on Sep 21, 2012
  1. Replacing '%20' with '+' in for the keys too in the form to string se…

    …rializer.
    Jorgen Rydenius committed Sep 21, 2012
Commits on Sep 20, 2012
  1. Fixed bug #1384 for the hash accumulator + test case.

    Jorgen Rydenius committed Sep 20, 2012
  2. @npup

    Add test and changes for serializing forms with multiple select to a …

    …string to work again.
    
    Signed-off-by: Jorgen Rydenius <jorgen@pingpong.net>
    npup committed with Jorgen Rydenius Sep 20, 2012
Commits on Sep 1, 2012
  1. @savetheclocktower

    Ensure we set `document.loaded` to `true` (and fire `dom:loaded`) whe…

    …n Prototype is loaded asynchronously after DOMContentLoaded.
    savetheclocktower committed Aug 31, 2012