Skip to content

Commit

Permalink
fix(log): Totally removed external log libraries dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tombatossals committed Nov 4, 2015
1 parent ad2104c commit a093ed6
Show file tree
Hide file tree
Showing 41 changed files with 229 additions and 285 deletions.
134 changes: 56 additions & 78 deletions dist/angular-leaflet-directive.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/angular-leaflet-directive.min.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions examples/0307-paths-events-example-with-id.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<link rel="stylesheet" href="../bower_components/Leaflet.label/dist/leaflet.label.css" />
<script>
var app = angular.module("demoapp", ["leaflet-directive"]);
app.controller("PathEventsController", function($scope, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("PathEventsController", function($scope, $log) {
var paths = {};
$scope.clicked = 0;

Expand Down
3 changes: 1 addition & 2 deletions examples/0307-paths-events-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<link rel="stylesheet" href="../bower_components/Leaflet.label/dist/leaflet.label.css" />
<script>
var app = angular.module("demoapp", ["leaflet-directive"]);
app.controller("PathEventsWithIDController", function($scope, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("PathEventsWithIDController", function($scope, $log) {
var paths = {};
$scope.clicked = 0;

Expand Down
3 changes: 1 addition & 2 deletions examples/0513-markers-events-example-with-id.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<link rel="stylesheet" href="../bower_components/leaflet/dist/leaflet.css" />
<script>
var app = angular.module("demoapp", ["leaflet-directive"]);
app.controller("MarkersEventsController", [ "$scope", "leafletMarkerEvents", "leafletLogger", function($scope, leafletMarkerEvents, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("MarkersEventsController", [ "$scope", "leafletMarkerEvents", "$log", function($scope, leafletMarkerEvents, $log) {

$scope.center = {
lat: 51.505,
Expand Down
9 changes: 3 additions & 6 deletions examples/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3343,8 +3343,7 @@ var app = angular.module('webapp');
});
});
} ]);
app.controller("MarkersEventsController", [ "$scope", "leafletMarkerEvents", "leafletLogger", function($scope, leafletMarkerEvents, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("MarkersEventsController", [ "$scope", "leafletMarkerEvents", "$log", function($scope, leafletMarkerEvents, $log) {
$scope.center = {
lat: 51.505,
lng: -0.09,
Expand Down Expand Up @@ -4302,8 +4301,7 @@ var app = angular.module('webapp');
});
}
}]);
app.controller("PathEventsController", function($scope, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("PathEventsController", function($scope, $log) {
var paths = {};
$scope.clicked = 0;
var marylandIslands = {
Expand Down Expand Up @@ -4360,8 +4358,7 @@ var app = angular.module('webapp');
$scope.mouseover = path.modelName;
});
});
app.controller("PathEventsWithIDController", function($scope, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("PathEventsWithIDController", function($scope, $log) {
var paths = {};
$scope.clicked = 0;
var marylandIslands = {
Expand Down
3 changes: 1 addition & 2 deletions examples/js/controllers/MarkersEventsController.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
app.controller("MarkersEventsController", [ "$scope", "leafletMarkerEvents", "leafletLogger", function($scope, leafletMarkerEvents, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("MarkersEventsController", [ "$scope", "leafletMarkerEvents", "$log", function($scope, leafletMarkerEvents, $log) {
$scope.center = {
lat: 51.505,
lng: -0.09,
Expand Down
3 changes: 1 addition & 2 deletions examples/js/controllers/PathEventsController.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
app.controller("PathEventsController", function($scope, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("PathEventsController", function($scope, $log) {
var paths = {};
$scope.clicked = 0;
var marylandIslands = {
Expand Down
3 changes: 1 addition & 2 deletions examples/js/controllers/PathEventsWithIDController.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
app.controller("PathEventsWithIDController", function($scope, leafletLogger) {
// leafletLogger.currentLevel = leafletLogger.LEVELS.debug;
app.controller("PathEventsWithIDController", function($scope, $log) {
var paths = {};
$scope.clicked = 0;
var marylandIslands = {
Expand Down
Loading

1 comment on commit a093ed6

@nschloe
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this commit! The custom logger had blocked our upgrade path.

Please sign in to comment.