You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/06/13 01:16:54 UTC
svn commit: r1492474 - in /incubator/climate/trunk/rcmet/src/main/ui/app:
index.html js/directives.js
Author: joyce
Date: Wed Jun 12 23:16:53 2013
New Revision: 1492474
URL: http://svn.apache.org/r1492474
Log:
Resolves CLIMATE-97 - Rename leaflet map directive
- Renames the leaflet map directive to leafletMap.
- Updates index.html to use the changed name.
Modified:
incubator/climate/trunk/rcmet/src/main/ui/app/index.html
incubator/climate/trunk/rcmet/src/main/ui/app/js/directives.js
Modified: incubator/climate/trunk/rcmet/src/main/ui/app/index.html
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/index.html?rev=1492474&r1=1492473&r2=1492474&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/index.html (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/index.html Wed Jun 12 23:16:53 2013
@@ -78,7 +78,7 @@
<h1 id="rcmetHeader">RCMET UI</h1>
<div ng-controller="WorldMapCtrl">
- <sap id="map"></sap>
+ <leaflet-map id="map"></leaflet-map>
</div>
<div ng-controller="ParameterSelectCtrl">
Modified: incubator/climate/trunk/rcmet/src/main/ui/app/js/directives.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/js/directives.js?rev=1492474&r1=1492473&r2=1492474&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/js/directives.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/js/directives.js Wed Jun 12 23:16:53 2013
@@ -2,7 +2,7 @@
// Directive for dealing with the Leaflet map
angular.module('rcmes').
-directive('sap', function($rootScope) {
+directive('leafletMap', function($rootScope) {
return {
restrict: 'E',
replace: true,