Open ~/.bash_profile
in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {
function get(obj, path, def) { | |
var fullPath = path | |
.replace(/\[/g, '.') | |
.replace(/]/g, '') | |
.split('.') | |
.filter(Boolean); | |
return fullPath.every(everyFunc) ? obj : def; | |
function everyFunc(step) { |
<template> | |
<div> | |
<div class="map_container" v-show="googleLoaded"> | |
<div id="map"></div> | |
<input type="text" class="controls" id="pac-input"/> | |
</div> | |
<!-- <button id="btnLoad" v-show="!googleLoaded" class="btn btn-primary" v-on:click="loadMap">Load map</button> --> | |
<p v-show="!googleLoaded">Loading map...</p> | |
</div> | |
</template> |