bump to 0.3.4, single dist file notify.js, move docs out to notify-com repo, cleaned up generated coffeescript, minification is now done in the browser on the docs page
This commit is contained in:
@@ -3,9 +3,12 @@
|
||||
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
||||
<script src="../dist/notify.js"></script>
|
||||
<script src="../dist/styles/notify-bootstrap.js"></script>
|
||||
|
||||
<style type="text/css">
|
||||
html {
|
||||
font-family: Helvetica;
|
||||
}
|
||||
|
||||
.boxes {
|
||||
margin: 150px;
|
||||
}
|
||||
@@ -25,7 +28,7 @@
|
||||
<!-- run code -->
|
||||
<script class="demo">
|
||||
|
||||
$.notify.options({
|
||||
$.notify.defaults({
|
||||
autoHide: false
|
||||
});
|
||||
|
||||
@@ -43,4 +46,4 @@
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -52,35 +52,35 @@
|
||||
<div class="z b">b</div>
|
||||
<span class="inline">some inline text</span>
|
||||
</div>
|
||||
|
||||
|
||||
<hr/>
|
||||
|
||||
<div>
|
||||
<span>some inline text</span>
|
||||
<span class="inline" style="padding: 20px; border: thin solid pink;">and special padding</span>
|
||||
</div>
|
||||
|
||||
|
||||
<hr/>
|
||||
|
||||
<div>
|
||||
<span>some inline text</span>
|
||||
<span class="inline" style="margin: 20px; border: thin solid pink;">and special margin</span>
|
||||
</div>
|
||||
|
||||
|
||||
<hr/>
|
||||
|
||||
<div>
|
||||
<span>some inline text</span>
|
||||
<span class="inline" style="margin: 20px; padding: 20px; border: thin solid pink;">and special padding margin</span>
|
||||
</div>
|
||||
|
||||
|
||||
<hr/>
|
||||
|
||||
<div>
|
||||
<span>some inline block text</span>
|
||||
<span class="inline" style="display: inline-block; margin: 20px; padding: 20px; border: thin solid pink;">and special padding margin</span>
|
||||
</div>
|
||||
|
||||
|
||||
<hr/>
|
||||
|
||||
<div>
|
||||
@@ -88,7 +88,7 @@
|
||||
<span>some canvas</span>
|
||||
<span class="inline" style="display: inline-block; margin: 20px; padding: 20px; border: thin solid pink;">and special padding margin</span>
|
||||
</div>
|
||||
|
||||
|
||||
<hr/>
|
||||
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
||||
<script src="../dist/notify.js"></script>
|
||||
<script src="../dist/styles/notify-bootstrap.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$.notify.defaults({autoHide: false})
|
||||
@@ -109,4 +108,4 @@
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<!-- run code -->
|
||||
<script class="demo">
|
||||
|
||||
$.notify.defaults({ arrowShow: false })
|
||||
$.notify.defaults({ arrowShow: false, autoHide: false })
|
||||
|
||||
|
||||
$.notify.addStyle('single-text', {
|
||||
@@ -36,9 +36,6 @@
|
||||
});
|
||||
|
||||
$(function() {
|
||||
|
||||
|
||||
|
||||
$(".1").notify({
|
||||
title: "HELLO!",
|
||||
p1: "little",
|
||||
@@ -55,4 +52,4 @@
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
||||
<script src="../dist/notify.js"></script>
|
||||
<script src="../dist/styles/notify-bootstrap.js"></script>
|
||||
|
||||
<style type="text/css">
|
||||
.boxes {
|
||||
@@ -33,7 +32,6 @@
|
||||
$.each(positions, function(i, p) {
|
||||
var box = $("<div class=\"box\">"+p+"</div>");
|
||||
boxes.append($("<div class=\"wrapper\"/>").append(box));
|
||||
|
||||
box.notify(p, {position: p+" center"});
|
||||
});
|
||||
|
||||
@@ -41,4 +39,4 @@
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user