Make WordPress Core

Ticket #16665: scriptaculous.diff

File scriptaculous.diff, 8.9 KB (added by niallkennedy, 15 years ago)

Scriptaculous 1.9

  • wp-includes/js/scriptaculous/wp-scriptaculous.js

     
    1 // script.aculo.us scriptaculous.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us scriptaculous.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
     3// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
    44//
    55// Permission is hereby granted, free of charge, to any person obtaining
    66// a copy of this software and associated documentation files (the
     
    2424// For details, see the script.aculo.us web site: http://script.aculo.us/
    2525
    2626var Scriptaculous = {
    27   Version: '1.8.3',
     27  Version: '1.9.0',
    2828  require: function(libraryName) {
    2929    try{
    3030      // inserting via DOM fails in Safari 2.0, so brute force approach
     
    5454        Scriptaculous.REQUIRED_PROTOTYPE);
    5555
    5656    var js = /scriptaculous\.js(\?.*)?$/;
    57     $$('head script[src]').findAll(function(s) {
     57    $$('script[src]').findAll(function(s) {
    5858      return s.src.match(js);
    5959    }).each(function(s) {
    60                 var path = s.src.replace(js, ''),
    61                 includes = s.src.match(/\?.*load=([a-z,]*)/);
     60       var path = s.src.replace(js, ''),
     61       includes = s.src.match(/\?.*load=([a-z,]*)/);
    6262
    63                 // Modified for WordPress to work with enqueue_script
    64                 if ( includes ) {
    65                         includes[1].split(',').each( function(include) {
    66                                 Scriptaculous.require(path+include+'.js')
    67                         });
    68                 }
     63       // Modified for WordPress to work with enqueue_script
     64       if ( includes ) {
     65         includes[1].split(',').each( function(include) {
     66           Scriptaculous.require(path+include+'.js')
     67         });
     68       }
    6969    });
    7070  }
    7171};
  • wp-includes/js/scriptaculous/builder.js

     
    1 // script.aculo.us builder.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us builder.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
     3// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
    44//
    55// script.aculo.us is freely distributable under the terms of an MIT-style license.
    66// For details, see the script.aculo.us web site: http://script.aculo.us/
  • wp-includes/js/scriptaculous/sound.js

     
    1 // script.aculo.us sound.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us sound.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
     3// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
    44//
    55// Based on code created by Jules Gravinese (http://www.webveteran.com/)
    66//
  • wp-includes/js/scriptaculous/effects.js

     
    1 // script.aculo.us effects.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us effects.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
     3// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
    44// Contributors:
    55//  Justin Palmer (http://encytemedia.com/)
    66//  Mark Pilgrim (http://diveintomark.org/)
  • wp-includes/js/scriptaculous/unittest.js

     
    1 // script.aculo.us unittest.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us unittest.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
    4 //           (c) 2005-2009 Jon Tirsen (http://www.tirsen.com)
    5 //           (c) 2005-2009 Michael Schuerig (http://www.schuerig.de/michael/)
     3// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
     4//           (c) 2005-2010 Jon Tirsen (http://www.tirsen.com)
     5//           (c) 2005-2010 Michael Schuerig (http://www.schuerig.de/michael/)
    66//
    77// script.aculo.us is freely distributable under the terms of an MIT-style license.
    88// For details, see the script.aculo.us web site: http://script.aculo.us/
  • wp-includes/js/scriptaculous/scriptaculous.js

     
    1 // script.aculo.us scriptaculous.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us scriptaculous.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
     3// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
    44//
    55// Permission is hereby granted, free of charge, to any person obtaining
    66// a copy of this software and associated documentation files (the
     
    2424// For details, see the script.aculo.us web site: http://script.aculo.us/
    2525
    2626var Scriptaculous = {
    27   Version: '1.8.3',
     27  Version: '1.9.0',
    2828  require: function(libraryName) {
    2929    try{
    3030      // inserting via DOM fails in Safari 2.0, so brute force approach
     
    5454        Scriptaculous.REQUIRED_PROTOTYPE);
    5555
    5656    var js = /scriptaculous\.js(\?.*)?$/;
    57     $$('head script[src]').findAll(function(s) {
     57    $$('script[src]').findAll(function(s) {
    5858      return s.src.match(js);
    5959    }).each(function(s) {
    6060      var path = s.src.replace(js, ''),
  • wp-includes/js/scriptaculous/dragdrop.js

     
    1 // script.aculo.us dragdrop.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us dragdrop.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
     3// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
    44//
    55// script.aculo.us is freely distributable under the terms of an MIT-style license.
    66// For details, see the script.aculo.us web site: http://script.aculo.us/
     
    374374      if (this.options.scroll == window) {
    375375        with(this._getWindowScroll(this.options.scroll)) { p = [ left, top, left+width, top+height ]; }
    376376      } else {
    377         p = Position.page(this.options.scroll);
     377        p = Position.page(this.options.scroll).toArray();
    378378        p[0] += this.options.scroll.scrollLeft + Position.deltaX;
    379379        p[1] += this.options.scroll.scrollTop + Position.deltaY;
    380380        p.push(p[0]+this.options.scroll.offsetWidth);
  • wp-includes/js/scriptaculous/slider.js

     
    1 // script.aculo.us slider.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us slider.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Marty Haught, Thomas Fuchs
     3// Copyright (c) 2005-2010 Marty Haught, Thomas Fuchs
    44//
    55// script.aculo.us is freely distributable under the terms of an MIT-style license.
    66// For details, see the script.aculo.us web site: http://script.aculo.us/
  • wp-includes/js/scriptaculous/controls.js

     
    1 // script.aculo.us controls.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
     1// script.aculo.us controls.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010
    22
    3 // Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
    4 //           (c) 2005-2009 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
    5 //           (c) 2005-2009 Jon Tirsen (http://www.tirsen.com)
     3// Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
     4//           (c) 2005-2010 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
     5//           (c) 2005-2010 Jon Tirsen (http://www.tirsen.com)
    66// Contributors:
    77//  Richard Livsey
    88//  Rahul Bhargava