Permalink
Browse files

Rename: `product/` → `out/`

  • Loading branch information...
1 parent 9f7238f commit 96c38c2caacfd3a023a18dcda7606d6e033e60ac @artpolikarpov committed Oct 20, 2013
Showing with 7,893 additions and 219 deletions.
  1. +29 −29 Gruntfile.js
  2. +1 −1 README.md
  3. +2 −2 index.html
  4. +33 −0 out/example.html
  5. +770 −0 out/fotorama.css
  6. +3,074 −0 out/fotorama.js
  7. BIN out/fotorama.png
  8. +770 −0 out/fotorama.uncompressed.css
  9. +3,027 −0 out/fotorama.uncompressed.js
  10. BIN out/fotorama@2x.png
  11. +2 −2 test/#119/example.html
  12. +2 −2 test/__base.html
  13. +2 −2 test/_show12.html
  14. +2 −2 test/arrows-click-swipe.html
  15. +2 −2 test/arrows.html
  16. +2 −2 test/autoplay--loop.html
  17. +2 −2 test/autoplay.html
  18. +2 −2 test/base--dimensions.html
  19. +2 −2 test/base--no-click.html
  20. +2 −2 test/base--scrolling.html
  21. +2 −2 test/base--small.html
  22. +2 −2 test/base.html
  23. +2 −2 test/basic.html
  24. +2 −2 test/captions.html
  25. +2 −2 test/constrained.html
  26. +2 −2 test/cover.html
  27. +2 −2 test/crossfade.html
  28. +2 −2 test/custom-thumbs.html
  29. +2 −2 test/datalabaratory.html
  30. +2 −2 test/dissolve--html.html
  31. +2 −2 test/dissolve--plain.html
  32. +2 −2 test/dissolve.html
  33. +2 −2 test/events.html
  34. +2 −2 test/flexible.html
  35. +2 −2 test/full-window-n-nav.html
  36. +2 −2 test/full-window.html
  37. +2 −2 test/fullscreen--44.html
  38. +2 −2 test/fullscreen-big.html
  39. +2 −2 test/fullscreen-native.html
  40. +2 −2 test/fullscreen.html
  41. +2 −2 test/glimpse.html
  42. +2 −2 test/hash--23.html
  43. +2 −2 test/hash.html
  44. +2 −2 test/hidden-before-ready.html
  45. +2 −2 test/html-100.html
  46. +2 −2 test/html-selectable.html
  47. +2 −2 test/html-shwr.html
  48. +2 −2 test/html-with-images.html
  49. +2 −2 test/html-with-links.html
  50. +2 −2 test/html-with-thumbs.html
  51. +2 −2 test/html.html
  52. +2 −2 test/iframes.html
  53. +2 −2 test/initialization--2.html
  54. +2 −2 test/initialization.html
  55. +2 −2 test/issue--14.html
  56. +2 −2 test/issue--26.html
  57. +2 −2 test/jquery-1.6.4.html
  58. +2 −2 test/json.html
  59. +2 −2 test/keyboard--2.html
  60. +2 −2 test/keyboard.html
  61. +2 −2 test/lightbox-2.html
  62. +2 −2 test/lightbox.html
  63. +2 −2 test/load.html
  64. +2 −2 test/loop.html
  65. +2 −2 test/many-big.html
  66. +2 −2 test/no-css.html
  67. +2 −2 test/no-jquery.html
  68. +2 −2 test/responsive.html
  69. +2 −2 test/rtl.html
  70. +2 −2 test/s3.html
  71. +2 −2 test/shuffle--10ms.html
  72. +2 −2 test/shuffle.html
  73. +2 −2 test/sites/ilyabirman.html
  74. +2 −2 test/sites/tjournal.html
  75. +29 −29 test/specs/_specs.json
  76. +2 −2 test/squares.html
  77. +2 −2 test/start-index.html
  78. +2 −2 test/start-n-stop.html
  79. +2 −2 test/startindex.html
  80. +2 −2 test/tap-event.html
  81. +2 −2 test/thumbnails-2.html
  82. +2 −2 test/thumbnails-transitional.html
  83. +2 −2 test/thumbnails.html
  84. +2 −2 test/transition-duration.html
  85. +2 −2 test/transition.html
  86. +2 −2 test/ul.html
  87. +2 −2 test/video--force-youtube-hd.html
  88. +2 −2 test/video-custom.html
  89. +2 −2 test/video-flowplayer.html
  90. +2 −2 test/video.html
