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
/** | |
* Copyright (c) 2015-present, Facebook, Inc. | |
* All rights reserved. | |
* | |
* This source code is licensed under the BSD-style license found in the | |
* LICENSE file in the root directory of this source tree. An additional grant | |
* of patent rights can be found in the PATENTS file in the same directory. | |
*/ | |
/** |
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
'use strict'; | |
var React = require('react-native'); | |
var GLOBAL = require('../Globals'); | |
var Swipeout = require('react-native-swipeout'); | |
var Separator = require('./Separator'); | |
var Api = require('../Utils/Api'); | |
var TrackedItemIndex = require('./TrackedItemIndex'); | |
var { |
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
// TIDRT | |
class TrackedItemDetailRowTouchable extends React.Component{ | |
constructor(props){ | |
super(props); | |
} | |
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
<cfscript> | |
/* | |
Try It Here: | |
http://www.trycf.com/scratch-pad/gist/eb0302e242c13755a4f2 | |
*/ | |
writeOutput( pad('123', 5) ); | |
function pad( str, n ){ |
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
<cfscript> | |
function getSubseries(series, threshold){ | |
/* | |
* Setup a subseries container, to be replaced whenever a longer series is | |
* found. As well, let's calculate the length of the original series to avoid | |
* doing it repeatedly with every iteration of the following for loop; | |
*/ | |
var subseries = []; |