This file contains hidden or 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
shell: { | |
facebookDownload: { | |
command: [ | |
'echo "## Downloading Facebook Plugin"', | |
'git clone [email protected]:Wizcorp/phonegap-facebook-plugin.git .tmp-plugin/phonegap-facebook-plugin/', | |
'cd .tmp-plugin/phonegap-facebook-plugin/', | |
'echo "## Checkout tag v0.11.0"', | |
'git checkout v0.11.0 -q', | |
'cd ./../../' |
This file contains hidden or 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
/* | |
Usage | |
global.get() // return Array of globals found | |
*/ | |
;(function (global) { | |
function Globals () {} |
This file contains hidden or 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
var accordion = (function ($) { | |
'use strict' | |
var accordionMethods = {}, | |
tabsList, | |
tabWrapper, | |
tabSelector, | |
tabWrapper, |
This file contains hidden or 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
// `grunt-shell` config: | |
shell: { | |
facebookDownload: { | |
command: [ | |
'echo "## Downloading Facebook Plugin"', | |
'git clone [email protected]:Wizcorp/phonegap-facebook-plugin.git .tmp-plugin/phonegap-facebook-plugin/', | |
'cd .tmp-plugin/phonegap-facebook-plugin/', | |
'echo "## Checkout tag 0.10.1"', | |
'git checkout 0.10.1 -q', |
This file contains hidden or 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
var item = { | |
'property-one':[ | |
{name: 'string', id: 1, total: 1}, | |
{name: 'string', id: 2, total: 1}, | |
{name: 'string', id: 3, total: 1}, | |
{name: 'string', id: 4, total: 1}, | |
{name: 'string', id: 5, total: 1} | |
], | |
'property-two': [ | |
{name: 'string', id: 6, total: 1}, |
This file contains hidden or 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
$scope.loadingNewPhoto = false; | |
$cordovaCamera.getPicture({ | |
sourceType: (index == 1) ? Camera.PictureSourceType.PHOTOLIBRARY : Camera.PictureSourceType.CAMERA, | |
destinationType: (typeof Camera !== "undefined") ? Camera.DestinationType.FILE_URI : false, | |
targetWidth: 512, | |
targetHeight: 512 | |
}).then(function(imageData) { | |
var ft = new FileTransfer(); |
This file contains hidden or 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
var url = toUrl('Você mora em São Paulo?'); | |
console.log(url); // voce-mora-em-sao-paulo |
This file contains hidden or 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
var url = shareURL({ | |
url: 'http://felquis.com/', | |
image: 'http://felquis.com/img/posts/ilusao-de-muller-lyer.jpg', | |
title: 'Titulo que você quiser', | |
summary: 'Descrição que você quiser' | |
}) |
This file contains hidden or 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
li = HTJSON.parse({ | |
li : { | |
content : { | |
label : { | |
attr : { | |
'for' : 'amount' | |
}, | |
content : 'Donation amount ($50 increments):'; | |
}, | |
input : { |