Permalink
Browse files

Creates a Buildable version of jquery.preview

  • Loading branch information...
1 parent 414060b commit 31459cbe74d5fae96fa9d85badbb49b1979de9bc @screeley screeley committed Oct 18, 2011
Showing with 3,691 additions and 59 deletions.
  1. +1 −0 .gitignore
  2. +27 −0 LICENSE
  3. +1 −1 { → css}/preview.css
  4. +1 −1 { → css}/preview.scss
  5. +2 −2 demo/index.html
  6. +2 −4 demo/large.html
  7. +2 −2 demo/link.html
  8. +2 −2 demo/multi.html
  9. +2 −3 demo/rich.html
  10. +2 −4 demo/status.html
  11. +2,297 −0 jquery.preview.full.js
  12. +161 −2 jquery.preview.js
  13. +161 −2 lib/linkify.js
  14. +0 −27 lib/underscore-min.js
  15. +932 −0 lib/underscore.js
  16. +98 −9 watch.py
View
@@ -0,0 +1 @@
+.sass-cache
View
27 LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2011, Embed.ly, Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. Neither the name of Embed.ly nor the names of its contributors may be used
+ to endorse or promote products derived from this software without
+ specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -172,7 +172,7 @@
vertical-align: middle;
max-height: 75px; }
.item .thumbnail.video .overlay, .item .thumbnail.rich .overlay {
- background-image: url(images/play.png);
+ background-image: url(../images/play.png);
width: 26px;
height: 25px;
position: absolute;
@@ -262,7 +262,7 @@
}
&.video, &.rich {
.overlay {
- background-image: url(images/play.png);
+ background-image: url(../images/play.png);
width: 26px;
height: 25px;
position: absolute;
View
@@ -3,11 +3,11 @@
<head>
<link rel="shortcut icon" href="http://embed.ly/static/favicon.ico">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" ></script>
- <script src="../lib/underscore-min.js" type="text/javascript"></script>
+ <script src="../lib/underscore.js" type="text/javascript"></script>
<script src="../lib/mustache.js" type="text/javascript"></script>
<script src="../jquery.preview.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.2.0.min.css">
- <link rel="stylesheet" href="../preview.css" />
+ <link rel="stylesheet" href="../css/preview.css" />
<title>jQuery Preview</title>
View
@@ -3,14 +3,12 @@
<head>
<link rel="shortcut icon" href="http://embed.ly/static/favicon.ico">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" ></script>
- <script src="../lib/underscore-min.js" type="text/javascript"></script>
+ <script src="../lib/underscore.js" type="text/javascript"></script>
<script src="../lib/mustache.js" type="text/javascript"></script>
<script src="../jquery.preview.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.2.0.min.css">
- <link rel="stylesheet" href="../preview.css" />
-
+ <link rel="stylesheet" href="../css/preview.css" />
<title>jQuery Preview - Large</title>
-
<style>
.topbar{
position:relative;
View
@@ -3,11 +3,11 @@
<head>
<link rel="shortcut icon" href="http://embed.ly/static/favicon.ico">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" ></script>
- <script src="../lib/underscore-min.js" type="text/javascript"></script>
+ <script src="../lib/underscore.js" type="text/javascript"></script>
<script src="../lib/mustache.js" type="text/javascript"></script>
<script src="../jquery.preview.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.2.0.min.css">
- <link rel="stylesheet" href="../preview.css" />
+ <link rel="stylesheet" href="../css/preview.css" />
<title>jQuery Preview - Link</title>
<style>
.topbar{
View
@@ -3,11 +3,11 @@
<head>
<link rel="shortcut icon" href="http://embed.ly/static/favicon.ico">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" ></script>
- <script src="../lib/underscore-min.js" type="text/javascript"></script>
+ <script src="../lib/underscore.js" type="text/javascript"></script>
<script src="../lib/mustache.js" type="text/javascript"></script>
<script src="../jquery.preview.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.2.0.min.css">
- <link rel="stylesheet" href="../preview.css" />
+ <link rel="stylesheet" href="../css/preview.css" />
<title>jQuery Preview - Multi</title>
<style>
.topbar{
View
@@ -3,12 +3,11 @@
<head>
<link rel="shortcut icon" href="http://embed.ly/static/favicon.ico">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" ></script>
- <script src="../lib/underscore-min.js" type="text/javascript"></script>
+ <script src="../lib/underscore.js" type="text/javascript"></script>
<script src="../lib/mustache.js" type="text/javascript"></script>
<script src="../jquery.preview.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.2.0.min.css">
- <link rel="stylesheet" href="../preview.css" />
-
+ <link rel="stylesheet" href="../css/preview.css" />
<title>jQuery Preview - Rich</title>
<style>
.topbar{
View
@@ -3,14 +3,12 @@
<head>
<link rel="shortcut icon" href="http://embed.ly/static/favicon.ico">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" ></script>
- <script src="../lib/underscore-min.js" type="text/javascript"></script>
+ <script src="../lib/underscore.js" type="text/javascript"></script>
<script src="../lib/mustache.js" type="text/javascript"></script>
<script src="../jquery.preview.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.2.0.min.css">
- <link rel="stylesheet" href="../preview.css" />
-
+ <link rel="stylesheet" href="../css/preview.css" />
<title>jQuery Preview - Status</title>
-
<style>
.topbar{
position:relative;
Oops, something went wrong.

0 comments on commit 31459cb

Please sign in to comment.