Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
diff --git a/apps/communications/contacts/js/utilities/sdcard.js b/apps/communications/contacts/js/utilities/sdcard.js | |
index fadae20..b51c885 100644 | |
--- a/apps/communications/contacts/js/utilities/sdcard.js | |
+++ b/apps/communications/contacts/js/utilities/sdcard.js | |
@@ -38,7 +38,7 @@ if (!utils.sdcard) { | |
/** | |
* Check whether there is a SD card inserted in the device. | |
- * @return {Boolean} | |
+ * @return {Boolean} true if sdcard available, false otherwise. |
This file contains 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
/* | |
YOU'LL BE ABLE TO PERFORM A CROSS DOMAIN REQUEST IF YOUR APP IS CERTIFIED OR PRIVILEDGED. | |
FOR MORE INFO CHECK THE PERMISSIONS MATRIX: https://docs.google.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdENVekxYRjBTX0dCXzItMnRyUU1RQ0E#gid=0 | |
First you'll need to setup the permission for doing the cross domain request on your application manifest. | |
Go to your app manifest, to the permissions section and add the following: | |
"systemXHR": {} | |
This file contains 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
# Clone the official gaia repo, or just clone it | |
git clone https://github.com/mozilla-b2g/gaia.git | |
cd gaia | |
# Make will 'build the project'. | |
# This means that the app cache manifest for each app will be create automatically (for those that have a manifest.webapp) | |
# Offline cache will be build with the current apps | |
# The user profile will be fill with the relevant information and the permissions per application | |
make |
This file contains 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
# Before start, download and install the macosx build prerequisites (there are web pages for all OS) | |
# https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Mac_OS_X_Prerequisites | |
# Using brew ... | |
brew install yasm mercurial libidl | |
# Install autoconf 2.13 (this specific version) | |
brew install https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb | |
# Now we are ready for getting the mozilla code https://developer.mozilla.org/En/Developer_Guide/Source_Code/Mercurial |
This file contains 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
#!/bin/bash | |
echo "CACHE MANIFEST" | |
echo "#Generated: $(date)" | |
echo "CACHE:" | |
echo "/" | |
find . -type f | | |
while read i; do | |
if [ "${i:2}" != "$(basename $0)" ]; then | |
if [[ $i == \./* ]]; then |
This file contains 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
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | |
<meta> | |
<sampleQuery>select * from {table}</sampleQuery> | |
<description> | |
YQL execute template | |
</description> | |
<author>[email protected]</author> | |
</meta> | |
<bindings> | |
<select itemPath="" produces="XML"> |