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
| define(function(require, exports, module) { | |
| var Surface = require("famous/core/Surface"); | |
| var Modifier = require('famous/core/Modifier'); | |
| var Transform = require('famous/core/Transform'); | |
| var View = require('famous/core/View'); | |
| var StateModifier = require('famous/modifiers/StateModifier'); | |
| var Scrollview = require("famous/views/Scrollview"); | |
| var GymData = require('src/examples/data/GymData.js'); |
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
| define(function(require, exports, module) { | |
| var Surface = require("famous/core/Surface"); | |
| var CanvasSurface = require("famous/surfaces/CanvasSurface"); | |
| var RenderNode = require("famous/core/RenderNode"); | |
| var View = require('famous/core/View'); | |
| var Modifier = require('famous/core/Modifier'); | |
| var Transform = require('famous/core/Transform'); | |
| var StateModifier = require('famous/modifiers/StateModifier'); | |
| var Easing = require('famous/transitions/Easing'); | |
| var Lightbox = require('famous/views/Lightbox'); |
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
| define(function(require, exports, module) { | |
| var Surface = require("famous/core/Surface"); | |
| var CanvasSurface = require("famous/surfaces/CanvasSurface"); | |
| var RenderNode = require("famous/core/RenderNode"); | |
| var View = require('famous/core/View'); | |
| var Modifier = require('famous/core/Modifier'); | |
| var Transform = require('famous/core/Transform'); | |
| var StateModifier = require('famous/modifiers/StateModifier'); | |
| var Easing = require('famous/transitions/Easing'); | |
| var Lightbox = require('famous/views/Lightbox'); |
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
| function zeroFill( number, width ){width -= number.toString().length;if ( width > 0 ){return new Array( width + (/\./.test( number ) ? 2 : 1) ).join( '0' ) + number;}return number; } | |
| $(document).ready(function(){ | |
| // $('body').click(function(){ | |
| // alert("hello!") | |
| // }) | |
| var sites = [] | |
| $('#splash-container').on('click', 'a.twitter_linkout', function(e){ | |
| e.preventDefault(); | |
| var targetElement = e.target; |
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
| <script type="application/javascript" src="/wp-content/uploads/2015/01/urx.min_.js"></script> | |
| <script type="application/javascript"> | |
| function goToURX(){ | |
| this.res.resolveDeeplinkWithWebFallback(function (){}); | |
| } | |
| $urx.setApiKey("Uy3q1L8GSPRO+apW20GaufFZNbJ4RQpD5OX9JNxIM3h6AwoKRAg3gU1tGww=|M+wZfGMnswkf+/Zah+9WBhymHb+z0kIJ"); | |
| function urxSearch(searchTerm) { | |
| $urx.search(searchTerm, function(response) { | |
| // SEARCH SUCCESS HANDLER | |
| var searchResult = response.results[0]; |
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
| <script type="application/javascript" src="/wp-content/uploads/2015/01/urx-bugfix-this2.js"></script> | |
| <script type="application/javascript"> | |
| function goToURX(result){ | |
| result.resolveDeeplinkWithWebFallback(function (){}); | |
| } | |
| $urx.setApiKey("Uy3q1L8GSPRO+apW20GaufFZNbJ4RQpD5OX9JNxIM3h6AwoKRAg3gU1tGww=|M+wZfGMnswkf+/Zah+9WBhymHb+z0kIJ"); | |
| function urxSearch(searchTerm) { | |
| $urx.search(searchTerm, function(response) { | |
| // SEARCH SUCCESS HANDLER | |
| var searchResult = response.results[0]; |
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
| <!--In the code block below, we’ve done the following: | |
| 1. Added a search box and search button to the page | |
| 2. Constructed a URX search query | |
| 3. Displayed the search results with styling | |
| 4. Attached deep links to the search results that send a user into a destination app (or to the requested content on the web if a user doesn’t have the app installed)--> | |
| <div> | |
| <h1>Use me on your mobile device to find music in your apps:</h1> | |
| <input type="text" id="search-input" placeholder="Artist, album or song" /> | |
| <input id="search-button" type="button" value="Search" /> |
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
| <!--In the code block below, we’ve done the following: | |
| 1. Added a search box and search button to the page | |
| 2. Constructed a URX search query | |
| 3. Displayed the search results with styling | |
| 4. Attached deep links to the search results that send a user into a destination app (or to the requested content on the web if a user doesn’t have the app installed)--> | |
| <div> | |
| <h1>Use me on your mobile device to find music in your apps:</h1> | |
| <input type="text" id="search-input" placeholder="Artist, album or song" /> | |
| <input id="search-button" type="button" value="Search" /> |
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
| [[[URXTerm alloc] initWithKeywords:@"ellie goulding"] searchAsynchronouslyWithSuccessHandler:^(URXSearchResponse *searchResponse) { | |
| // Handle Search Results | |
| } AndFailureHandler:^(URXAPIError *searchError) { | |
| // Handle Error | |
| }]; |
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
| // | |
| // URX.m | |
| // | |
| // Created by Nate Hindman. | |
| // | |
| // | |
| #import "URX.h" | |
| #import <URXWidgets/URXWidgets.h> |