Skip to content
Browse files

Adding the tried and tested jQueryClock to the media path.

  • Loading branch information...
1 parent 523753e commit 9a4ced7d808b104025a6dc0993cb70d6da8bf746 @JonTheNiceGuy JonTheNiceGuy committed
Showing with 8 additions and 3 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 Media/jQueryClock
  3. +4 −3 SETUP/install.php
View
3 .gitmodules
@@ -4,3 +4,6 @@
[submodule "ExternalLibraries/TwitterHelper/current"]
path = ExternalLibraries/TwitterHelper/current
url = git://github.com/themattharris/tmhOAuth.git
+[submodule "Media/jQueryClock"]
+ path = Media/jQueryClock
+ url = https://github.com/dsparling/jclock.git
1 Media/jQueryClock
@@ -0,0 +1 @@
+Subproject commit 5017472099bb591ccef1a7c364c2113b7563fcfc
View
7 SETUP/install.php
@@ -15,10 +15,11 @@
'TwitterHelper' => array('ver' => 'current', 'source' => 'git'),
'Smarty' => array('ver' => '3.1.11', 'source' => 'http://www.smarty.net/files/Smarty-3.1.11.tar.gz'),
'jQueryMobile' => array('ver' => '1.1.1', 'source' => 'http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.zip'),
- 'jQuery' => array('ver' => '1.7.1', 'source' => 'http://code.jquery.com/jquery-1.7.1.min.js')
+ 'jQuery' => array('ver' => '1.7.1', 'source' => 'http://code.jquery.com/jquery-1.7.1.min.js'),
+ 'jQueryClock' => array('ver' => 'current', 'source' => 'git')
);
-echo " * Git Submodules (php-openid and TwitterHelper): ";
+echo " * Git Submodules (php-openid, TwitterHelper and jQueryClock): ";
chdir(dirname(__FILE__) . '/..');
exec('git submodule update --init', $return);
echo "Done\r\n";
@@ -37,10 +38,10 @@
exec("wget -O jQueryMobile-{$Libraries['jQueryMobile']['ver']}.zip {$Libraries['jQueryMobile']['source']}", $return);
exec("unzip jQueryMobile-{$Libraries['jQueryMobile']['ver']}.zip -d .", $return);
unlink("jQueryMobile-{$Libraries['jQueryMobile']['ver']}.zip");
+rename('jquery.mobile-' . $Libraries['jQueryMobile']['ver'], 'JQM');
echo "Done\r\n";
echo " * jQuery {$Libraries['jQuery']['ver']}: ";
-rename('jquery.mobile-' . $Libraries['jQueryMobile']['ver'], 'JQM');
exec("wget -O JQM/jquery-{$Libraries['jQuery']['ver']}.min.js {$Libraries['jQuery']['source']}", $return);
echo "Done\r\n";

0 comments on commit 9a4ced7

Please sign in to comment.
Something went wrong with that request. Please try again.