Skip to content

Commit

Permalink
lightly ported over GOOSE; work on #317
Browse files Browse the repository at this point in the history
  • Loading branch information
kltm committed Mar 17, 2016
1 parent 21cebf4 commit 72c2927
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
7 changes: 4 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,12 @@ gulp.task('install', ['build', 'compile']);
// TODO/BUG: This should eventually be replaced by a read of
// javascript/web.
var web_compilables = [
'BulkSearch.js',
'GeneralSearchForwarding.js',
'LandingGraphs.js',
'LiveSearchGOlr.js',
'GOOSE.js',
'Grebe.js',
'BulkSearch.js'
'LandingGraphs.js',
'LiveSearchGOlr.js'
];

// See what browserify-shim is up to.
Expand Down
6 changes: 6 additions & 0 deletions javascript/web/GOOSE.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//// will probably leave DEBUG in.
////

var bbop = require('bbop-core');

//
function GOOSEInit(){
Expand Down Expand Up @@ -33,3 +34,8 @@ function GOOSEInit(){

ll('GOOSEInit done.');
}

// Embed the jQuery setup runner.
(function (){
jQuery(document).ready(function(){ GOOSEInit(); });
})();
8 changes: 0 additions & 8 deletions perl/lib/AmiGO/WebApp/GOOSE.pm
Original file line number Diff line number Diff line change
Expand Up @@ -547,20 +547,12 @@ sub mode_goose {
'com.jquery',
'com.bootstrap',
'com.jquery-ui',
#'com.jquery.tablesorter',
'bbop',
'amigo2'
],
javascript =>
[
$self->{JS}->get_lib('GeneralSearchForwarding.js'),
$self->{JS}->get_lib('GOOSE.js')
],
javascript_init =>
[
'GeneralSearchForwardingInit();',
'GOOSEInit();'
],
content =>
[
'pages/goose.tmpl'
Expand Down

0 comments on commit 72c2927

Please sign in to comment.