- fixed bug
- ui goodies
This commit is contained in:
1 parent
29606ce5d8
commit
f423d23e9a
4 files changed
+5
-4
No files matched your search
@@ -2,13 +2,13 @@ root = this;
|
||||
|
||||
|
||||
|
||||
mapCenter =
|
||||
defaultMapCenter =
|
||||
lat: 46.1227
|
||||
lng: -72.6169
|
||||
zoom: 7
|
||||
|
||||
getLocalStorageCenter = () ->
|
||||
JSON.parse(localStorage.getItem("mapCenter"))
|
||||
JSON.parse(localStorage.getItem("mapCenter")) or defaultMapCenter
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ directive = () ->
|
||||
$scope.isNumber = _.isNumber($scope.value)
|
||||
$scope.isObject = _.isObject($scope.value)
|
||||
$scope.isArray = _.isArray($scope.value)
|
||||
$scope.isBoolean = _.isBoolean($scope.value)
|
||||
]
|
||||
return directive
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="button tiny" ng-click="newQuery=''" ng-class="{disabled: newQuery=='' }">Clear</a>
|
||||
<a class="button tiny" ng-click="newQuery='{}'" ng-class="{disabled: newQuery==''}">Clear</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="button tiny" ng-click="bigInput = !bigInput" >
|
||||
|
||||
@@ -43,6 +43,6 @@
|
||||
</div>
|
||||
<div class="row" ng-show="enlapsed_time">
|
||||
<div class="columns large-12" style="text-align: center;">
|
||||
took {{enlapsed_time}} seconds | <a ng-href="{{raw_url}}">raw</a>
|
||||
took {{enlapsed_time | number | replaceAllCommasBySpaces}} seconds | <a ng-href="{{raw_url}}">raw</a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user