- AngularJS | https://docs.angularjs.org/tutorial/the_end
- AngularJS | https://github.com/angular
- AngularJS | https://github.com/angular/angular-seed
- CMSs | http://www.backbee.com/community
- CMSs | https://microweber.com/
'use strict'; | |
module.exports = function(grunt) { | |
// load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
// configurable paths | |
var paths = { |
'use strict'; | |
module.exports = function(grunt) { | |
// load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
// configurable paths | |
var paths = { |
$("#user_picture").change -> | |
userPictureFileName = $(this).val().split('\\').pop(); | |
$("#user_picture_text").html(userPictureFileName) | |
files = this.files | |
reader = new FileReader() | |
reader.readAsDataURL(files[0]) | |
reader.onloadend = -> | |
$("#profile_pic").css("background-image", "url(" + this.result + ")") | |
$("#user_cover_photo").change -> |
CSS Escalavél | |
/** CSS Reset **/ | |
http://meyerweb.com/eric/tools/css/reset/ | |
/** GuideLine @mdo | |
http://mdo.github.io/code-guide/ | |
/** Modularização folhas de estilo **/ | |
http://codepen.io/chriscoyier/blog/codepens-css#organization-files |
/** | |
* Convert mouse events into touch events. | |
* From: http://ross.posterous.com/2008/08/19/iphone-touch-events-in-javascript/ | |
*/ | |
function touchHandler(event) { | |
var touch = event.changedTouches[0]; | |
var simulatedEvent = document.createEvent("MouseEvent"); | |
simulatedEvent.initMouseEvent({ | |
touchstart: "mousedown", |