repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/polymer/externs/polymer-internal-shared-types.js | html/bower_components/polymer/externs/polymer-internal-shared-types.js | /**
* @fileoverview Internal shared types for Polymer
*
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AU... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-sd-ce.js | html/bower_components/webcomponentsjs/webcomponents-sd-ce.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-lite.js | html/bower_components/webcomponentsjs/webcomponents-lite.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-hi.js | html/bower_components/webcomponentsjs/webcomponents-hi.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-sd.js | html/bower_components/webcomponentsjs/webcomponents-sd.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/gulpfile.js | html/bower_components/webcomponentsjs/gulpfile.js | /**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-hi-ce.js | html/bower_components/webcomponentsjs/webcomponents-hi-ce.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-hi-sd.js | html/bower_components/webcomponentsjs/webcomponents-hi-sd.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/custom-elements-es5-adapter.js | html/bower_components/webcomponentsjs/custom-elements-es5-adapter.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-hi-sd-ce.js | html/bower_components/webcomponentsjs/webcomponents-hi-sd-ce.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-loader.js | html/bower_components/webcomponentsjs/webcomponents-loader.js | /**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/webcomponents-ce.js | html/bower_components/webcomponentsjs/webcomponents-ce.js | /**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/webcomponents-sd-ce-index.js | html/bower_components/webcomponentsjs/entrypoints/webcomponents-sd-ce-index.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-sd-ce-pf-index.js | html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-sd-ce-pf-index.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-sd-ce-index.js | html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-sd-ce-index.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-index.js | html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-index.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-ce-index.js | html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-ce-index.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/webcomponents-sd-index.js | html/bower_components/webcomponentsjs/entrypoints/webcomponents-sd-index.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-sd-index.js | html/bower_components/webcomponentsjs/entrypoints/webcomponents-hi-sd-index.js | /**
@license
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/custom-elements-es5-adapter-index.js | html/bower_components/webcomponentsjs/entrypoints/custom-elements-es5-adapter-index.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/entrypoints/webcomponents-ce-index.js | html/bower_components/webcomponentsjs/entrypoints/webcomponents-ce-index.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/src/pre-polyfill.js | html/bower_components/webcomponentsjs/src/pre-polyfill.js | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/src/promise.js | html/bower_components/webcomponentsjs/src/promise.js | /**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/src/post-polyfill.js | html/bower_components/webcomponentsjs/src/post-polyfill.js | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/src/unresolved.js | html/bower_components/webcomponentsjs/src/unresolved.js | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/tests/imports/csp-script-2.js | html/bower_components/webcomponentsjs/tests/imports/csp-script-2.js | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/tests/imports/current-script.js | html/bower_components/webcomponentsjs/tests/imports/current-script.js | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/tests/imports/csp-script-1.js | html/bower_components/webcomponentsjs/tests/imports/csp-script-1.js | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/webcomponentsjs/externs/webcomponents.js | html/bower_components/webcomponentsjs/externs/webcomponents.js | /**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/mocha/mocha.js | html/bower_components/mocha/mocha.js | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/chai/chai.js | html/bower_components/chai/chai.js | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.chai = f()}})(... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/chai/sauce.browsers.js | html/bower_components/chai/sauce.browsers.js |
/*!
* Chrome
*/
exports['SL_Chrome'] = {
base: 'SauceLabs'
, browserName: 'chrome'
};
/*!
* Firefox
*/
/*!
* TODO: Karma doesn't seem to like this, though sauce boots its up
*
exports['SL_Firefox_23'] = {
base: 'SauceLabs'
, browserName: 'firefox'
, platform: 'Windows XP'
, version: '23'
};
... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/chai/karma.sauce.js | html/bower_components/chai/karma.sauce.js | var version = require('./package.json').version;
var ts = new Date().getTime();
module.exports = function(config) {
var auth;
try {
auth = require('./test/auth/index');
} catch(ex) {
auth = {};
auth.SAUCE_USERNAME = process.env.SAUCE_USERNAME || null;
auth.SAUCE_ACCESS_KEY = process.env.SAUCE_AC... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/chai/karma.conf.js | html/bower_components/chai/karma.conf.js | module.exports = function(config) {
config.set({
frameworks: [ 'mocha' ]
, files: [
'chai.js'
, 'test/bootstrap/karma.js'
, 'test/*.js'
]
, reporters: [ 'progress' ]
, colors: true
, logLevel: config.LOG_INFO
, autoWatch: false
, browsers: [ 'PhantomJS' ]
... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/hydrolysis/hydrolysis.js | html/bower_components/hydrolysis/hydrolysis.js | require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/hydrolysis/index.js | html/bower_components/hydrolysis/index.js | /**
* @license
* Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/web-component-tester/browser.js | html/bower_components/web-component-tester/browser.js | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/web-component-tester/data/a11ySuite.js | html/bower_components/web-component-tester/data/a11ySuite.js | /**
* @license
* Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/lodash/lodash.min.js | html/bower_components/lodash/lodash.min.js | /**
* @license
* lodash 3.10.1 (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE
* Build: `lodash modern -o ./lodash.js`
*/
;(function(){function n(n,t){if(n!==t){var r=null===n,e=n===w,u=n===n,o=null===t,i=t===w,f=t===t;if(n>t&&!o||!u||r&&!i&&f||e&&f)return 1;if(n<t&&!r||!f||o&&!e&&u... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/lodash/lodash.js | html/bower_components/lodash/lodash.js | /**
* @license
* lodash 3.10.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modern -o ./lodash.js`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/bower_components/pako/Gruntfile.js | html/bower_components/pako/Gruntfile.js | 'use strict';
module.exports = function (grunt) {
var browsers = [ {
browserName: 'iphone',
platform: 'OS X 10.8',
version: '8.1'
}, {
browserName: 'android',
platform: 'Linux',
version: '5.1'
}, {
browserName: 'firefox',
platform: 'XP',
version: '35'
}, {
browserName: ... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/App.test.js | src/App.test.js | import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
// I can't really pretend I know what I'm doing here to make this singular test pass.
global.scrollTo = jest.fn();
beforeAll(() => {
window.getSelection = () => {
return {
removeAllRanges: () => {}
};
};
});
test(... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/index.js | src/index.js | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(<App />, document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register()... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/App.js | src/App.js | import React from "react";
import { ThemeProvider } from "@material-ui/styles";
import { createMuiTheme } from "@material-ui/core/styles";
import { blue, indigo } from "@material-ui/core/colors";
import Routes from "routes";
import CssBaseline from "@material-ui/core/CssBaseline/CssBaseline";
const theme = createMuiTh... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/serviceWorker.js | src/serviceWorker.js | // This optional code is used to register a service worker.
// register() is not called by default.
// This lets the app load faster on subsequent visits in production, and gives
// it offline capabilities. However, it also means that developers (and users)
// will only see deployed updates on subsequent visits to a p... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/routes.js | src/routes.js | import React from "react";
import { BrowserRouter, Route } from "react-router-dom";
import { MainComponent } from "components/MainComponent/Main";
import { PublishedPromptComponent } from "components/PublishedPrompt";
import { BestPromptsComponent } from "components/BestPrompts";
import { PrivacyPolicyComponent } from ... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/services/storage.js | src/services/storage.js | // centralize all calls to LocalStorage in one file so that additional things can be checked later
export const TOKEN_KEY_CONSTANT = "tokenKey";
export const getTokenLocalStorage = ({ tokenKey }) => {
localStorage.setItem(TOKEN_KEY_CONSTANT, tokenKey);
};
export const checkTokenKeyInLocalStorage = () => {
const ... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/services/auth.js | src/services/auth.js | import { loginURL, registerURL } from "services/backendURLs";
import { openBackendAPI } from "services/api";
export const loginAPI = ({ username, password }) => {
const postDetails = {
username: username,
password: password
};
return openBackendAPI.post(loginURL, postDetails).then(response => {
retu... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/services/api.js | src/services/api.js | import axios from "axios";
import {
checkTokenKeyInLocalStorage,
TOKEN_KEY_CONSTANT
} from "services/storage";
const JSON_APPLICATION_TYPE = "application/json";
export const openBackendAPI = axios.create({
baseURL: process.env.REACT_APP_API_URL,
headers: {
"Content-Type": JSON_APPLICATION_TYPE
}
});
e... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/services/backendURLs.js | src/services/backendURLs.js | export const loginURL = "/rest-auth/login/";
export const registerURL = "/rest-auth/registration/";
export const upvotePromptURL = "/api/writeup/v1/prompts/:prompt_uuid/votes/";
| javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/services/resources.js | src/services/resources.js | import { backendAPI } from "services/api";
import { upvotePromptURL } from "services/backendURLs";
export const publishPrompt = ({
text,
instagram,
title,
email,
twitter,
website,
content,
share_state
}) => {
const url = "api/writeup/v1/prompts/";
const postParams = {
text: text,
instagram:... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/ReactWebSocket.js | src/components/ReactWebSocket.js | import React from "react";
import PropTypes from "prop-types";
// Copy and pasted from
// https://github.com/mehmetkose/react-websocket/blob/master/index.jsx
// Will take this as a shell to understand how WebSocket works in React
// and then rewrite / clean up a bit.
export class ReactWebSocket extends React.Componen... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/BestPrompts.js | src/components/BestPrompts.js | import React, { Fragment, useEffect } from "react";
import { TopbarComponent } from "./TopbarComponent/Topbar";
import { GridLayout } from "./MainComponent/Layouts";
import Paper from "@material-ui/core/Paper/Paper";
import { makeStyles } from "@material-ui/core";
import backgroundShape from "../images/shape.svg";
impo... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/PublishedPrompt.js | src/components/PublishedPrompt.js | import React, { Fragment, useEffect } from "react";
import { TopbarComponent } from "./TopbarComponent/Topbar";
import { GridLayout } from "./MainComponent/Layouts";
import Paper from "@material-ui/core/Paper/Paper";
import { makeStyles } from "@material-ui/core";
import backgroundShape from "../images/shape.svg";
impo... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/PrivacyPolicy.js | src/components/PrivacyPolicy.js | import React from "react";
import Typography from "@material-ui/core/Typography";
import { makeStyles } from "@material-ui/core";
const PolicyText =
"Senrigan Privacy Policy\n" +
"\n" +
"This Privacy Policy describes how your personal information is collected, used, and shared when you visit or make a purchase f... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/PromptCard.js | src/components/PromptCard.js | import React from "react";
import { makeStyles } from "@material-ui/core/styles";
import Card from "@material-ui/core/Card";
import CardActions from "@material-ui/core/CardActions";
import CardContent from "@material-ui/core/CardContent";
import Button from "@material-ui/core/Button";
import Typography from "@material-... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/Layouts.js | src/components/Layouts.js | import React, { Fragment } from "react";
import Divider from "@material-ui/core/Divider";
export const DividerSection = (
<Fragment>
<br />
<Divider />
<br />
</Fragment>
);
| javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/SlateJS.js | src/components/SlateJS.js | import React from "react";
import { css, cx } from "emotion";
import { isKeyHotkey } from "is-hotkey";
export const isBoldHotkey = isKeyHotkey("mod+b");
export const isItalicHotkey = isKeyHotkey("mod+i");
export const isUnderlinedHotkey = isKeyHotkey("mod+u");
export const isCodeHotkey = isKeyHotkey("mod+`");
// copy... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/Loading.js | src/components/Loading.js | import React from "react";
import { makeStyles } from "@material-ui/core/styles";
import LinearProgress from "@material-ui/core/LinearProgress";
const useStyles = makeStyles({
root: {
flexGrow: 1
}
});
export const LinearIndeterminate = () => {
const classes = useStyles();
return (
<div className={cl... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/Menu.js | src/components/Menu.js | export const Menu = [
//{
// label: "Home",
// pathname: "/"
//},
//{
// label: "Dashboard",
// pathname: "/dashboard"
//},
//{
// label: "Signup",
// pathname: "/signup"
//},
//{
// label: "Wizard",
// pathname: "/wizard"
//},
//{
// label: "Cards",
// pathname: "/cards"... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/PromptSelectComponent.js | src/components/PromptSelectComponent.js | import React from "react";
import { makeStyles } from "@material-ui/core/styles";
import List from "@material-ui/core/List";
import ListItem from "@material-ui/core/ListItem";
import ListItemIcon from "@material-ui/core/ListItemIcon";
import ListItemText from "@material-ui/core/ListItemText";
import AddIcon from "@mate... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/MainComponent/Main.js | src/components/MainComponent/Main.js | import React, { Fragment } from "react";
import { MainStyles } from "components/MainComponent/Main.styles";
import withStyles from "@material-ui/core/styles/withStyles";
import { withRouter } from "react-router-dom";
import Paper from "@material-ui/core/Paper/Paper";
import Typography from "@material-ui/core/Typography... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | true |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/MainComponent/MainEditor.js | src/components/MainComponent/MainEditor.js | import React from "react";
import { renderBlock, renderMark } from "components/SlateJS";
import { Editor } from "slate-react";
// Mobile is having a lot of issues, so try switching to a PureComponent to see if it alleviates anything
export class MainEditor extends React.PureComponent {
onFocus = () => {};
render... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/MainComponent/Layouts.js | src/components/MainComponent/Layouts.js | import Typography from "@material-ui/core/Typography/Typography";
import React, { Fragment } from "react";
import Divider from "@material-ui/core/Divider/Divider";
import Button from "@material-ui/core/Button/Button";
import { Value } from "slate";
import { getRandomItemFromArray } from "utilities/utilities";
import Gr... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/MainComponent/Main.styles.js | src/components/MainComponent/Main.styles.js | import backgroundShape from "images/shape.svg";
export const MainStyles = theme => ({
root: {
flexGrow: 1,
backgroundColor: theme.palette.grey["100"],
overflow: "hidden",
background: `url(${backgroundShape}) no-repeat`,
backgroundSize: "cover",
backgroundPosition: "0 400px",
paddingBottom... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/MainComponent/constants.js | src/components/MainComponent/constants.js | // always use a random websocket generated by UUID
import uuid from "uuid/v4";
// unused
export const GPT2_SMALL_MODEL_NAME = "gpt2";
export const GPT2_SMALL_LEGAL_MODEL_NAME = "gpt2-small-legal";
export const GPT2_MEDIUM_MODEL_NAME = "gpt2-medium";
export const GPT2_MEDIUM_GOT_MODEL_NAME = "gpt2-medium-got";
export c... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/TopbarComponent/Topbar.js | src/components/TopbarComponent/Topbar.js | import React, { Component } from "react";
import Grid from "@material-ui/core/Grid/Grid";
import Typography from "@material-ui/core/Typography/Typography";
import { Link, withRouter } from "react-router-dom";
import { TopbarStyles } from "components/TopbarComponent/Topbar.styles";
import withStyles from "@material-ui/s... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/TopbarComponent/Topbar.styles.js | src/components/TopbarComponent/Topbar.styles.js | export const TopbarStyles = theme => ({
appBar: {
position: "relative",
boxShadow: "none",
borderBottom: `1px solid ${theme.palette.grey["100"]}`,
backgroundColor: "white"
},
inline: {
display: "inline-flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center"
... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/TopbarComponent/PrettyPromptCard.js | src/components/TopbarComponent/PrettyPromptCard.js | import React from "react";
import { makeStyles } from "@material-ui/core/styles";
import clsx from "clsx";
import Card from "@material-ui/core/Card";
import CardHeader from "@material-ui/core/CardHeader";
import CardContent from "@material-ui/core/CardContent";
import CardActions from "@material-ui/core/CardActions";
i... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/Modals/TutorialModal.js | src/components/Modals/TutorialModal.js | import React from "react";
import Modal from "@material-ui/core/Modal";
import Typography from "@material-ui/core/Typography";
import Button from "@material-ui/core/Button";
import { getModalStyle, useWideModalStyles } from "./ModalStyling";
import "react-responsive-carousel/lib/styles/carousel.min.css";
import { Carou... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/Modals/LoginOrRegisterModal.js | src/components/Modals/LoginOrRegisterModal.js | import React from "react";
import Modal from "@material-ui/core/Modal";
import Typography from "@material-ui/core/Typography";
import Button from "@material-ui/core/Button";
import { getModalStyle, useModalStyles } from "./ModalStyling";
import Grid from "@material-ui/core/Grid";
import TextField from "@material-ui/co... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/Modals/SettingsModal.js | src/components/Modals/SettingsModal.js | import React from "react";
import Modal from "@material-ui/core/Modal";
import Typography from "@material-ui/core/Typography";
import Slider from "@material-ui/core/Slider";
import Button from "@material-ui/core/Button";
import { getModalStyle, useModalStyles } from "./ModalStyling";
import Select from "@material-ui/c... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/Modals/ModalStyling.js | src/components/Modals/ModalStyling.js | import { makeStyles } from "@material-ui/core";
export function getModalStyle() {
const top = 50;
const left = 50;
return {
top: `${top}%`,
left: `${left}%`,
transform: `translate(-${top}%, -${left}%)`
};
}
const buttonStyling = {
marginTop: "1rem"
};
export const useModalStyles = makeStyles(t... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/components/Modals/PublishModal.js | src/components/Modals/PublishModal.js | import React, { Fragment } from "react";
import Modal from "@material-ui/core/Modal";
import Typography from "@material-ui/core/Typography";
import Button from "@material-ui/core/Button";
import { getModalStyle, useWideModalStyles } from "./ModalStyling";
import TextField from "@material-ui/core/TextField/TextField";
i... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/utilities/apiSerializers.js | src/utilities/apiSerializers.js | export const serializeAPIMessageToPrompts = ({ message }) => {
// wonder if there's an easier way to go through a dict ...
const messageKeys = Object.keys(message);
const textPromptKeys = messageKeys.filter(key => {
return key.includes("text_");
});
const textPrompts = [];
textPromptKeys.forEach(key =>... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/utilities/apiSerializers.test.js | src/utilities/apiSerializers.test.js | import React from "react";
import { serializeAPIMessageToPrompts } from "utilities/apiSerializers";
test("serializes API response", () => {
const testPrompt = {
prompt: "Today, I went on an adventure to a new country",
text_0:
" that I've never been to. I went to a place called… I met a guy named Carlo... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/utilities/utilities.js | src/utilities/utilities.js | import { PROMPTS_TO_USE } from "components/MainComponent/constants";
export const getRandomItemFromArray = array => {
const randomItem = array[Math.floor(Math.random() * array.length)];
return randomItem;
};
export const getItemToLoadTextEditor = () => {
const lastText = localStorage.getItem("lastText");
if (... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/utilities/getSavedDocuments.js | src/utilities/getSavedDocuments.js | export function getSavedDocuments() {
const items = { ...localStorage };
console.log("Using Saved Text WriteUps");
console.log(items);
}
| javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/utilities/date_and_time.js | src/utilities/date_and_time.js | export const DATE_FORMAT = "YYYY-MM-DD";
| javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/utilities/lorem.js | src/utilities/lorem.js | export const lorem_two_paragraphs =
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus faucibus, ante vitae vulputate fringilla, erat augue tincidunt magna, quis luctus nisl quam a augue. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Cras laoreet lectus... | javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
jeffshek/writeup-frontend | https://github.com/jeffshek/writeup-frontend/blob/37f9609b1900db38a9f18b77cad50001bed8dd3e/src/utilities/utilities.test.js | src/utilities/utilities.test.js | import React from "react";
import { getRandomItemFromArray } from "utilities/utilities";
test("it randomly gives me something random", () => {
const randArray = [1, 2];
const randItem = getRandomItemFromArray(randArray);
expect(randArray.includes(randItem));
});
| javascript | MIT | 37f9609b1900db38a9f18b77cad50001bed8dd3e | 2026-01-05T03:44:13.292643Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby-node.js | gatsby-node.js | const createPosts = require(`./gatsby/createPosts`)
const createPages = require(`./gatsby/createPages`)
const createUsers = require(`./gatsby/createUsers`)
const createCategories = require(`./gatsby/createCategories`)
const createTags = require(`./gatsby/createTags`)
exports.createPages = async ({ actions, graphql }) ... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby-ssr.js | gatsby-ssr.js | /**
* Implement Gatsby's SSR (Server Side Rendering) APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/ssr-apis/
*/
// You can delete this file if you're not using it
| javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby-config.js | gatsby-config.js | module.exports = {
siteMetadata: {
title: `Gatsby WPGraphQL Source Demo`,
description: `Gatsby demo site with WPGraphQL as the source.`,
author: `@wpgraphql`,
wordPressUrl: `https://wpgraphqldemo.wpengine.com`,
},
plugins: [
// Include Ant Design component library.
{
resolve: `gatsby... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/config.js | config.js | const config = {
wordPressUrl: `https://demo.wpgraphql.com`,
}
export default config
| javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby-browser.js | gatsby-browser.js | /**
* Implement Gatsby's Browser APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/browser-apis/
*/
// You can delete this file if you're not using it
| javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby/createPosts.js | gatsby/createPosts.js | const path = require(`path`)
module.exports = async ({ actions, graphql }) => {
const GET_POSTS = `
query GET_POSTS($first:Int $after:String){
wpgraphql {
posts(
first: $first
after:$after
) {
pageInfo {
endCursor
hasNextPage
}
nodes {
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby/createPages.js | gatsby/createPages.js | const path = require(`path`)
module.exports = async ({ actions, graphql }) => {
const GET_PAGES = `
query GET_PAGES($first:Int $after:String){
wpgraphql {
pages(
first: $first
after: $after
where: {
parent: null
}
) {
pageInfo {
endCursor
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby/createCategories.js | gatsby/createCategories.js | const path = require(`path`)
module.exports = async ({ actions, graphql }) => {
const GET_CATEGORIES = `
query GET_CATEGORIES($first: Int, $after: String) {
wpgraphql {
categories(first: $first, after: $after) {
pageInfo {
hasNextPage
endCursor
}
nodes {
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby/createUsers.js | gatsby/createUsers.js | const path = require(`path`)
module.exports = async ({ actions, graphql }) => {
const GET_USERS = `
query GET_USERS($first: Int) {
wpgraphql {
users(first: $first) {
pageInfo {
hasNextPage
endCursor
}
nodes {
id
userId
slug
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/gatsby/createTags.js | gatsby/createTags.js | const path = require(`path`)
module.exports = async ({ actions, graphql }) => {
const GET_TAGS = `
query GET_TAGS($first: Int, $after: String) {
wpgraphql {
tags(first: $first, after: $after) {
pageInfo {
hasNextPage
endCursor
}
nodes {
id
ta... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/pages/404.js | src/pages/404.js | import React from "react"
import SiteLayout from "../components/SiteLayout"
import Seo from "../components/Seo"
const NotFoundPage = ({ location }) => (
<SiteLayout location={{ location }}>
<Seo title="404: Not found" />
<h1>NOT FOUND</h1>
<p>You just hit a route that doesn't exist... the sadness.</... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/components/SiteLayout.js | src/components/SiteLayout.js | import React from "react"
import PropTypes from "prop-types"
import Header from "./SiteHeader"
import { Layout, Row, Col } from "antd"
import "./style.css"
const { Content, Footer } = Layout
const SiteLayout = ({ children, location }) => (
<Layout>
<Header location={location} />
<Row
type="flex"
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/components/RecentCommentsWidget/index.js | src/components/RecentCommentsWidget/index.js | import React from "react"
import { StaticQuery, graphql, Link } from "gatsby"
import { createLocalLink } from "../../utils"
const QUERY = graphql`
{
wpgraphql {
comments(first: 5) {
nodes {
author {
__typename
... on WPGraphQL_CommentAuthor {
name
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/components/PostEntryMeta/index.js | src/components/PostEntryMeta/index.js | import React from 'react'
import moment from "moment/moment"
import { Row, Col, Avatar } from "antd"
import { Link } from "gatsby"
const PostEntryMeta = ({ post }) => (
<Row
justify="middle"
style={{ textAlign: `center`, marginBottom: `15px` }}
gutter={16}
>
<Col xs={24} md={24} style={{ textAlign:... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/components/CategoriesWidget/index.js | src/components/CategoriesWidget/index.js | import React from "react"
import { StaticQuery, graphql, Link } from "gatsby"
const QUERY = graphql`
{
wpgraphql {
categories {
nodes {
name
slug
link
}
}
}
}
`
const CategoriesWidget = () => (
<StaticQuery
query={QUERY}
render={data => {... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/components/RecentPostsWidget/index.js | src/components/RecentPostsWidget/index.js | import React from "react"
import { StaticQuery, graphql, Link } from "gatsby"
import { createLocalLink } from "../../utils"
const QUERY = graphql`
{
wpgraphql {
posts(first: 5) {
nodes {
id
title
link
}
}
}
}
`
const RecentPostsWidget = () => (
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/components/HomepageLayout/index.js | src/components/HomepageLayout/index.js | import React from "react"
import SiteHeader from "../../components/SiteHeader"
import { Layout, Row, Col, Button } from "antd"
import wpgraphqlLogo from "../../images/wpgraphql-logo.png"
import gatsbyLogo from "../../images/gatsby-logo.png"
const { Content } = Layout
const HomepageLayout = ({ pageNumber, location, ch... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/components/SiteMenu/index.js | src/components/SiteMenu/index.js | import React from "react"
import { Menu } from "antd"
import { Link, StaticQuery, graphql } from "gatsby"
import { createLocalLink } from "../../utils"
const SubMenu = Menu.SubMenu
const MenuItemGroup = Menu.ItemGroup
const MENU_QUERY = graphql`
fragment MenuFields on WPGraphQL_MenuItem {
id
label
url
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
wp-graphql/gatsby-wpgraphql-blog-example | https://github.com/wp-graphql/gatsby-wpgraphql-blog-example/blob/6e31fb099be283f385f751315828e92effc77cf9/src/components/Seo/index.js | src/components/Seo/index.js | import React from "react"
import PropTypes from "prop-types"
import Helmet from "react-helmet"
import { StaticQuery, graphql } from "gatsby"
function Seo({ description, lang, meta, keywords, title }) {
return (
<StaticQuery
query={detailsQuery}
render={data => {
const metaDescription =
... | javascript | MIT | 6e31fb099be283f385f751315828e92effc77cf9 | 2026-01-05T03:44:14.754300Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.