Browse Source

Revert "AMBARI-19667. Hive View 2.0: Editor should be stretchable by dragging (Abhishek Kumar via pallavkul)"

This reverts commit a5e008067ec31e526bd86d6efd80c3874a531711.
pallavkul 8 năm trước cách đây
mục cha
commit
2ddbf61be4

+ 0 - 8
contrib/views/hive20/src/main/resources/ui/app/components/query-editor.js

@@ -74,14 +74,6 @@ export default Ember.Component.extend({
       });
     });
 
-    this.$('.CodeMirror').resizable({
-      handles: 's',
-
-      resize: function () {
-        Ember.run.debounce(this, updateSize, 150);
-      }
-    }).find('.ui-resizable-s').addClass('grip fa fa-reorder');
-
 
   }.on('didInsertElement'),
 

+ 0 - 9
contrib/views/hive20/src/main/resources/ui/app/styles/app.scss

@@ -221,15 +221,6 @@ pre {
   overflow-y: scroll;
 }
 
-.grip {
-  height: 20px;
-  border: 0 1px 1px solid #ddd;
-  background-color: #f5f5f5;
-  color: #bbb;
-  text-align: center;
-  font-size: inherit;
-}
-
 .hv-dropdown {
   position: absolute;
   .dropdown-menu {

+ 0 - 1
contrib/views/hive20/src/main/resources/ui/bower.json

@@ -6,7 +6,6 @@
     "ember-qunit-notifications": "0.1.0",
     "font-awesome": "~4.5.0",
     "codemirror": "~5.15.0",
-    "jquery-ui": "~1.12.1",
     "bootstrap-treeview": "~1.2.0"
   }
 }

+ 0 - 1
contrib/views/hive20/src/main/resources/ui/package.json

@@ -34,7 +34,6 @@
     "ember-cli-htmlbars": "^1.0.3",
     "ember-cli-htmlbars-inline-precompile": "^0.3.1",
     "ember-cli-inject-live-reload": "^1.4.0",
-    "ember-cli-jquery-ui": "0.0.20",
     "ember-cli-jshint": "^1.0.0",
     "ember-cli-moment-shim": "3.0.1",
     "ember-cli-qunit": "^2.0.0",