Skip to content

Commit

Permalink
v2.7.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh committed Mar 30, 2014
1 parent d3a2816 commit 0c405ad
Show file tree
Hide file tree
Showing 27 changed files with 568 additions and 315 deletions.
27 changes: 21 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,20 @@ module.exports = function(grunt) {
}
},
exec: {
list: {
cmd: ['ls', 'ls -l'].join('&&')
zip: {
cmd: function(version) {
return ['rm -rf lightbox',
'mkdir lightbox',
'cp index.html lightbox',
'cp README.markdown lightbox',
'cp -r css lightbox',
'cp -r js lightbox',
'cp -r img lightbox',
'zip -r lightbox-' + version + '.zip lightbox',
'mv lightbox-' + version + '.zip releases',
'rm -rf lightbox'
].join('&&');
}
},
},
'ftp-deploy': {
Expand All @@ -40,7 +52,8 @@ module.exports = function(grunt) {
'node_modules',
'sass',
'Gruntfile.js',
'package.json'
'package.json',
'README.markdown'
]
}
},
Expand Down Expand Up @@ -84,7 +97,9 @@ module.exports = function(grunt) {


grunt.registerTask('default', ['compass', 'connect', 'watch']);
grunt.registerTask('test', ['compass', 'jshint']);
grunt.registerTask('zip', ['uglify','exec:list']);
// grunt.registerTask('deploy', ['compass', 'jshint', 'ftp-deploy']);
grunt.registerTask('zip', '', function(version) {
grunt.task.run('jshint');
grunt.task.run('uglify');
grunt.task.run('exec:zip:' + version);
});
};
8 changes: 4 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Lightbox2

Lightbox is small javascript library used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers.
The original lightbox script. Eight years later — still going strong!

## Demo and instructions
## Demo and basic instructions
[Goto the Lightbox2 page](http://lokeshdhakar.com/projects/lightbox2/)


## Credits and license
## Credits

### Author
by Lokesh Dhakar
Expand All @@ -24,7 +24,7 @@ by Lokesh Dhakar
* careilly - [(https://github.com/careilly)](https://github.com/careilly)
* and many others. Thanks!!!

###License
##License
Licensed under the [Creative Commons Attribution 2.5 License](http://creativecommons.org/licenses/by/2.5/)

* Free for use in both personal and commercial projects.
Expand Down
2 changes: 1 addition & 1 deletion css/lightbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ body:after {

.lb-data {
padding: 0 4px;
color: #bbbbbb;
color: #ccc;
}

.lb-data .lb-details {
Expand Down
2 changes: 1 addition & 1 deletion css/screen.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed img/demopage/donate.png
Binary file not shown.
Binary file removed img/demopage/favicon.ico
Binary file not shown.
Binary file added img/demopage/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/image-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/image-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/image-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/image-4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/image-5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/image-6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/thumb-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/thumb-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/thumb-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/thumb-4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/thumb-5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/demopage/thumb-6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0c405ad

Please sign in to comment.