-
Notifications
You must be signed in to change notification settings - Fork 821
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92557 467b73ca-7a2a-4603-9d3b-597d59a354a9
- Loading branch information
Showing
94 changed files
with
18,732 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
(function($) { | ||
/** | ||
* Formats a <input type="text"> field with a jQuery UI datepicker. | ||
* | ||
* Requires: concrete, ui.datepicker, jquery.metadata | ||
* | ||
* @author Ingo Schommer, SilverStripe Ltd. | ||
*/ | ||
$('.calendardate').concrete('ss', function($){ | ||
return { | ||
$.concrete('ss', function($){ | ||
/** | ||
* Formats a <input type="text"> field with a jQuery UI datepicker. | ||
* | ||
* Requires: concrete, ui.datepicker, jquery.metadata | ||
* | ||
* @author Ingo Schommer, SilverStripe Ltd. | ||
*/ | ||
$('.calendardate').concrete({ | ||
onmatch: function() { | ||
this.find('input').each(function() { | ||
var conf = $(this).metadata(); | ||
if(conf.minDate) conf.minDate = new Date(Date.parse(conf.minDate)); | ||
|
||
// | ||
|
||
$(this).datepicker(conf); | ||
}); | ||
} | ||
}; | ||
}); | ||
}); | ||
}(jQuery)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
format: 1 | ||
handler: | ||
commit: c857ed5d684031115a2bb369f601c7147a2c69bc | ||
commit: 488376e8aa3c046cbf60adf43c42c76b5031fe20 | ||
branch: master | ||
lock: false | ||
repository_url: git://github.com/hafriedlander/jquery.concrete.git | ||
repository_class: Piston::Git::Repository | ||
repository_url: git://github.com/hafriedlander/jquery.concrete.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#!/bin/sh | ||
|
||
VER=$1 | ||
|
||
# Get the version - a tag if possible, otherwise a short ref (not well tested code) | ||
if [ "$VER " = " " ] ; then \ | ||
VER=`git rev-parse --abbrev-ref=strict HEAD` | ||
fi | ||
if [ "$VER" = "master" ] ; then \ | ||
VER=`git show --pretty=format:"%h" --quiet` | ||
fi | ||
|
||
# Specify the output file's name | ||
FILE="dist/jquery.concrete-$VER.js" | ||
|
||
mkdir -p dist | ||
rm dist/*.js | ||
|
||
echo "/* jQuery.Concrete - Copyright 2009 Hamish Friedlander and SilverStripe. Version $VER. */" > $FILE | ||
|
||
for x in \ | ||
vendor/jquery.selector/jquery.class.js \ | ||
vendor/jquery.selector/jquery.selector.js \ | ||
vendor/jquery.selector/jquery.selector.specifity.js \ | ||
vendor/jquery.selector/jquery.selector.matches.js \ | ||
src/jquery.focusinout.js \ | ||
src/jquery.concrete.js \ | ||
src/jquery.concrete.dommaybechanged.js \ | ||
src/jquery.concrete.events.js \ | ||
src/jquery.concrete.ctors.js \ | ||
src/jquery.concrete.properties.js | ||
do \ | ||
echo >> $FILE | ||
echo "/* $x */" >> $FILE | ||
echo >> $FILE | ||
cat $x >> $FILE | ||
echo ';' >> $FILE | ||
echo >> $FILE | ||
done | ||
|
||
ln -s `basename "$FILE"` dist/jquery.concrete-latest.js | ||
|
||
# cp LICENSE /tmp/ | ||
# cp $FILE /tmp/ | ||
|
||
# git checkout dist | ||
# mv /tmp/$FILE . | ||
# mv /tmp/LICENSE . | ||
|
||
# git add $FILE | ||
# git add LICENSE | ||
# git commit -m "Update dist to master version $VER" | ||
|
||
# git checkout master |
Oops, something went wrong.