Store and fetch application preferences using platform facilities. Compatible with phonegap 3.x
From plugin registry:
| # See: http://code.google.com/p/arduino/wiki/Platforms | |
| menu.cpu=Processor | |
| ############################################################## | |
| wizzi.name=wizzimote w/ cc430f5137 | |
| wizzi.build.core=wizzimote | |
| wizzi.upload.tool=tilib_wizzi | |
| wizzi.upload.protocol=tilib_wizzi | |
| wizzi.upload.maximum_size=31104 |
| [{ | |
| "path": "post", | |
| "tasks": [{}] | |
| }, { | |
| "path": "upload" | |
| }, { | |
| "path": "presenters", | |
| "flows": [{ | |
| "path": "json", | |
| "data": { |
| { | |
| "name": "test", | |
| "description": "test for component v1.0.0", | |
| "private": true, | |
| "version": "0.94.0", | |
| "dependencies": { | |
| "apla/dataflo.ws": "*", | |
| "ftlabs/fastclick": "*", | |
| "apla/EventEmitter": "*", | |
| "apla/node-util": "*", |
| var PacketSender = function (url, options) { | |
| this.data = []; | |
| this.url = url; | |
| options = options || {}; | |
| if (!options.maxPacketsToSend) | |
| options.maxPacketsToSend = 100; | |
| if (!options.timeout) | |
| options.timeout = 60000; | |
| this.o = options; | |
| this.queuedPackets = {}; |
may 14, 2014
• added help • fixed some issues for fonts with space in family name
| CREATE USER 'backupdb'@'localhost' IDENTIFIED BY '++++++++++++++++++++++++++++++++++'; | |
| GRANT RELOAD ON *.* TO 'backupdb'@'localhost'; | |
| GRANT CREATE, INSERT, DROP ON mysql.ibbackup_binlog_marker TO 'backupdb'@'localhost'; | |
| GRANT CREATE, INSERT, DROP ON mysql.backup_progress TO 'backupdb'@'localhost'; | |
| GRANT CREATE, INSERT, SELECT, DROP ON mysql.backup_history TO 'backupdb'@'localhost'; | |
| GRANT REPLICATION CLIENT ON *.* TO 'backupdb'@'localhost'; | |
| GRANT SELECT,LOCK TABLES ON *.* TO 'backupdb'@'localhost'; | |
| GRANT SELECT,LOCK TABLES ON information_schema.* TO 'backupdb'@'localhost'; | |
| GRANT SUPER ON *.* TO 'backupdb'@'localhost'; | |
| GRANT CREATE TEMPORARY TABLES ON mysql.* TO 'backupdb'@'localhost'; |
| function MakeEl (name, attributes) { | |
| var el = document.createElement (name); | |
| if (typeof attributes == 'object') { | |
| for (var i in attributes) { | |
| el.setAttribute (i, attributes[i]); | |
| if (i.toLowerCase() == 'class') { | |
| el.className = attributes[i]; // for IE compatibility | |
| } else if (i.toLowerCase() == 'style') { |
| using Microsoft.Phone.Controls; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.IO.IsolatedStorage; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Text; | |
| using System.Windows; |
| plugins.shareSocial.share = function (message, image, url, title, successCallback, failCallback) { | |
| function success(args) { | |
| successCallback && successCallback(args); | |
| } | |
| function fail(args) { console.log (args); | |
| failCallback && failCallback(args); | |
| } |