-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
leo
committed
Apr 21, 2013
1 parent
483baac
commit 926aa0c
Showing
15 changed files
with
902 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/node_modules/ | ||
*.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"curly": true, | ||
"eqeqeq": true, | ||
"immed": true, | ||
"latedef": true, | ||
"newcap": true, | ||
"noarg": true, | ||
"sub": true, | ||
"undef": true, | ||
"unused": true, | ||
"boss": true, | ||
"eqnull": true, | ||
"node": true, | ||
"es5": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "Ascensor.js", | ||
"title": "Ascensor.js", | ||
"description": "The best jQuery plugin ever.", | ||
"version": "1.5.6", | ||
"homepage": "http://kirkas.ch/ascensor/", | ||
"author": { | ||
"name": "léo galley", | ||
"email": "[email protected]", | ||
"url": "http://kirkas.ch/" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:kirkas/Ascensor.js.git" | ||
}, | ||
"bugs": "https://github.com/kirkas/Ascensor.js/issues", | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://kirkas.ch/ascensor//blob/master/LICENSE-MIT" | ||
} | ||
], | ||
"dependencies": { | ||
"jquery": "*" | ||
}, | ||
"keywords": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
module.exports = function(grunt) { | ||
// Project configuration. | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
|
||
projectOptions:{ | ||
src:"src", | ||
dist:"dist" | ||
}, | ||
|
||
uglify: { | ||
options: { | ||
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n' | ||
}, | ||
|
||
ascensor:{ | ||
options:{ | ||
beautify: true, | ||
mangle:false, | ||
preserveComments:true | ||
}, | ||
src: '<%= projectOptions.src %>/jquery.ascensor.js', | ||
dest: '<%= projectOptions.dist %>/jquery.ascensor.js' | ||
}, | ||
|
||
ascensorstripped: { | ||
options:{ | ||
beautify: true, | ||
mangle:false | ||
}, | ||
src: '<%= projectOptions.src %>/jquery.ascensor.js', | ||
dest: '<%= projectOptions.dist %>/jquery.ascensor.stripped.js' | ||
}, | ||
|
||
ascensormin: { | ||
src: '<%= projectOptions.src %>/jquery.ascensor.js', | ||
dest: '<%= projectOptions.dist %>/jquery.ascensor.min.js' | ||
} | ||
}, | ||
|
||
jshint: { | ||
gruntfile: { | ||
src:'Gruntfile.js' | ||
}, | ||
|
||
ascensorsrc: { | ||
src:'<%= projectOptions.src %>/jquery.ascensor.js' | ||
} | ||
}, | ||
|
||
clean:{ | ||
dist:{ | ||
src: ["dist/"] | ||
} | ||
} | ||
|
||
}); | ||
|
||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
grunt.loadNpmTasks('grunt-contrib-clean'); | ||
|
||
grunt.registerTask('default', ['jshint']); | ||
grunt.registerTask('build', ['clean', 'jshint', 'uglify']); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Copyright (c) 2013 léo galley | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,40 @@ | ||
Ascensor.js | ||
=========== | ||
# Ascensor.js | ||
|
||
Description | ||
----------- | ||
Ascensor is a jquery plugin which aims to train and adapt content according to an elevator system | ||
|
||
See the website for doc and exemple. | ||
http://kirkas.ch/ascensor/#/Home | ||
## Getting Started | ||
Download the [production version][min] or the [development version][max]. | ||
|
||
|
||
[max]: https://raw.github.com/kirkas/Ascensor.js/master/dist/jquery.ascensor.js | ||
[min]: https://raw.github.com/kirkas/Ascensor.js/master/dist/jquery.ascensor.min.js | ||
[stripped]: https://raw.github.com/kirkas/Ascensor.js/master/dist/jquery.ascensor.stripped.js | ||
|
||
In your web page: | ||
|
||
```html | ||
<div id="ascensor"> | ||
<div>Content 1</div> | ||
<div>Content 2</div> | ||
<div>Content 3</div> | ||
<div>Content 4</div> | ||
<div>Content 5</div> | ||
<div>Content 6</div> | ||
<div>Content 7</div> | ||
</div> | ||
|
||
<script src="jquery.js"></script> | ||
<script src="jquery.ascensor.js"></script> | ||
<script> | ||
$('#ascensorBuilding').ascensor(); | ||
</script> | ||
``` | ||
|
||
## Documentation | ||
_(Coming soon)_ | ||
|
||
## Examples | ||
_(Coming soon)_ | ||
|
||
## Release History | ||
_(Nothing yet)_ |
Oops, something went wrong.