Skip to content

Commit

Permalink
Merge pull request #447 from acjim/removing-non-finished-functionalities
Browse files Browse the repository at this point in the history
code clean up and removing un-finished functionality
  • Loading branch information
idrissou authored Sep 8, 2016
2 parents f192939 + 62dffbe commit bc90949
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions src/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,6 @@ app.run(function ($rootScope, toolbar, toolbarItems, appMenuService) {
callback: function () {
$rootScope.$broadcast('map.get_blobs');
}
},
{
id: toolbarItems.COMPUTE_BLOBS,
caption: 'Duplicate Map',
icon: ' glyphicon glyphicon-duplicate',
callback: function () {
$rootScope.$broadcast('map.duplicate');
}
}
]);

Expand Down
11 changes: 0 additions & 11 deletions src/app/components/map/mapDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ app.directive('d3Map', ['$rootScope', '$window', '$timeout', 'toolbar', 'toolbar
controller: 'mapCtrl',
template: '<p class="stressLabel">Stress: {{(data.stress || "Undefined Value") | number: 3}}</p>' +
'<div class=" blobs ">' +
'<div class="col-xs-1"></div> ' +
' <input class="col-xs-4" id="blobs_stress" placeholder="Stress: 0.1 default"> </input>' +
'<div class="col-xs-1"></div> ' +
'<input class="col-xs-5" id="smoothing" placeholder="Smoothing: 0.5 default"> </input>' +
'<button id="blobclick" class="col-xs-1 btn-success" > ok </button>'+
'</div>',


Expand Down Expand Up @@ -682,13 +677,7 @@ app.directive('d3Map', ['$rootScope', '$window', '$timeout', 'toolbar', 'toolbar
return [coordinates[0] * scale + translate[0], coordinates[1] * scale + translate[1]];
}

var element= document.getElementById("blobclick");
element.onclick=function() {
var blobs_stress = document.getElementById("blobs_stress");
alert("Functionality not yet complete");
var smoothing = document.getElementById("smoothing");

}
/**
* Deselects all nodes
*/
Expand Down

0 comments on commit bc90949

Please sign in to comment.