summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/source')
-rw-r--r--framework/Web/Javascripts/source/.htaccess16
-rw-r--r--framework/Web/Javascripts/source/packages.php109
2 files changed, 16 insertions, 109 deletions
diff --git a/framework/Web/Javascripts/source/.htaccess b/framework/Web/Javascripts/source/.htaccess
new file mode 100644
index 00000000..9ec96342
--- /dev/null
+++ b/framework/Web/Javascripts/source/.htaccess
@@ -0,0 +1,16 @@
+<ifModule mod_gzip.c>
+ mod_gzip_on Yes
+ mod_gzip_dechunk Yes
+ mod_gzip_item_include file \.js$
+ mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
+</ifModule>
+
+<ifModule mod_expires.c>
+ ExpiresActive On
+ ExpiresDefault "access plus 864000 seconds"
+</ifModule>
+
+<ifModule mod_headers.c>
+ Header set Cache-Control "max-age=864000, private"
+</ifModule>
+
diff --git a/framework/Web/Javascripts/source/packages.php b/framework/Web/Javascripts/source/packages.php
deleted file mode 100644
index cff913f8..00000000
--- a/framework/Web/Javascripts/source/packages.php
+++ /dev/null
@@ -1,109 +0,0 @@
-<?php
-
-//$Id$
-
-// To make future upgrades easier
-if (!defined('PROTOTYPE_DIR')) define ('PROTOTYPE_DIR', 'prototype-1.7');
-if (!defined('SCRIPTACULOUS_DIR')) define ('SCRIPTACULOUS_DIR', 'scriptaculous-1.9.0');
-
-//package names and its contents (files relative to the current directory)
-$packages = array(
- 'prado' => array(
- PROTOTYPE_DIR.'/prototype.js',
- SCRIPTACULOUS_DIR.'/builder.js',
- 'prado/prado.js',
- 'prado/scriptaculous-adapter.js',
- 'prado/controls/controls.js',
- 'prado/ratings/ratings.js',
- ),
-
- 'effects' => array(
- SCRIPTACULOUS_DIR.'/effects.js'
- ),
-
- 'logger' => array(
- 'prado/logger/logger.js',
- ),
-
- 'validator' => array(
- 'prado/validator/validation3.js'
- ),
-
- 'datepicker' => array(
- 'prado/datepicker/datepicker.js'
- ),
-
- 'colorpicker' => array(
- 'prado/colorpicker/colorpicker.js'
- ),
-
- 'ajax' => array(
- SCRIPTACULOUS_DIR.'/controls.js',
- 'prado/activecontrols/json2.js',
- 'prado/activecontrols/ajax3.js',
- 'prado/activecontrols/activecontrols3.js',
- 'prado/activecontrols/inlineeditor.js'
- ),
-
- 'dragdrop'=>array(
- SCRIPTACULOUS_DIR.'/dragdrop.js',
- 'prado/activecontrols/dragdrop.js'
- ),
-
- 'dragdropextra'=>array(
- 'prado/activecontrols/dragdropextra.js',
- ),
-
- 'slider'=>array(
- 'prado/controls/slider.js'
- ),
-
- 'keyboard'=>array(
- 'prado/controls/keyboard.js'
- ),
-
- 'tabpanel'=>array(
- 'prado/controls/tabpanel.js'
- ),
-
- 'activedatepicker' => array(
- 'prado/activecontrols/activedatepicker.js'
- ),
-
- 'activefileupload' => array(
- 'prado/activefileupload/activefileupload.js'
- ),
-
- 'accordion'=>array(
- 'prado/controls/accordion.js'
- ),
-
- 'htmlarea'=>array(
- 'prado/controls/htmlarea.js'
- ),
-
-);
-
-
-//package names and their dependencies
-$dependencies = array(
- 'prado' => array('prado'),
- 'effects' => array('prado', 'effects'),
- 'validator' => array('prado', 'validator'),
- 'logger' => array('prado', 'logger'),
- 'datepicker' => array('prado', 'datepicker'),
- 'colorpicker' => array('prado', 'colorpicker'),
- 'ajax' => array('prado', 'effects', 'ajax'),
- 'dragdrop' => array('prado', 'effects', 'ajax', 'dragdrop'),
- 'slider' => array('prado', 'slider'),
- 'keyboard' => array('prado', 'keyboard'),
- 'tabpanel' => array('prado', 'tabpanel'),
- 'activedatepicker' => array('prado', 'datepicker', 'ajax', 'activedatepicker'),
- 'activefileupload' => array('prado', 'effects', 'ajax', 'activefileupload'),
- 'dragdropextra' => array('prado', 'effects', 'ajax', 'dragdrop','dragdropextra'),
- 'accordion' => array('prado', 'effects', 'accordion'),
- 'htmlarea' => array('prado', 'htmlarea'),
-);
-
-return array($packages, $dependencies);
-