View
@@ -71,7 +71,7 @@ sass: {
options: {
},
files: {
- 'product/fotorama.css': 'src/scss/fotorama.scss'
+ 'out/fotorama.css': 'src/scss/fotorama.scss'
}
}
},
@@ -81,7 +81,7 @@ autoprefixer: {
browsers: ['last 2 version', 'ie 8', 'ie 7']
},
files: {
- 'product/fotorama.css': 'product/fotorama.css'
+ 'out/fotorama.css': 'out/fotorama.css'
}
}
},
@@ -92,41 +92,41 @@ copy: {
expand: true,
flatten: true,
src: ['src/i/*.png'],
- dest: 'product/'
+ dest: 'out/'
}
]
},
example: {
files: [
{
src: 'src/example/example.html',
- dest: 'product/example.html'
+ dest: 'out/example.html'
}
]
}
},
concat: {
js: {
files: {
- 'product/fotorama.js': '<%= meta.js %>'
+ 'out/fotorama.js': '<%= meta.js %>'
},
options: {
banner: '<%= meta.banner %>'
}
},
css: {
files: {
- 'product/fotorama.uncompressed.css': 'product/fotorama.css'
+ 'out/fotorama.uncompressed.css': 'out/fotorama.css'
},
options: {
banner: '<%= meta.banner %>'
}
}
},
cssmin: {
- product: {
+ min: {
files: {
- 'product/fotorama.css': 'product/fotorama.css'
+ 'out/fotorama.css': 'out/fotorama.css'
},
options: {
banner: '<%= meta.banner.replace(/\\n$/, "") %>'
@@ -153,7 +153,7 @@ replace: {
},
console: {
files: {
- 'product/fotorama.uncompressed.js': 'product/fotorama.js'
+ 'out/fotorama.uncompressed.js': 'out/fotorama.js'
},
options: {
patterns: [
@@ -205,40 +205,40 @@ replace: {
}
},
uglify: {
- product: {
+ min: {
options: {
banner: '<%= meta.banner %>'
},
files: {
- 'product/fotorama.js': 'product/fotorama.uncompressed.js'
+ 'out/fotorama.js': 'out/fotorama.uncompressed.js'
}
}
},
clean: {
- zip: ['product/fotorama*.zip']
+ zip: ['out/fotorama*.zip']
},
compress: {
uncompressed: {
options: {
- archive: 'product/fotorama-<%= pkg.version %>.uncompressed.zip'
+ archive: 'out/fotorama-<%= pkg.version %>.uncompressed.zip'
},
files: [
- {expand: true, cwd: 'product/', src: 'fotorama.uncompressed.css', dest: 'fotorama-<%= pkg.version %>.uncompressed/'},
- {expand: true, cwd: 'product/', src: 'fotorama.uncompressed.js', dest: 'fotorama-<%= pkg.version %>.uncompressed/'},
- {expand: true, cwd: 'product/', src: 'fotorama.png', dest: 'fotorama-<%= pkg.version %>.uncompressed/'},
- {expand: true, cwd: 'product/', src: 'fotorama@2x.png', dest: 'fotorama-<%= pkg.version %>.uncompressed/'}
+ {expand: true, cwd: 'out/', src: 'fotorama.uncompressed.css', dest: 'fotorama-<%= pkg.version %>.uncompressed/'},
+ {expand: true, cwd: 'out/', src: 'fotorama.uncompressed.js', dest: 'fotorama-<%= pkg.version %>.uncompressed/'},
+ {expand: true, cwd: 'out/', src: 'fotorama.png', dest: 'fotorama-<%= pkg.version %>.uncompressed/'},
+ {expand: true, cwd: 'out/', src: 'fotorama@2x.png', dest: 'fotorama-<%= pkg.version %>.uncompressed/'}
]
},
- product: {
+ min: {
options: {
- archive: 'product/fotorama-<%= pkg.version %>.zip'
+ archive: 'out/fotorama-<%= pkg.version %>.zip'
},
files: [
- {expand: true, cwd: 'product/', src: 'fotorama.css', dest: 'fotorama-<%= pkg.version %>/'},
- {expand: true, cwd: 'product/', src: 'fotorama.js', dest: 'fotorama-<%= pkg.version %>/'},
- {expand: true, cwd: 'product/', src: 'fotorama.png', dest: 'fotorama-<%= pkg.version %>/'},
- {expand: true, cwd: 'product/', src: 'fotorama@2x.png', dest: 'fotorama-<%= pkg.version %>/'},
- {expand: true, cwd: 'product/', src: 'example.html', dest: 'fotorama-<%= pkg.version %>/'}
+ {expand: true, cwd: 'out/', src: 'fotorama.css', dest: 'fotorama-<%= pkg.version %>/'},
+ {expand: true, cwd: 'out/', src: 'fotorama.js', dest: 'fotorama-<%= pkg.version %>/'},
+ {expand: true, cwd: 'out/', src: 'fotorama.png', dest: 'fotorama-<%= pkg.version %>/'},
+ {expand: true, cwd: 'out/', src: 'fotorama@2x.png', dest: 'fotorama-<%= pkg.version %>/'},
+ {expand: true, cwd: 'out/', src: 'example.html', dest: 'fotorama-<%= pkg.version %>/'}
]
}
},
@@ -251,14 +251,14 @@ s3: {
gzip: true,
secure: false
},
- product: {
+ separate: {
options: {
headers: {'Cache-Control': 'max-age=2592000'}
},
upload: [
// Separate version to separate folder
{
- src: 'product/*',
+ src: 'out/*',
dest: '<%= pkg.version %>/'
}
]
@@ -270,11 +270,11 @@ s3: {
},
upload: [
{
- src: 'product/fotorama.*',
+ src: 'out/fotorama.*',
dest: ''
},
{
- src: 'product/fotorama@2x.png',
+ src: 'out/fotorama@2x.png',
dest: 'fotorama@2x.png'
}
]
@@ -339,7 +339,7 @@ gh_release: {
body: '<%= grunt.file.readJSON("history.json")[pkg.version + ":notes"] %>',
asset: {
name: 'fotorama-<%= pkg.version %>.zip',
- file: 'product/fotorama-<%= pkg.version %>.zip',
+ file: 'out/fotorama-<%= pkg.version %>.zip',
'Content-Type': 'application/zip'
}
}
View
@@ -16,7 +16,7 @@ To hack on use `grunt watch`.
Assuming that you don't see any red, you're ready to go. Just be sure to run `grunt` after making any changes, to ensure that nothing is broken.
-The built version of Fotorama will be put in the `product/` subdirectory.
+The built version of Fotorama will be put in the `out/` subdirectory.
## Submitting pull requests
1. Create a new branch, please don't work in your `master` branch directly.
View
@@ -47,8 +47,8 @@
<script src="test/jquery/jquery-1.10.2.min.js"></script>
<!-- Fotorama -->
- <link href="product/fotorama.css" rel="stylesheet">
- <script src="product/fotorama.js"></script>
+ <link href="out/fotorama.css" rel="stylesheet">
+ <script src="out/fotorama.js"></script>
<script type="text/javascript">
$(function () {
View
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Basic fotorama</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width">
+
+ <!-- jQuery -->
+ <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
+
+ <!-- Fotorama -->
+ <link href="fotorama.css" rel="stylesheet">
+ <script src="fotorama.js"></script>
+
+ <!-- Just don’t want to repeat this prefix in every img[src] -->
+ <base href="http://fotorama.s3.amazonaws.com/i/okonechnikov/">
+</head>
+
+<body>
+
+<!-- Fotorama -->
+<div class="fotorama" data-width="700" data-ratio="700/467" data-max-width="100%">
+ <img src="1-lo.jpg">
+ <img src="2-lo.jpg">
+ <img src="9-lo.jpg">
+ <img src="6-lo.jpg">
+ <img src="5-lo.jpg">
+</div>
+
+<!-- © -->
+<p>Photos <a href="http://okonet.ru/">by Andrey Okonetchnikov</a></p>
+</body>
+</html>
Oops, something went wrong.

0 comments on commit 96c38c2

Please sign in to comment.