Main will always be our production branch and it should not be committed to directly. Only branch off for hotfixes, or in rare cases, hard resetting development. The only branches to be merged into Main are release branches, because the only commits that should be made to master are full releases.
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
const [search, setSearch] = useState("") | |
const debouncedSearch = useDebounce(search, 400) | |
const [searchResults, setSearchResults] = useState<Agent[]>([]) | |
const { data: agents, isLoading } = useListAgents({ | |
search: debouncedSearch, | |
}) | |
useEffect(() => { | |
setSearchResults(() => agents || []) |
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
export default (components, type, part = "long_name") => { | |
for (var i = 0; i < components.length; i++) { | |
for (var j = 0; j < components[i].types.length; j++) { | |
if (components[i].types[j] === type) return components[i][part] | |
} | |
} | |
return "" | |
} |
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
import { Server, Model, Response } from "miragejs" | |
import { | |
consortiaFixtures, | |
statusFixtures, | |
typeFixtures, | |
enrollmentFixtures | |
} from "./fixtures" | |
var jwt = require("jsonwebtoken") | |
export function makeServer({ environment = "development" } = {}) { |
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
import React from 'react'; | |
import { connect } from 'react-redux'; | |
import { Container, Button, Form, Item, Input, Label } from 'native-base'; | |
import { | |
NativeModules, | |
LayoutAnimation, | |
Animated, | |
View, | |
Keyboard, | |
ScrollView, |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/Users/jordanriser/.nvm/versions/node/v6.11.2/bin/node', | |
1 verbose cli '/Users/jordanriser/.nvm/versions/node/v6.11.2/bin/npm', | |
1 verbose cli 'start' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose run-script [ 'prestart', 'start', 'poststart' ] | |
5 info lifecycle [email protected]~prestart: [email protected] | |
6 silly lifecycle [email protected]~prestart: no script for prestart, continuing | |
7 info lifecycle [email protected]~start: [email protected] |
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
// RESOURCES/PRINT.JS | |
var jsonApi = require("jsonapi-server"); | |
var printHandler = require("../handlers/printHandler.js"); | |
let PrintHandler = new printHandler(); | |
jsonApi.define({ | |
resource: "print", | |
handlers: PrintHandler, |
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
var windows = (navigator.platform.toLowerCase() == 'win16' || navigator.platform.toLowerCase() == 'win32') ? true : false; | |
console.log(windows); | |
if($.browser.name == 'firefox' && $.browser.versionNumber >= 22 && windows == true){ | |
$('html').css('-moz-transform', 'scale(0.8)'); | |
} |
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
$(document).ready(function() { | |
function filterPath(string) { | |
return string | |
.replace(/^\//,'') | |
.replace(/(index|default).[a-zA-Z]{3,4}$/,'') | |
.replace(/\/$/,''); | |
} | |
var locationPath = filterPath(location.pathname); | |
var scrollElem = scrollableElement('html', 'body'); | |
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
.roundedTop, .roundedTop .rLeft, .roundedMiddle, .roundedMiddle .rLeft, .roundedBottom, .roundedBottom .rLeft { | |
background: transparent !important; | |
} | |
.actions, .inlineContentAdder { | |
background: #333 !important; | |
} | |
.inlineContentAdder a.vwInitialAdd, .inlineContentAdder a.vwInitialAdd:link { | |
border-left: 3px solid #1cd971 !important; | |
background: transparent !important; | |
} |
NewerOlder