Skip to content

Commit

Permalink
remove some useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Gooong committed Jul 25, 2018
1 parent 500160c commit 0e14a2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions web/pgadmin/static/js/slickgrid/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import {Geometry} from 'wkx';
import {Buffer} from 'buffer';

(function ($) {
(function($) {
// register namespace
$.extend(true, window, {
'Slick': {
Expand Down Expand Up @@ -57,7 +57,7 @@ import {Buffer} from 'buffer';
return _.escape(JSON.stringify(value));
} else if (Array.isArray(value)) {
var temp = [];
$.each(value, function (i, val) {
$.each(value, function(i, val) {
if (typeof val === 'object') {
temp.push(JSON.stringify(val));
} else {
Expand Down
4 changes: 0 additions & 4 deletions web/pgadmin/tools/sqleditor/static/js/sqleditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1365,10 +1365,6 @@ define('tools.querytool', [
);
},

// on_show_geometry: function (objBtn) {
// GeometryViewer.show_viewer(objBtn);
// },

// Callback function for include filter button click.
on_include_filter: function(ev) {
var self = this;
Expand Down

0 comments on commit 0e14a2f

Please sign in to comment.