This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imtables.configure('TableCell.PreviewTrigger', 'click') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>test</title> | |
<link href="http://cdn.intermine.org/js/intermine/apps-c/list-widgets/2.1.2/app.bundle.prefixed.min.css" media="all" rel="stylesheet" type="text/css" /> | |
<script src="http://cdn.intermine.org/js/intermine/apps-c/list-widgets/2.1.2/app.bundle.min.js"></script> | |
<script> | |
$(function() { | |
var W = require('list-widgets'), | |
widgets = new W({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<script src="http://cdn.intermine.org/js/intermine/imjs/3.14.0/im.js"></script> | |
</head> | |
<body> | |
<script> | |
var flymine = new imjs.Service({root: 'www.flymine.org/query'}); | |
var query = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<script src="http://cdn.intermine.org/js/intermine/imjs/3.14.0/im.js"></script> | |
</head> | |
<body> | |
<script> | |
var mousemine = new imjs.Service({root: 'www.mousemine.org/mousemine'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<script src="http://cdn.intermine.org/js/intermine/imjs/3.14.0/im.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script> | |
</head> | |
<body> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var selector = '#some-elem'; | |
var service = {root: 'http://localhost:8080/flymine/service/'}; | |
<!doctype html> | |
<html> | |
<head> | |
<script src="http://cdn.intermine.org/js/intermine/imjs/3.14.0/im.js"></script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
request = require 'request' | |
imjs = require 'imjs' | |
class maintest | |
constructor: -> | |
console.log "maintest constructed" | |
post: -> | |
request.post 'http://httpbin.org/post', form: {key:'value'}, (err, res) -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://cdn-dev.intermine.org/js/intermine/imjs/3.15.0/im-3.15.0-beta1.js"></script> | |
</head> | |
<body> | |
<script> | |
var customHeaders = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var imtables = require('imtables'); | |
var selector = '#some-elem'; | |
var service = {root: 'https://apps.araport.org/thalemine/service/', headers: {'Authorization': 'SomeValue'}}; | |
var query = { | |
"name": "Gene_Pathway_1", | |
"title": "Gene --> Pathway", | |
"comment": "Updated 6/28/2015 by Agnes", | |
"description": "Enter a list of genes to retrieve associated pathways.", | |
"from": "Gene", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns bluegenes.tools.faketool.core | |
(:require [re-frame.core :as re-frame] | |
[reagent.core :as reagent] | |
[clojure.string :as str] | |
[intermine.imjs :as imjs])) | |
(defn fetch-templates-handler [app-state] | |
(let [mine (js/imjs.Service. (clj->js {:root "www.flymine.org/query"})) | |
tpl-promise (-> mine .fetchTemplates)] |