diff options
author | tof <> | 2008-03-13 11:01:44 +0000 |
---|---|---|
committer | tof <> | 2008-03-13 11:01:44 +0000 |
commit | 988f3d952b74ea6cd86ebffbbf83c581d8d3aa06 (patch) | |
tree | cdba8c8490491610654d32cbc4ce5cd7a6334f81 /framework/Web/Javascripts/source/packages.php | |
parent | 01bca75520b442cdf7bdfa32b14fac13d871d106 (diff) |
Upgrade to Prototype 1.6.0.2 & Scriptaculous 1.8.1
Diffstat (limited to 'framework/Web/Javascripts/source/packages.php')
-rw-r--r-- | framework/Web/Javascripts/source/packages.php | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/framework/Web/Javascripts/source/packages.php b/framework/Web/Javascripts/source/packages.php index d056a7b8..79333884 100644 --- a/framework/Web/Javascripts/source/packages.php +++ b/framework/Web/Javascripts/source/packages.php @@ -1,12 +1,16 @@ <?php
//$Id$
+ +// To make future upgrades easier +if (!defined('PROTOTYPE_DIR')) define ('PROTOTYPE_DIR', 'prototype-1.6.0.2'); +if (!defined('SCRIPTACULOUS_DIR')) define ('SCRIPTACULOUS_DIR', 'scriptaculous-1.8.1'); //package names and its contents (files relative to the current directory)
$packages = array(
'prado' => array(
- 'prototype/prototype.js',
- 'scriptaculous/builder.js',
+ PROTOTYPE_DIR.'/prototype.js', + SCRIPTACULOUS_DIR.'/builder.js',
'prado/prado.js',
'prado/scriptaculous-adapter.js',
'prado/controls/controls.js',
@@ -14,7 +18,7 @@ $packages = array( ),
'effects' => array(
- 'scriptaculous/effects.js'
+ SCRIPTACULOUS_DIR.'/effects.js'
),
'logger' => array(
@@ -34,7 +38,7 @@ $packages = array( ),
'ajax' => array(
- 'scriptaculous/controls.js',
+ SCRIPTACULOUS_DIR.'/controls.js',
'prado/activecontrols/json.js',
'prado/activecontrols/ajax3.js',
'prado/activecontrols/activecontrols3.js',
@@ -43,16 +47,13 @@ $packages = array( ),
'dragdrop'=>array(
- 'scriptaculous/dragdrop.js'
+ SCRIPTACULOUS_DIR.'/dragdrop.js'
),
'slider'=>array(
'prado/controls/slider.js'
),
- 'slider2'=>array(
- 'scriptaculous/slider.js',
- 'prado/controls/slider2.js'
- ),
+
'keyboard'=>array(
'prado/controls/keyboard.js'
),
@@ -60,6 +61,10 @@ $packages = array( 'tabpanel'=>array(
'prado/controls/tabpanel.js'
),
+
+ 'maskedtextbox'=>array(
+ 'prado/controls/maskedtextbox.js'
+ ),
);
@@ -76,6 +81,7 @@ $dependencies = array( 'slider' => array('prado', 'slider'),
'keyboard' => array('prado', 'keyboard'),
'tabpanel' => array('prado', 'tabpanel'),
+ 'maskedtextbox' => array('prado', 'maskedtextbox'),
);
return array($packages, $dependencies);
|