Ticket #16665: scriptaculous.diff
| File scriptaculous.diff, 8.9 KB (added by , 15 years ago) |
|---|
-
wp-includes/js/scriptaculous/wp-scriptaculous.js
1 // script.aculo.us scriptaculous.js v1. 8.3, Thu Oct 08 11:23:33 +0200 20091 // script.aculo.us scriptaculous.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)3 // Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 4 4 // 5 5 // Permission is hereby granted, free of charge, to any person obtaining 6 6 // a copy of this software and associated documentation files (the … … 24 24 // For details, see the script.aculo.us web site: http://script.aculo.us/ 25 25 26 26 var Scriptaculous = { 27 Version: '1. 8.3',27 Version: '1.9.0', 28 28 require: function(libraryName) { 29 29 try{ 30 30 // inserting via DOM fails in Safari 2.0, so brute force approach … … 54 54 Scriptaculous.REQUIRED_PROTOTYPE); 55 55 56 56 var js = /scriptaculous\.js(\?.*)?$/; 57 $$(' headscript[src]').findAll(function(s) {57 $$('script[src]').findAll(function(s) { 58 58 return s.src.match(js); 59 59 }).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,]*)/); 62 62 63 // Modified for WordPress to work with enqueue_script64 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 } 69 69 }); 70 70 } 71 71 }; -
wp-includes/js/scriptaculous/builder.js
1 // script.aculo.us builder.js v1. 8.3, Thu Oct 08 11:23:33 +0200 20091 // script.aculo.us builder.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)3 // Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 4 4 // 5 5 // script.aculo.us is freely distributable under the terms of an MIT-style license. 6 6 // 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 20091 // script.aculo.us sound.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)3 // Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 4 4 // 5 5 // Based on code created by Jules Gravinese (http://www.webveteran.com/) 6 6 // -
wp-includes/js/scriptaculous/effects.js
1 // script.aculo.us effects.js v1. 8.3, Thu Oct 08 11:23:33 +0200 20091 // script.aculo.us effects.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)3 // Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 4 4 // Contributors: 5 5 // Justin Palmer (http://encytemedia.com/) 6 6 // 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 20091 // script.aculo.us unittest.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)4 // (c) 2005-20 09Jon Tirsen (http://www.tirsen.com)5 // (c) 2005-20 09Michael 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/) 6 6 // 7 7 // script.aculo.us is freely distributable under the terms of an MIT-style license. 8 8 // 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 20091 // script.aculo.us scriptaculous.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)3 // Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 4 4 // 5 5 // Permission is hereby granted, free of charge, to any person obtaining 6 6 // a copy of this software and associated documentation files (the … … 24 24 // For details, see the script.aculo.us web site: http://script.aculo.us/ 25 25 26 26 var Scriptaculous = { 27 Version: '1. 8.3',27 Version: '1.9.0', 28 28 require: function(libraryName) { 29 29 try{ 30 30 // inserting via DOM fails in Safari 2.0, so brute force approach … … 54 54 Scriptaculous.REQUIRED_PROTOTYPE); 55 55 56 56 var js = /scriptaculous\.js(\?.*)?$/; 57 $$(' headscript[src]').findAll(function(s) {57 $$('script[src]').findAll(function(s) { 58 58 return s.src.match(js); 59 59 }).each(function(s) { 60 60 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 20091 // script.aculo.us dragdrop.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)3 // Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 4 4 // 5 5 // script.aculo.us is freely distributable under the terms of an MIT-style license. 6 6 // For details, see the script.aculo.us web site: http://script.aculo.us/ … … 374 374 if (this.options.scroll == window) { 375 375 with(this._getWindowScroll(this.options.scroll)) { p = [ left, top, left+width, top+height ]; } 376 376 } else { 377 p = Position.page(this.options.scroll) ;377 p = Position.page(this.options.scroll).toArray(); 378 378 p[0] += this.options.scroll.scrollLeft + Position.deltaX; 379 379 p[1] += this.options.scroll.scrollTop + Position.deltaY; 380 380 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 20091 // script.aculo.us slider.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Marty Haught, Thomas Fuchs3 // Copyright (c) 2005-2010 Marty Haught, Thomas Fuchs 4 4 // 5 5 // script.aculo.us is freely distributable under the terms of an MIT-style license. 6 6 // 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 20091 // script.aculo.us controls.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 2 2 3 // Copyright (c) 2005-20 09Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)4 // (c) 2005-20 09Ivan Krstic (http://blogs.law.harvard.edu/ivan)5 // (c) 2005-20 09Jon 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) 6 6 // Contributors: 7 7 // Richard Livsey 8 8 // Rahul Bhargava