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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/** | |
* __ __ __ | |
* ____/ /_ ____/ /______ _ ___ / /_ | |
* / __ / / ___/ __/ ___/ / __ `/ __/ | |
* / /_/ / (__ ) / / / / / /_/ / / | |
* \__,_/_/____/_/ /_/ /_/\__, /_/ | |
* / / | |
* \/ | |
* http://distriqt.com | |
* ------------------------------------- |
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
<!-- | |
__ __ __ | |
____/ /_ ____/ /______ _ ___ / /_ | |
/ __ / / ___/ __/ ___/ / __ `/ __/ | |
/ /_/ / (__ ) / / / / / /_/ / / | |
\__,_/_/____/_/ /_/ /_/\__, /_/ | |
/ / | |
\/ | |
http://distriqt.com | |
------------------------------------- |
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
<?xml version="1.0" encoding="utf-8" standalone="no"?> | |
<application xmlns="http://ns.adobe.com/air/application/16.0"> | |
<id>com.distriqt.test</id> | |
<filename>TestNativeMaps</filename> | |
<versionNumber>0.0.1</versionNumber> | |
<name>Test Native Maps</name> | |
<description>distriqt // NativeMaps Test Application</description> | |
<copyright>2014 distriqt //</copyright> | |
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 foo:String = "bar"; |
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
<InfoAdditions><![CDATA[ | |
<key>UIDeviceFamily</key> | |
<array> | |
<string>1</string> | |
<string>2</string> | |
</array> | |
<key>CFBundleURLTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleURLSchemes</key> |
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
<android> | |
<manifestAdditions><![CDATA[ | |
<manifest android:installLocation="auto"> | |
<uses-permission android:name="android.permission.INTERNET"/> | |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | |
<application> | |
<activity android:name="com.facebook.FacebookActivity" android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:label="@string/app_name" /> | |
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPILoginActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"></activity> | |
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPIDialogActivity"></activity> | |
<activity android:name="com.distriqt.extension.facebookapi.FacebookAPIMessageDialogActivity"></activity> |
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
/** | |
DISTRIQT FacebookAPI Extension - Example code for initialisation and login | |
**/ | |
public function initExtension():void | |
{ | |
if (FacebookAPI.isSupported) | |
{ | |
// Initialise the extension, and the Core ANE which is required | |
Core.init(); |
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
<!-- Example iPhone additions --> | |
<iPhone> | |
<InfoAdditions><![CDATA[ | |
<key>UIDeviceFamily</key> | |
<array> | |
<string>1</string> | |
<string>2</string> | |
</array> | |
<key>CFBundleURLTypes</key> | |
<array> |
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
<iPhone> | |
<InfoAdditions><![CDATA[ | |
<key>UIDeviceFamily</key> | |
<array> | |
<string>1</string> | |
</array> | |
<key>UIApplicationShortcutItems</key> | |
<array> | |
<dict> | |
<key>UIApplicationShortcutItemIconFile</key> |
OlderNewer