File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,6 @@ var hexSearch = {
73
73
}
74
74
} ,
75
75
76
- attachLibraryClick : function ( libraryDomElm , state ) {
77
- libraryDomElm . addEventListener ( "click" , function ( event ) {
78
- event . preventDefault ( ) ;
79
- this . update ( "search" , [ event . target , event . target . getAttribute ( "data-name" ) ] , state ) ;
80
- } . bind ( this ) )
81
- } ,
82
-
83
76
search : function ( libraryName ) {
84
77
return axios
85
78
. get ( "https://hex.pm/api/packages?search=depends%3A" + libraryName )
@@ -115,12 +108,6 @@ var hexSearch = {
115
108
ul . appendChild ( li ) ;
116
109
}
117
110
118
- var oldList = document . getElementById ( "js-hex-lib-list" ) ;
119
-
120
- if ( oldList ) {
121
- state . avaliableLibrariesDom . removeChild ( oldList ) ;
122
- }
123
-
124
111
state . avaliableLibrariesDom . appendChild ( ul ) ;
125
112
} ,
126
113
You can’t perform that action at this time.
0 commit comments