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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    timtucker committed Sep 3, 2012
    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
  7. Update media/src/core/core.info.js

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

    timtucker committed Sep 3, 2012
    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"
  9. Update media/src/core/core.sizing.js

    timtucker committed Sep 3, 2012
    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
  10. Update media/src/core/core.sizing.js

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

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

    timtucker committed Sep 3, 2012
    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).
Commits on Sep 2, 2012
  1. Dev: Fix a couple of issues that were introduced in pull request #85

    DataTables committed Sep 2, 2012
    …- 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.
  2. Examples: update - bind the 'xhr' event to the table without calling …

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

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

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

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

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

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

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

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

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

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