- 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
|
lat: 46.1227
|
||||||
lng: -72.6169
|
lng: -72.6169
|
||||||
zoom: 7
|
zoom: 7
|
||||||
|
|
||||||
getLocalStorageCenter = () ->
|
getLocalStorageCenter = () ->
|
||||||
JSON.parse(localStorage.getItem("mapCenter"))
|
JSON.parse(localStorage.getItem("mapCenter")) or defaultMapCenter
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ directive = () ->
|
|||||||
$scope.isNumber = _.isNumber($scope.value)
|
$scope.isNumber = _.isNumber($scope.value)
|
||||||
$scope.isObject = _.isObject($scope.value)
|
$scope.isObject = _.isObject($scope.value)
|
||||||
$scope.isArray = _.isArray($scope.value)
|
$scope.isArray = _.isArray($scope.value)
|
||||||
|
$scope.isBoolean = _.isBoolean($scope.value)
|
||||||
]
|
]
|
||||||
return directive
|
return directive
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<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>
|
||||||
<li>
|
<li>
|
||||||
<a class="button tiny" ng-click="bigInput = !bigInput" >
|
<a class="button tiny" ng-click="bigInput = !bigInput" >
|
||||||
|
|||||||
@@ -43,6 +43,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row" ng-show="enlapsed_time">
|
<div class="row" ng-show="enlapsed_time">
|
||||||
<div class="columns large-12" style="text-align: center;">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
Reference in new issue
Block a user