Skip to content

Commit 337e1d9

Browse files
authored
Merge pull request #1 from rr/skeleton-app
rr/skeleton-app (pull request #1)
2 parents 90423bc + 95061fd commit 337e1d9

File tree

91 files changed

+9265
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+9265
-0
lines changed

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
_tmp/**
2+
_logs/**
3+
debug/**
4+
build/**
5+
6+
node_modules/**
7+
8+
bower_components/**
9+
10+
.DS_Store
11+
.sass-cache/**
12+
npm-debug.log

.jshintrc

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
{
2+
// JSHint Default Configuration File (as on JSHint website)
3+
// See http://jshint.com/docs/ for more details
4+
5+
"maxerr" : 10, // {int} Maximum error before stopping
6+
7+
// Enforcing
8+
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
9+
"camelcase" : false, // true: Identifiers must be in camelCase
10+
"curly" : false, // true: Require {} for every new block or scope
11+
"eqeqeq" : false, // true: Require triple equals (===) for comparison
12+
"forin" : false, // true: Require filtering for..in loops with obj.hasOwnProperty()
13+
"immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
14+
"indent" : 2, // {int} Number of spaces to use for indentation
15+
"latedef" : false, // true: Require variables/functions to be defined before being used
16+
"newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
17+
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
18+
"noempty" : true, // true: Prohibit use of empty blocks
19+
"nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
20+
"plusplus" : false, // true: Prohibit use of `++` & `--`
21+
"quotmark" : "single", // Quotation mark consistency:
22+
// false : do nothing (default)
23+
// true : ensure whatever is used is consistent
24+
// "single" : require single quotes
25+
// "double" : require double quotes
26+
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
27+
"unused" : true, // true: Require all defined variables be used
28+
"strict" : false, // true: Requires all functions run in ES5 Strict Mode
29+
"trailing" : false, // true: Prohibit trailing whitespaces
30+
"maxparams" : false, // {int} Max number of formal params allowed per function
31+
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
32+
"maxstatements" : false, // {int} Max number statements per function
33+
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
34+
"maxlen" : false, // {int} Max number of characters per line
35+
36+
// Relaxing
37+
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
38+
"boss" : false, // true: Tolerate assignments where comparisons would be expected
39+
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
40+
"eqnull" : false, // true: Tolerate use of `== null`
41+
//"es5" : true, // true: Allow ES5 syntax (ex: getters and setters)
42+
"esnext" : true, // true: Allow ES.next (ES6) syntax (ex: `const`)
43+
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
44+
// (ex: `for each`, multiple try/catch, function expression…)
45+
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
46+
"expr" : true, // true: Tolerate `ExpressionStatement` as Programs
47+
"funcscope" : false, // true: Tolerate defining variables inside control statements"
48+
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
49+
"iterator" : false, // true: Tolerate using the `__iterator__` property
50+
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
51+
"laxbreak" : true, // true: Tolerate possibly unsafe line breakings
52+
"laxcomma" : false, // true: Tolerate comma-first style coding
53+
"loopfunc" : false, // true: Tolerate functions being defined in loops
54+
"multistr" : false, // true: Tolerate multi-line strings
55+
"proto" : false, // true: Tolerate using the `__proto__` property
56+
"scripturl" : false, // true: Tolerate script-targeted URLs
57+
"smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment
58+
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
59+
"sub" : true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
60+
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
61+
"validthis" : false, // true: Tolerate using this in a non-constructor function
62+
63+
// Environments
64+
"browser" : true, // Web Browser (window, document, etc)
65+
"couch" : false, // CouchDB
66+
"devel" : true, // Development/debugging (alert, confirm, etc)
67+
"dojo" : false, // Dojo Toolkit
68+
"jquery" : true, // jQuery
69+
"mootools" : false, // MooTools
70+
"node" : true, // Node.js
71+
"nonstandard" : false, // Widely adopted globals (escape, unescape, etc)
72+
"prototypejs" : false, // Prototype and Scriptaculous
73+
"rhino" : false, // Rhino
74+
"worker" : false, // Web Workers
75+
"wsh" : false, // Windows Scripting Host
76+
"yui" : false, // Yahoo User Interface
77+
78+
// Legacy
79+
"nomen" : false, // true: Prohibit dangling `_` in variables
80+
"onevar" : false, // true: Allow only one `var` statement per function
81+
"passfail" : false, // true: Stop on first error
82+
"white" : false, // true: Check against strict whitespace and indentation rules
83+
84+
// Custom Globals
85+
"globals" : { // additional predefined global variables
86+
"describe":true,
87+
"QUnit":true,
88+
"angular":true,
89+
"Natura": true,
90+
"Swiper": true
91+
}
92+
}

README.md

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<<<<<<< HEAD
2+
=======
3+
# Roberto Robson ui-challenge
4+
5+
## Prerequisites
6+
7+
- Node
8+
```
9+
Download and Install NodeJS
10+
https://nodejs.org/en/download/
11+
```
12+
13+
- Gulp (Global installation)
14+
```bash
15+
$ npm install -g gulp
16+
```
17+
18+
- Bower (Global installation)
19+
```bash
20+
$ npm install -g bower
21+
```
22+
23+
## Installation
24+
25+
### 1. Install npm and bower packages
26+
```bash
27+
$ npm install
28+
$ bower install
29+
```
30+
31+
## Branch naming convention
32+
```
33+
name-initials|team-initials /?fix /feature|description
34+
```
35+
36+
##### Example new directive
37+
branch name: jd/directive-modal
38+
- jd = John Doe
39+
- directive-modal = Angular Directive Modal
40+
41+
##### Example fixing a view
42+
branch name: ta/fix/view-home
43+
- ta = Team A
44+
- view-home = Angular View Home
45+
46+
##### Example new unclassified feature
47+
branch name: jd/mobile-swipe
48+
- jd = John Doe
49+
- mobile-swipe = Suporte mobile swipe behavior
50+
51+
## Development
52+
```bash
53+
$ gulp watch
54+
```
55+
Files will be created at /debug folder
56+
57+
## Build production version
58+
```bash
59+
$ gulp build
60+
```
61+
Files will be created at /build folder
62+
>>>>>>> d6fb31a... rr/skeleton-app (pull request #1)

assets/fonts/roboto-black-webfont.eot

23.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)