Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor integration #155

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
0 README → README.md
100755 → 100644
File renamed without changes.
2 changes: 1 addition & 1 deletion css/prettyPhoto.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* ------------------------------------------------------------------------
/* ------------------------------------------------------------------------
This you can edit.
------------------------------------------------------------------------- */

Expand Down
Binary file removed images/fullscreen/1.jpg
Binary file not shown.
Binary file removed images/fullscreen/2.jpg
Binary file not shown.
Binary file removed images/fullscreen/3.jpg
Binary file not shown.
Binary file removed images/fullscreen/4.jpg
Binary file not shown.
Binary file removed images/fullscreen/5.jpg
Binary file not shown.
Binary file removed images/fullscreen/6.jpg
Binary file not shown.
Binary file removed images/fullscreen/high.gif
Binary file not shown.
Binary file removed images/fullscreen/huge.gif
Binary file not shown.
Binary file removed images/fullscreen/wide.gif
Binary file not shown.
Binary file removed images/thumbnails/flash-logo.png
Binary file not shown.
Binary file removed images/thumbnails/quicktime-logo.gif
Binary file not shown.
Binary file removed images/thumbnails/t_1.jpg
Binary file not shown.
Binary file removed images/thumbnails/t_2.jpg
Binary file not shown.
Binary file removed images/thumbnails/t_3.jpg
Binary file not shown.
Binary file removed images/thumbnails/t_4.jpg
Binary file not shown.
Binary file removed images/thumbnails/t_5.jpg
Binary file not shown.
236 changes: 0 additions & 236 deletions index.html

This file was deleted.

19 changes: 0 additions & 19 deletions js/jquery-1.3.2.min.js

This file was deleted.

167 changes: 0 additions & 167 deletions js/jquery-1.4.4.min.js

This file was deleted.

18 changes: 0 additions & 18 deletions js/jquery-1.6.1.min.js

This file was deleted.

66 changes: 66 additions & 0 deletions package.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// package metadata file for Meteor.js

var packageName = 'juliomac:prettyphoto';
var where = 'client'; // where to install: 'client', 'server', or ['client', 'server']

Package.describe({
name: packageName,
summary: 'Prettyphoto is a full blown media lightbox. Supports images, videos, flash, YouTube and iFrames.',
version: '3.1.7',
git: 'https://github.com/juliomac/prettyphoto.git',
documentation: 'README.md'
});

Package.onUse(function (api) {
api.versionsFrom('1.1.0.2');
api.addFiles([
'js/jquery.prettyPhoto.js',
'css/prettyPhoto.css',
'images/prettyPhoto/dark_rounded/btnNext.png',
'images/prettyPhoto/dark_rounded/btnPrevious.png',
'images/prettyPhoto/dark_rounded/contentPattern.png',
'images/prettyPhoto/dark_rounded/default_thumbnail.gif',
'images/prettyPhoto/dark_rounded/loader.gif',
'images/prettyPhoto/dark_rounded/sprite.png',
'images/prettyPhoto/dark_square/btnNext.png',
'images/prettyPhoto/dark_square/btnPrevious.png',
'images/prettyPhoto/dark_square/contentPattern.png',
'images/prettyPhoto/dark_square/default_thumbnail.gif',
'images/prettyPhoto/dark_square/loader.gif',
'images/prettyPhoto/dark_square/sprite.png',
'images/prettyPhoto/default/default_thumb.png',
'images/prettyPhoto/default/loader.gif',
'images/prettyPhoto/default/sprite_next.png',
'images/prettyPhoto/default/sprite_prev.png',
'images/prettyPhoto/default/sprite_x.png',
'images/prettyPhoto/default/sprite_y.png',
'images/prettyPhoto/default/sprite.png',
'images/prettyPhoto/facebook/btnNext.png',
'images/prettyPhoto/facebook/btnPrevious.png',
'images/prettyPhoto/facebook/contentPatternBottom.png',
'images/prettyPhoto/facebook/contentPatternLeft.png',
'images/prettyPhoto/facebook/contentPatternRight.png',
'images/prettyPhoto/facebook/contentPatternTop.png',
'images/prettyPhoto/facebook/default_thumbnail.gif',
'images/prettyPhoto/facebook/loader.gif',
'images/prettyPhoto/facebook/sprite.png',
'images/prettyPhoto/light_rounded/btnNext.png',
'images/prettyPhoto/light_rounded/btnPrevious.png',
'images/prettyPhoto/light_rounded/default_thumbnail.gif',
'images/prettyPhoto/light_rounded/loader.gif',
'images/prettyPhoto/light_rounded/sprite.png',
'images/prettyPhoto/light_square/btnNext.png',
'images/prettyPhoto/light_square/btnPrevious.png',
'images/prettyPhoto/light_square/default_thumbnail.gif',
'images/prettyPhoto/light_square/loader.gif',
'images/prettyPhoto/light_square/sprite.png'
], where);
});

Package.onTest(function (api) {
api.use(packageName, where);
api.use(['tinytest', 'http'], where);

// TODO we should just bring in src/test.html - but how to do that with TinyTest?
api.addFiles('prettyphoto-tests.js', where);
});
5 changes: 5 additions & 0 deletions prettyphoto-tests.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Write your tests here!
// Here is an example.
Tinytest.add('example', function (test) {
test.equal(true, true);
});
5 changes: 0 additions & 5 deletions xhr_response.html

This file was deleted.