Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcardoso committed Sep 14, 2014
1 parent 0278cdc commit b1e7d07
Show file tree
Hide file tree
Showing 7 changed files with 275 additions and 193 deletions.
33 changes: 33 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"bitwise": true,
"curly": true,
"eqeqeq": true,
"forin": true,
"immed": true,
"indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"maxlen": 120,
"browser": true,
"devel": true,
"node": true,
"white": true,
"onevar": true,
"freeze": true,
"camelcase": true,
"quotmark": "double",
"maxdepth": 4,
"maxcomplexity": 8,
"maxstatements": 10,
"globals": {
"jQuery": false,
"define": false
}
}
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ NAME = Sliding Menu

UGLIFYJS = node_modules/uglify-js/bin/uglifyjs
UGLIFYCSS = node_modules/uglifycss/uglifycss
JSHINT = node_modules/jshint/bin/jshint
JS_DEST = dist/sliding-menu.js
JS_MIN_DEST = dist/sliding-menu.min.js
CSS_DEST = dist/sliding-menu.css
Expand All @@ -27,8 +28,9 @@ build: node_modules standalone
#

standalone:
@$(UGLIFYJS) $(JS_DEST) --output $(JS_MIN_DEST) -p 5 -c -m --lint --comments all
@$(UGLIFYJS) $(JS_DEST) --output $(JS_MIN_DEST) -p 5 -c -m --lint --comments --stats
@$(UGLIFYCSS) --cute-comments $(CSS_DEST) > $(CSS_MIN_DEST)
@$(JSHINT) $(JS_DEST)

#
# Install Node.js modules
Expand Down
19 changes: 11 additions & 8 deletions dist/sliding-menu.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
/*
* Sliding Menu Plugin
* Mobile app list-style navigation in the browser
/*!
* Sliding Menu Plugin 0.1.0
* http://github.danielcardoso.net/sliding-menu/
*
* Written by Daniel Cardoso
* http://github.danielcardoso.net/sliding-menu
* Authored by Daniel Cardoso
* https://github.com/DanielCardoso
*
* Copyright 2014, Daniel Cardoso
* @license : The MIT License (MIT)
* http://opensource.org/licenses/MIT
*/
.sliding-menu {
position: relative;
Expand Down Expand Up @@ -36,14 +39,14 @@

.sliding-menu a:hover {
color: #fff;
background: #333;
border: none;
background: #333;
}

.sliding-menu .active a {
color: #fff;
background: #333;
border: none;
background: #333;
}

.sliding-menu a.nav:before {
Expand All @@ -61,4 +64,4 @@
float: left;
margin-right: 1em;
content: "\3008";
}
}
Loading

0 comments on commit b1e7d07

Please sign in to comment.