Skip to content

Commit

Permalink
Merge pull request nolimits4web#313 from andyburke/master
Browse files Browse the repository at this point in the history
Add component.json for component support
  • Loading branch information
nolimits4web committed Aug 16, 2013
2 parents 1bb8264 + 9d9e251 commit 48ba9ea
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions component.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "swiper",
"repo": "andyburke/Swiper",
"description": "Mobile touch slider and framework with hardware accelerated transitions",
"version": "2.0.0",
"keywords": ["swiper", "swipe", "slider"],
"dependencies": {
},
"scripts": [
"dev/idangerous.swiper.js"
],
"main": "dev/idangerous.swiper.js",
"styles": [
"dev/idangerous.swiper.css"
],
"license": "MIT"
}
6 changes: 6 additions & 0 deletions dev/idangerous.swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -2347,3 +2347,9 @@ if (window.jQuery||window.Zepto) {
}
})(window.jQuery||window.Zepto)
}

// component
if ( typeof( module ) !== 'undefined' )
{
module.exports = Swiper;
}

0 comments on commit 48ba9ea

Please sign in to comment.