Permalink
Commits on Sep 7, 2012
  1. merge from upstream

    committed Sep 7, 2012
Commits on Sep 4, 2012
  1. Merge pull request #98 from timtucker/patch-14

    Update media/src/core/core.sort.js
    DataTables committed Sep 4, 2012
  2. Merge pull request #97 from timtucker/patch-13

    Update media/src/core/core.info.js
    DataTables committed Sep 4, 2012
  3. Merge pull request #96 from timtucker/patch-12

    Update media/src/core/core.info.js
    DataTables committed Sep 4, 2012
  4. Merge pull request #95 from timtucker/patch-11

    Update media/src/core/core.sizing.js
    DataTables committed Sep 4, 2012
  5. Merge pull request #94 from timtucker/patch-10

    Update media/src/core/core.sizing.js
    DataTables committed Sep 4, 2012
  6. Merge pull request #93 from timtucker/patch-9

    Update media/src/core/core.scrolling.js
    DataTables committed Sep 4, 2012
  7. Merge pull request #91 from timtucker/patch-7

    Update media/src/core/core.scrolling.js
    DataTables committed Sep 4, 2012
  8. Merge pull request #99 from timtucker/patch-15

    Update media/src/DataTables.js
    DataTables committed Sep 4, 2012
  9. Update media/src/DataTables.js

    Simplify by not passing in undefined to the outer closure
    timtucker committed Sep 4, 2012
  10. Update media/src/core/core.sort.js

    Speed things up by applying classes only when needed
    timtucker committed Sep 4, 2012
Commits on Sep 3, 2012
  1. Update media/src/core/core.sort.js

    Use var to keep track of # of classes found (length on sparse array doesn't work properly)
    timtucker committed Sep 3, 2012
  2. Update media/src/core/core.sort.js

    Further refinement - stop once all sorting classes have been seen
    timtucker committed Sep 3, 2012
  3. Update media/src/core/core.sort.js

    Combined method for removing classes
    timtucker committed Sep 3, 2012
  4. Update media/src/core/core.sort.js

    Forgot parameter to lastIndexOf
    timtucker committed Sep 3, 2012
  5. Update media/src/core/core.sort.js

    Use simpler dom-based method for deferred render
    timtucker committed Sep 3, 2012
  6. Update media/src/core/core.sort.js

    Simplify and improve performance
    - Only check once for the presence of any sorting class instead of checking for the 3 individual classes
    - Use lastIndexOf(str, 0) instead of indexOf
    
    http://jsperf.com/rep-reg-string/4
    timtucker committed Sep 3, 2012
  7. Update media/src/core/core.info.js

    Simplify check for filtering / empty record set
    timtucker committed Sep 3, 2012
  8. Update media/src/core/core.info.js

    Use greedy match regex for replacements
    
    Otherwise, you could have:
    "_START_ of _TOTAL_, showing _START_ to _END_"
    replaced as:
    "1 of 5, showing _START_ to 3"
    timtucker committed Sep 3, 2012
  9. Update media/src/core/core.sizing.js

    Use document.body rather than document.getElementsByTagName
    (Makes things consistent with the rest of the codebase and should be faster)
    
    http://jsperf.com/document-body-vs-document-getelementsbytagname-body-0
    timtucker committed Sep 3, 2012
  10. Update media/src/core/core.sizing.js

    Define nWrapper earlier to avoid calling dom to get the parentNode multiple times in the initial loop
    timtucker committed Sep 3, 2012
  11. Update media/src/core/core.scrolling.js

    Use o.nScrollHead / o.nScrollFoot rather than traversing through the dom again to get the parentNodes for nScrollHeadInner / nScroolFootInner
    timtucker committed Sep 3, 2012
  12. Update media/src/core/core.scrolling.js

    Only pass in what's needed to _fnApplyToChildren (don't need to be passing in both the sizer and node to size in most cases).
    timtucker committed Sep 3, 2012
Commits on Sep 2, 2012
  1. Dev: Fix a couple of issues that were introduced in pull request #85

    …- 1. Mix of spaces and tabs :-). 2. documentation generation was broken due to the use of another closure, 3. minification was broken as window, document, undefined were been aliased and 4. jshint was throwing errors. This addresses those issues, primarily by shifting the closures around.
    DataTables committed Sep 2, 2012
  2. Examples: update - bind the 'xhr' event to the table without calling …

    …DataTables - no need for that call to be made.
    DataTables committed Sep 2, 2012
  3. Merge pull request #89 from timtucker/patch-6

    Use hasChildNodes() rather than childNodes.length
    DataTables committed Sep 2, 2012
  4. Merge pull request #88 from timtucker/patch-5

    Update media/src/core/core.data.js
    DataTables committed Sep 2, 2012
  5. Merge pull request #87 from timtucker/patch-4

    Allow adding / removing an arbitrary number of stripes
    DataTables committed Sep 2, 2012
  6. Merge pull request #86 from timtucker/patch-3

    Improve dom iteration performance in _fnApplyToChildren
    DataTables committed Sep 2, 2012
Commits on Aug 31, 2012
  1. Update media/src/ext/ext.paging.js

    Cache node
    timtucker committed Aug 31, 2012
  2. Update media/src/ext/ext.paging.js

    Use a different approach that caches nodes
    (may actually minify better as well)
    timtucker committed Aug 31, 2012
  3. Update media/src/ext/ext.paging.js

    Replace childNodes.length check with hasChildNodes() in one more place
    timtucker committed Aug 31, 2012
  4. Update media/src/ext/ext.paging.js

    Use hasChildNodes() rather than childNodes.length
    
    See the following jsperf test for the difference in performance:
    http://jsperf.com/haschildnodes-vs-childnodes-length
    timtucker committed Aug 31, 2012
  5. Update media/src/core/core.support.js

    Use firstChild / nextSibling rather than childNodes
    timtucker committed Aug 31, 2012