Skip to content

Commit

Permalink
some bower refining, fixed #57
Browse files Browse the repository at this point in the history
  • Loading branch information
sftsk committed Nov 26, 2014
1 parent ce5eeec commit 5d4bec5
Show file tree
Hide file tree
Showing 12 changed files with 291 additions and 394 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Expand Up @@ -18,5 +18,4 @@ Icon
*.sass-cache

node_modules

dist/slippry.min.map
source
12 changes: 9 additions & 3 deletions Gruntfile.js
Expand Up @@ -14,8 +14,9 @@ module.exports = function(grunt) {
sass: {
dist: {
options: {
style: 'expanded',
compass: true
style: 'nested',
compass: true,
'sourcemap=none': true
},
files: {
'dist/slippry.css': [
Expand All @@ -32,13 +33,18 @@ module.exports = function(grunt) {
]
},
options: {
sourceMap: true,
sourceMap: false,
preserveComments: 'some'
}
}
},
watch: {
sass: {
options: {
style: 'nested',
compass: true,
'sourcemap=none': true
},
files: [
'src/*.scss'
],
Expand Down
18 changes: 11 additions & 7 deletions bower.json
@@ -1,16 +1,17 @@
{
"name": "slippry",
"version": "1.2.2",
"version": "1.2.3",
"homepage": "http://slippry.com",
"authors": [
"Lukas Jakob Hafner <luki@booncon.com>"
"Lukas Jakob Hafner - @saftsaak"
"Thomas Hurd - @SeenNotHurd"
],
"description": "Responsive content slider for jQuery",
"main": [
"dist/slippry.min.js",
"dist/slippry.css",
"dist/img/arrow.svg",
"dist/img/sy-loader.gif"
"images/arrows.svg",
"images/sy-loader.gif"
],
"keywords": [
"content",
Expand All @@ -24,8 +25,11 @@
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
".gitignore",
".jshintrc",
"config.rb",
"Gruntfile.js",
"index.html",
"package.json"
]
}
15 changes: 8 additions & 7 deletions demo/index.html
Expand Up @@ -12,7 +12,7 @@
<body>
<section class="demo_wrapper">
<article class="demo_block">
<h1>Simple demo with default setups</h1>
<h1 id="main-title">Simple demo with default config</h1>
<a href="#glob" class='prev'>Prev</a> / <a href="#glob" class='next'>Next</a>
|| <a href="#glob" class='init'>Init</a> | <a href="#glob" class='reset'>Destroy</a> | <a href="#glob" class='reload'>Reload</a>
|| <a href="#glob" class='stop'>Stop</a> | <a href="#glob" class='start'>Start</a>
Expand All @@ -27,12 +27,13 @@ <h1>Simple demo with default setups</h1>
<script>
$(function() {
var demo1 = $("#demo1").slippry({
transition: 'fade',
useCSS: true,
speed: 1000,
pause: 3000,
auto: true,
preload: 'visible'
// transition: 'fade',
// useCSS: true,
// speed: 1000,
// pause: 3000,
// auto: true,
// preload: 'visible',
// autoHover: false
});

$('.stop').click(function () {
Expand Down

0 comments on commit 5d4bec5

Please sign in to comment.