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 |
|---|---|---|---|---|---|---|---|---|
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/util/json.js | util/json.js | define(function () {
function flatten(object) {
var result = {};
function recurse(cur, prop) {
if (Object(cur) !== cur) {
result[prop] = cur;
} else if (Array.isArray(cur)) {
for (var i = 0, l = cur.length; i < l; i++) {
recurse(cur[i], prop + '[' + i + ']');
}
... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/lib-ext/knockout-custom-bindings-core.js | lib-ext/knockout-custom-bindings-core.js | define(['knockout', 'jquery', 'sugar'], function (ko) {
ko.bindingHandlers.string = {
init: function (element, valueAccessor, allBindingsAccessor) {
var value = ko.utils.unwrapObservable(valueAccessor()), allBindings = allBindingsAccessor();
require(['locale/strings'], function (Strings) {
va... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/lib-ext/knockout-extended.js | lib-ext/knockout-extended.js | define(['knockout', 'knockout-amd-helpers', 'knockout-es5-option4', 'lib-ext/knockout-custom-bindings'], function (ko) {
//TODO: turn off if it breaks your existing code, see http://knockoutjs.com/documentation/deferred-updates.html
ko.options.deferUpdates = true;
//TODO: change to your template folder path and... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/lib-ext/knockout-custom-bindings.js | lib-ext/knockout-custom-bindings.js | define([
'lib-ext/knockout-custom-bindings-core', 'lib-ext/knockout-custom-bindings-lib'
/* TODO: add other ko binding modules as needed */
], function (ko) {
return ko;
});
| javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/lib-ext/knockout-custom-bindings-lib.js | lib-ext/knockout-custom-bindings-lib.js | define(['knockout', 'jquery', 'sugar'], function (ko) {
ko.bindingHandlers.cytoscape = {
init: function (element, valueAccessor, allBindingsAccessor) {
var value = ko.utils.unwrapObservable(valueAccessor()), allBindings = allBindingsAccessor();
if (!Object.isEmpty(value)) {
require(['cytoscap... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/error/error.js | app/error/error.js | define(['locale/strings'], function (Strings) {
return {
controllers: {
'/:code': function (code) {
this.statusCode = code;
}
},
title: function () {
return Strings('error.' + this.statusCode);
},
statusCode: ''
};
});
| javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/files/files.js | app/files/files.js | define(['app/shared/api/api', 'ko', 'sugar', 'css!./files.css'], function (Api, ko) {
var Files = ko.observe({
init: function () {
!this.files.length && Api.call('file', 'list', null, null, this._error, this._loading).done(this._files);
//Api call with full params example:
// apiPackage... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/files/dependencies/dependencies.js | app/files/dependencies/dependencies.js | define(['app/shared/api/api', 'ko', 'sugar', 'css!./dependencies.css'], function (Api, ko) {
var allDependencies = ko.observable({});
var Dependencies = ko.observe({
init: function () {
Object.isEmpty(allDependencies()) && Api.call('file', 'dependencies', null, null, this._error,
this._loading).... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/home/home.js | app/home/home.js | define(['css!./home.css'/* TODO: add dependencies of this page */], function () {
var Home = {
/* TODO: preparation before the page's template is rendered, e.g. class instantiation, access control (return false in function),
redirect to login page if not logged in, etc. (optional)
root binging object i... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/shared/root-bindings.js | app/shared/root-bindings.js | define([
'app/shared/config', 'locale/resources', 'locale/strings', 'util/google-analytics', 'jquery', 'sugar', 'materialize',
'css!node_modules/materialize-css/dist/css/materialize.css', 'css!./shared.css'
/* TODO: add other common dependencies and root bindings most pages need (this module is implicitly require... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/shared/config.js | app/shared/config.js | define(['util/storage', 'app/shared/api/api', 'ko', 'sugar'], function (
Storage, Api, ko) {
var Config = ko.observable({});
Config.storageKeys = {
configChanged: 'configChanged',
locale: 'locale'
};
Config.locales = ['en', 'zh-CN'];
function notifyConfigChange() {
Storage.set(Config.storage... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/shared/url-util.js | app/shared/url-util.js | define(['sugar'], function () {
var stringRegEx = /(.*?)(?:--|$|\/)/i;
var invalidStringRegExTest = /[^a-z0-9_\-\s\.]/i;
var invalidStringRegExReplace = /[^a-z0-9_\-\s\.]/gi;
var hexStringRegEx = /^\-[0-9A-Fa-f]+$/;
function stringToHex(string) {
var hexString = '';
string = string.encodeBase64();
... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/shared/routes.js | app/shared/routes.js | define({
/* TODO: add all client side routes
If using HTML5 history (real URLs instead of hashes),
remember to modify the server side 404 responder to return index.html and change response code to 200.
Or, share the url path definition of these client-side routes to server side, to retain valid 404s.
/* *
... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/shared/api/api-file.js | app/shared/api/api-file.js | define({
_name: 'file',
/* _crud: true, //(true|[false]) have auto-generated default CRUD methods [optional]
_https: true, //(true|[false]) must call all methods of this api package via HTTPS [optional] */
list: {}, //api method, if type is GET and url is package name and do not require HTTPS, just put an empt... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/shared/api/api-config.js | app/shared/api/api-config.js | define({
_name: 'config',
/* _crud: true, //(true|[false]) have auto-generated default CRUD methods [optional]
_https: true, //(true|[false]) must call all methods of this api package via HTTPS [optional] */
get: {} //api method, if type is GET and url is package name and do not require HTTPS, just put an empt... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/shared/api/api.js | app/shared/api/api.js | define([
'util/dom', 'jquery', 'sugar',
'app/shared/api/api-config',
'app/shared/api/api-file'
/* TODO: add all API packages here */
], function (Dom) {
var prefix = '/api'; //TODO: change to your backend API prefix
var Api = {
call: function (apiPackage, apiMethod, urlParams, data, error, loading, sy... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/app/resources/resources.js | app/resources/resources.js | define(['ko', 'css!./resources.css'], function (ko) {
return ko.observe({
resource: '',
controllers: {
'/': function () { this.resource = ''; },
'/:resource': function (resource) { this.resource = resource; }
}
});
});
| javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/framework/router.js | framework/router.js | /*! knockout-spa (https://github.com/onlyurei/knockout-spa) * Copyright 2015-2017 Cheng Fan * MIT Licensed (https://raw.githubusercontent.com/onlyurei/knockout-spa/master/LICENSE) */
define(['framework/page', 'app/shared/routes', 'util/dom', 'director', 'jquery', 'sugar'], function (
Page, Routes, Dom, Router) {
f... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/framework/page.js | framework/page.js | /*! knockout-spa (https://github.com/onlyurei/knockout-spa) * Copyright 2015-2017 Cheng Fan * MIT Licensed (https://raw.githubusercontent.com/onlyurei/knockout-spa/master/LICENSE) */
define(['app/shared/root-bindings', 'framework/page-disposer', 'ko', 'sugar'], function (
RootBindings, PageDisposer, ko) {
var init... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/framework/page-disposer.js | framework/page-disposer.js | /*! knockout-spa (https://github.com/onlyurei/knockout-spa) * Copyright 2015-2017 Cheng Fan * MIT Licensed (https://raw.githubusercontent.com/onlyurei/knockout-spa/master/LICENSE) */
define(['ko', 'sugar'], function (ko) {
var initialValues = {};
var PageDisposer = {
init: function (page) {
initialValue... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/nls/strings.js | nls/strings.js | /* see http://requirejs.org/docs/api.html#i18n for i18n bundle details
* this file should only contain human-readable locale-specific text to be edited by copy editors and/or translators */
define({
"root": {
"locale.en": "English",
"locale.zh-CN": "中文",
"error.generic": "Error",
"error.403": "Forbid... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/nls/resources.js | nls/resources.js | /* see http://requirejs.org/docs/api.html#i18n for i18n bundle details
* this file should only contain references to locale-specific resources, not intended for copy editors/translators */
define({
"root": {
"readme": "/README.md"
/* TODO: add app localized resources */
},
"zh": true
});
| javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/nls/zh/strings.js | nls/zh/strings.js | /* see http://requirejs.org/docs/api.html#i18n for i18n bundle details
* this file should only contain human-readable locale-specific text to be edited by copy editors and/or translators */
define({
"error.generic": "错误",
"error.403": "禁止访问",
"error.404": "找不到页面",
"error.500": "服务器内部错误",
"nav.home": "主页",
... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/nls/zh/resources.js | nls/zh/resources.js | /* see http://requirejs.org/docs/api.html#i18n for i18n bundle details
* this file should only contain references to locale-specific resources, not intended for copy editors/translators */
define({
"readme": "/README-zh.md"
/* TODO: add app localized resources for this locale */
});
| javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/locale/strings.js | locale/strings.js | define(['i18n!nls/strings', 'sugar'], function (strings) {
var string = function (key, tokens) {
if (!key || !strings) {
return '';
}
var node = strings[key] || ('MISSING STRING: ' + key);
return tokens ? (Object.isArray(tokens) ? String.prototype.assign.apply(node, tokens) : node.assign(tokens... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/locale/resources.js | locale/resources.js | define(['i18n!nls/resources'], function (resources) {
var resource = function (key) {
if (!key || !resources) {
return null;
}
return resources[key] || ('MISSING RESOURCE: ' + key);
};
return resource;
});
| javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/lib/require-i18n.js | lib/require-i18n.js | /**
* @license i18n 2.0.6 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/i18n/LICENSE
*/
/*jslint regexp: true */
/*global require: false, navigator: false, define: false */
/**
* This plugin handles i18n! prefixed modules. It does the following:
*
*... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/component/page-source-display/page-source-display.js | component/page-source-display/page-source-display.js | define(['jsface', 'ko', 'text!./page-source-display.html', 'css!./page-source-display.css', 'sugar'], function (
Class, ko, template) {
var PageSourceDisplay = Class({
$static: {
FILE_TYPES: ['js', 'html', 'css']
},
constructor: function (params) {
this.files = PageSourceDisplay.FILE_TYPES.... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/component/file-display/file-display.js | component/file-display/file-display.js | define([
'jsface', 'ko', 'text!./file-display.html', 'css!./file-display.css', 'jquery', 'sugar'
], function (Class, ko, template) {
var FileDisplay = Class({
$static: {
INLINE_TAGS: {
img: { attr: 'src', affixes: ['gif', 'jpg', 'jpeg', 'png', 'tif', 'tiff'] }
}
},
constructor: func... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/widget/form/form.js | widget/form/form.js | /*! knockout-spa (https://github.com/onlyurei/knockout-spa) * Copyright 2015-2017 Cheng Fan * MIT Licensed (https://raw.githubusercontent.com/onlyurei/knockout-spa/master/LICENSE) */
define(['util/json', 'jsface', 'ko', 'sugar'], function (Json, Class, ko) {
var Form = Class({
constructor: function (inputs, subm... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/widget/form/form-input.js | widget/form/form-input.js | /*! knockout-spa (https://github.com/onlyurei/knockout-spa) * Copyright 2015-2017 Cheng Fan * MIT Licensed (https://raw.githubusercontent.com/onlyurei/knockout-spa/master/LICENSE) */
define(['jsface', 'ko', 'sugar'], function (Class, ko) {
var FormInput = Class({
constructor: function (name, value, required, val... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/widget/form/form-input-sorter.js | widget/form/form-input-sorter.js | /*! knockout-spa (https://github.com/onlyurei/knockout-spa) * Copyright 2015-2017 Cheng Fan * MIT Licensed (https://raw.githubusercontent.com/onlyurei/knockout-spa/master/LICENSE) */
define(['widget/form/form-input', 'jsface', 'sugar'], function (FormInput, Class) {
var FormInputSorter = Class(FormInput, {
const... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
onlyurei/knockout-spa | https://github.com/onlyurei/knockout-spa/blob/6e2f0e0623d8ee8bccee6b599708f3931fa89b78/widget/form/form-input-location.js | widget/form/form-input-location.js | /*! knockout-spa (https://github.com/onlyurei/knockout-spa) * Copyright 2015-2017 Cheng Fan * MIT Licensed (https://raw.githubusercontent.com/onlyurei/knockout-spa/master/LICENSE) */
define(['util/cache', 'widget/form/form-input', 'jsface', 'ko', 'jquery', 'sugar'], function (
Cache, FormInput, Class, ko) {
var Fo... | javascript | MIT | 6e2f0e0623d8ee8bccee6b599708f3931fa89b78 | 2026-01-05T03:44:09.042915Z | false |
TheConnMan/docker-hub-rss | https://github.com/TheConnMan/docker-hub-rss/blob/b0618dca5a52dda4eed808d0d554f3cd9b16408d/index.js | index.js | var vercel = require('./api/[username]/[repository]');
var info = require('./api/info');
var log4js = require('log4js');
if (process.env.FLUENTD_HOST) {
var tags = (process.env.FLUENTD_TAGS ? process.env.FLUENTD_TAGS.split(',') : []).reduce((allTags, tag) => {
var pair = tag.split(':');
allTags[pair[0].trim... | javascript | MIT | b0618dca5a52dda4eed808d0d554f3cd9b16408d | 2026-01-05T03:44:10.759480Z | false |
TheConnMan/docker-hub-rss | https://github.com/TheConnMan/docker-hub-rss/blob/b0618dca5a52dda4eed808d0d554f3cd9b16408d/public/js/app.js | public/js/app.js | var app = angular.module('app', ['angularMoment']);
app.controller('controller', function($scope, $http, $location) {
$scope.user = $location.search().user || 'TheConnMan';
$scope.repo = $location.search().repo || 'docker-hub-rss';
$scope.include = $location.search().include;
$scope.exclude = $location.search(... | javascript | MIT | b0618dca5a52dda4eed808d0d554f3cd9b16408d | 2026-01-05T03:44:10.759480Z | false |
TheConnMan/docker-hub-rss | https://github.com/TheConnMan/docker-hub-rss/blob/b0618dca5a52dda4eed808d0d554f3cd9b16408d/api/info.js | api/info.js | var log4js = require('log4js');
var logger = log4js.getLogger();
var pjson = require('../package.json');
module.exports = async (req, res) => {
res.json({
version: pjson.version
});
} | javascript | MIT | b0618dca5a52dda4eed808d0d554f3cd9b16408d | 2026-01-05T03:44:10.759480Z | false |
TheConnMan/docker-hub-rss | https://github.com/TheConnMan/docker-hub-rss/blob/b0618dca5a52dda4eed808d0d554f3cd9b16408d/api/[username]/[repository].js | api/[username]/[repository].js | var dockerHubAPI = require('docker-hub-api');
var RSS = require('rss');
var log4js = require('log4js');
var logger = log4js.getLogger();
module.exports = async (req, res) => {
var username = req.query.username;
var repository = req.query.repository;
var include = req.query.include ? req.query.include.split(',')... | javascript | MIT | b0618dca5a52dda4eed808d0d554f3cd9b16408d | 2026-01-05T03:44:10.759480Z | false |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/postcss.config.js | postcss.config.js | module.exports = () => ({
ident: 'postcss',
plugins: {
'postcss-import': {},
'postcss-preset-env': {
stage: 3,
features: {
'custom-media-queries': true,
},
},
},
});
// https://preset-env.cssdb.org/features
| javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | false |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/webpack.common.js | webpack.common.js | const path = require('path');
const glob = require('glob');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const ESLintPlugin = require('eslint-webpack-plugin');
module.exports = {
ta... | javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | false |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/webpack.prod.js | webpack.prod.js | const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const { merge } = require('webpack-merge');
const TerserPlugin = require('terser-webpack-plugin');
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: ... | javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | false |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/webpack.dev.js | webpack.dev.js | const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
devtool: 'source-map',
mode: 'development',
devServer: {
watchFiles: ['src/**/*'],
open: true,
},
});
// https://github.com/jantimon/html-webpack-plugin/issues/218
// https://git... | javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | false |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/src/js/asyncModule.js | src/js/asyncModule.js | export const sum = (a, b) => a + b;
export default {};
| javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | false |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/src/js/index.js | src/js/index.js | import './initSwiper';
import * as $ from 'jquery';
const asyncModule = import('./asyncModule');
console.log('ENV', process.env.NODE_ENV);
asyncModule.then(({ sum }) => {
console.log('sum', sum);
});
$(() => {
console.log('jQuery document ready');
});
| javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | false |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/src/js/initSwiper.js | src/js/initSwiper.js | import Swiper from 'swiper';
import { Navigation, Pagination } from 'swiper/modules';
import 'swiper/css';
import 'swiper/css/navigation';
import 'swiper/css/pagination';
Swiper.use([Navigation, Pagination]);
const mySwiper = new Swiper('.swiper-container', {
loop: true,
slidesPerView: 1,
spaceBetween: 10,
... | javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | false |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/dist/js/main.js | dist/js/main.js | (()=>{var e,t={638:function(e,t){var n;
/*!
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2023-08-28T13:37Z
| javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | true |
fedorovsky/simple-boilerplate | https://github.com/fedorovsky/simple-boilerplate/blob/3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625/dist/js/659.js | dist/js/659.js | "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[659],{659:(u,e,s)=>{s.r(e),s.d(e,{default:()=>t,sum:()=>n});var n=function(u,e){return u+e};const t={}}}]); | javascript | MIT | 3748bcee2ef4cf0c2af1c43f49ef5390ed1b8625 | 2026-01-05T03:43:43.328771Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/karma.config.js | karma.config.js | module.exports = function (config) {
config.set({
/**
* From where to look for files, starting with the location of this file.
*/
basePath: '',
/**
* This is the list of file patterns to load into the browser during testing.
*/
files: [
'bower_components/angular/angular.js',
... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/rollup.config.js | rollup.config.js | import babel from 'rollup-plugin-babel';
import uglify from 'rollup-plugin-uglify';
import { argv } from 'yargs';
const format = argv.format || argv.f || 'iife';
const compress = argv.uglify;
const babelOptions = {
presets: [ 'es2015-rollup' ],
babelrc: false
};
const dest = {
umd: `dist/umd/angular-mul... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/src/index.js | src/index.js | import angular from 'angular';
import multiStepContainer from './directives/multi-step-container';
import formStepValidity from './directives/form-step-validity';
import stepContainer from './directives/step-container';
import formStepElement from './services/form-step-element-factory';
import FormStep from './service... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/src/services/form-step-object.js | src/services/form-step-object.js | export default FormStep;
/**
* @ngdoc object
* @name multiStepForm:FormStep
*
* @description A constructor for creating form steps
* @error If no template or templateUrl properties are supplied
*/
function FormStep() {
return function FormStep (config) {
if (!config.template && !config... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/src/services/form-step-element-factory.js | src/services/form-step-element-factory.js | import angular from 'angular';
export default [ '$compile', '$controller', '$http', '$injector', '$q', '$templateCache', formStepElement ];
/**
* @ngdoc function
* @name multiStepForm:formStepElement
*
* @requires $rootScope
* @requires $controller
*
* @description A factory function for creating form ste... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/src/services/multi-step-form-factory.js | src/services/multi-step-form-factory.js | export default [ '$q', '$location', '$rootScope', multiStepForm ];
/**
* @ngdoc function
* @name multiStepForm:multiStepForm
*
* @requires $q
* @requires multiStepForm:FormStep
*
* @description A service returning an instance per multi step form.
* The instance of the service is... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/src/directives/step-container.js | src/directives/step-container.js | export default stepContainer;
/**
* @ngdoc directive
* @name multiStepForm:stepContainer
*
* @requires multiStepForm:stepContainer
*
* @restrict A
* @description The container for form steps. It registers itself with the multi step container.
* {@link multiStepForm:multiStepContainer multiS... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/src/directives/form-step-validity.js | src/directives/form-step-validity.js | import angular from 'angular';
export default [ '$parse', formStepValidity ];
/**
* @ngdoc directive
* @name multiStepForm:formStepValidity
*
* @restrict A
* @description Notify the multi step form instance of a change of validity of a step.
* This directive can be used on a form element or ... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/src/directives/multi-step-container.js | src/directives/multi-step-container.js | import angular from 'angular';
export default [ '$animate', '$q', '$controller', 'multiStepForm', 'FormStep', 'formStepElement', multiStepContainer ];
/**
* @ngdoc directive
* @name multiStepForm:multiStepContainer
*
* @requires $scope
* @requires $q
* @requires $controller
* @requires multiStepForm:mul... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/tests/multi-step-container.spec.js | tests/multi-step-container.spec.js | describe('multiStepContainer directive:', function() {
beforeEach(module('multiStepForm'));
beforeEach(module('helpers'));
var $rootScope,
$compile,
$location,
$q,
$log,
scope;
var template1 = '<h1>Step 1</h1>',
template2 = '<h1>Step 2</h1>' +
... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/tests/multi-step-form-factory.spec.js | tests/multi-step-form-factory.spec.js | describe('multiStepForm factory:', function () {
var $rootScope,
FormStep,
steps,
multiStepForm;
beforeEach(module('multiStepForm'));
beforeEach(inject(function(_$rootScope_, _multiStepForm_, _FormStep_) {
$rootScope = _$rootScope_;
FormStep = _FormStep_;
//... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/tests/form-step-element-factory.spec.js | tests/form-step-element-factory.spec.js | describe('formStepElement factory:', function () {
var $rootScope,
controller,
step,
stepIsolated,
multiStepForm,
formStepElement;
function controllerIsolated (multiStepFormScope) {
this.multiStepFormScope = multiStepFormScope;
}
beforeEach(module('multi... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/tests/helpers.js | tests/helpers.js | angular.module('helpers', []).controller('CustomController', function($scope, multiStepFormInstance) {
$scope.parentObject.text = 'hello';
});
| javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/umd/angular-multi-step-form.js | dist/umd/angular-multi-step-form.js | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('angular')) :
typeof define === 'function' && define.amd ? define('angularMultiStepForm', ['angular'], factory) :
(global.angularMultiStepForm = factory(global.angular));
}(this, function ... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/umd/angular-multi-step-form.min.js | dist/umd/angular-multi-step-form.min.js | !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("angular")):"function"==typeof define&&define.amd?define("angularMultiStepForm",["angular"],e):t.angularMultiStepForm=e(t.angular)}(this,function(t){"use strict";function e(e,i,n,r,s,o){return{restrict:"EA",scope:!0,controller:... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/commonjs/index.js | dist/commonjs/index.js | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _angular = require('angular');
var _angular2 = _interopRequireDefault(_angular);
var _multiStepContainer = require('./directives/multi-step-container');
var _multiStepContainer2 = _interopRequireDefault(_multiStepContainer);
var ... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/commonjs/services/form-step-object.js | dist/commonjs/services/form-step-object.js | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = FormStep;
/**
* @ngdoc object
* @name multiStepForm:FormStep
*
* @description A constructor for creating form steps
* @error If no template or templateUrl properties are supplied
*/
function Form... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/commonjs/services/form-step-element-factory.js | dist/commonjs/services/form-step-element-factory.js | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _angular = require('angular');
var _angular2 = _interopRequireDefault(_angular);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = ['$compile', '$controller', '$http'... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/commonjs/services/multi-step-form-factory.js | dist/commonjs/services/multi-step-form-factory.js | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = ['$q', '$location', '$rootScope', multiStepForm];
/**
* @ngdoc function
* @name multiStepForm:multiStepForm
*
* @requires $q
* @requires multiStepForm:FormStep
*
* @description A service return... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/commonjs/directives/step-container.js | dist/commonjs/directives/step-container.js | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = stepContainer;
/**
* @ngdoc directive
* @name multiStepForm:stepContainer
*
* @requires multiStepForm:stepContainer
*
* @restrict A
* @description The container for form steps. It registers itself with the... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/commonjs/directives/form-step-validity.js | dist/commonjs/directives/form-step-validity.js | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _angular = require('angular');
var _angular2 = _interopRequireDefault(_angular);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = ['$parse', formStepValidity];
/**
... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/commonjs/directives/multi-step-container.js | dist/commonjs/directives/multi-step-container.js | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _angular = require('angular');
var _angular2 = _interopRequireDefault(_angular);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = ['$animate', '$q', '$controller', '... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/browser/angular-multi-step-form.js | dist/browser/angular-multi-step-form.js | var angularMultiStepForm = (function (angular$1) {
'use strict';
angular$1 = 'default' in angular$1 ? angular$1['default'] : angular$1;
var multiStepContainer = ['$animate', '$q', '$controller', 'multiStepForm', 'FormStep', 'formStepElement', multiStepContainer$1];
/**
* @ngdoc directive
* @name ... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
troch/angular-multi-step-form | https://github.com/troch/angular-multi-step-form/blob/0abdce8b6137cfcd30f5bb3496c0ce7a726f383a/dist/browser/angular-multi-step-form.min.js | dist/browser/angular-multi-step-form.min.js | var angularMultiStepForm=function(t){"use strict";function e(e,i,n,r,s,o){return{restrict:"EA",scope:!0,controller:["$scope",function(t){this.setStepContainer=function(t){this.stepContainer=t}}],link:{pre:function(t,e,i){t.formSteps=t.$eval(i.steps).map(function(t){return new s(t)}),t.stepTitles=t.formSteps.map(functio... | javascript | ISC | 0abdce8b6137cfcd30f5bb3496c0ce7a726f383a | 2026-01-05T03:44:11.528369Z | false |
1j01/simple-console | https://github.com/1j01/simple-console/blob/d042c69715aeceda16e48c6b5de59a39023be426/demo.js | demo.js |
var con = new SimpleConsole({
handleCommand: handle_command,
placeholder: "Enter JavaScript, or ASCII emoticons :)",
storageID: "simple-console demo"
});
document.body.appendChild(con.element);
con.logHTML(
"<h1>Welcome to <a href='https://github.com/1j01/simple-console'>Simple Console!</a></h1>" +
"<p>Try enter... | javascript | MIT | d042c69715aeceda16e48c6b5de59a39023be426 | 2026-01-05T03:44:14.001434Z | false |
1j01/simple-console | https://github.com/1j01/simple-console/blob/d042c69715aeceda16e48c6b5de59a39023be426/simple-console.js | simple-console.js |
var SimpleConsole = function(options) {
if (!options.handleCommand && !options.outputOnly) {
throw new Error("You must specify either options.handleCommand(input) or options.outputOnly");
}
var output_only = options.outputOnly;
var handle_command = options.handleCommand;
var placeholder = options.placeholder ... | javascript | MIT | d042c69715aeceda16e48c6b5de59a39023be426 | 2026-01-05T03:44:14.001434Z | false |
1j01/simple-console | https://github.com/1j01/simple-console/blob/d042c69715aeceda16e48c6b5de59a39023be426/tilde.js | tilde.js |
const KEY_CODE_TILDE = 192;
const KEY_CODE_ESCAPE = 27;
const container = document.body;
const consoleInput = con.input; //document.querySelector(".simple-console-input");
window.addEventListener("keydown", (event)=> {
var wasOpen = container.classList.contains("console-open");
if (event.keyCode === KEY_CODE_ESCAPE... | javascript | MIT | d042c69715aeceda16e48c6b5de59a39023be426 | 2026-01-05T03:44:14.001434Z | false |
Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine | https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/blob/560a6e697ee58f9146721d94e462b68222640c46/html/components/config.js | html/components/config.js | 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/components/config-template.js | html/components/config-template.js | 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/components/gene-object/aggregatedTranscript.js | html/components/gene-object/aggregatedTranscript.js | // JavaScript Document
var GIVe = (function (give) {
'use strict'
class AggregatedTranscript extends give.TranscriptObject {
merge (newRegion) {
// add new transcript/gene to the gene
// notice that the amount of columns in Gene will not be increased if
// different from transcript
// (... | 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/components/gene-object/geneObject.js | html/components/gene-object/geneObject.js | // JavaScript Document
var GIVe = (function (give) {
'use strict'
class GeneObject extends give.AggregatedTranscript {
constructor (mainParams, refObj, additionalParams) {
super(...arguments)
this.transcripts = []
this.transcripts.push(
new give.TranscriptObject(mainParams, refObj, ad... | 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/components/give-card/giveCardContentMixin.js | html/components/give-card/giveCardContentMixin.js | var GIVe = (function (give) {
'use strict'
give.GiveCardContentMixin = Polymer.dedupingMixin(base =>
class extends Polymer.mixinBehaviors([
Polymer.IronResizableBehavior
], base) {
static get properties () {
return {
icon: {
type: String,
value: '',
... | 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/components/transcript-object/transcriptObject.js | html/components/transcript-object/transcriptObject.js | var GIVe = (function (give) {
'use strict'
class TranscriptObject extends give.ChromRegion {
constructor (mainParams, refObj, additionalParams) {
super(...arguments)
// check whether thickStart and thickEnd are valid
this.geneSymbol = this.geneSymbol || this.name
}
get thickStart () ... | 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/components/basic-func/genemoConstants.js | html/components/basic-func/genemoConstants.js | // JavaScript Document
var GIVe = (function (give) {
'use strict'
give.compHost = 'https://comp.genemo.org'
give.Gnm_LoadSessionTarget = '/cpbrowser/loadSession.php'
give.Gnm_UploadPrepareTarget = '/cpbrowser/uploadPrepare.php'
give.Gnm_CompBedTarget = '/cpbrowser/geneTrackComparison.php'
give.Gnm_CompBig... | 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/components/basic-func/basicFunc.js | html/components/basic-func/basicFunc.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 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/components/basic-func/constants-template.js | html/components/basic-func/constants-template.js | // JavaScript Document
var GIVe = (function (give) {
'use strict'
give.DEBUG = true
give.Host = 'https://www.givengine.org'
give.ServerPath = '/givdata/'
give.Ctm_GetUserIdTarget = 'getNewId.php'
give.Ctm_AddTrackTarget = 'addCustomTrack.php'
give.Ctm_RemoveTrackTarget = 'removeCustomTrack.php'
give.... | 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/components/chrom-region/chromRegion.js | html/components/chrom-region/chromRegion.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 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/components/single-cell-main/singleCellMain.js | html/components/single-cell-main/singleCellMain.js | // initialize ref and tracks
var GIVe = (function (give) {
'use strict'
var scDialog, scShowRefBtn, scDoNotShowBtn,
scLocalStorage
window.addEventListener('WebComponentsReady', function (e) {
give.fireCoreSignal('content-dom-ready', null)
give.fireSignal(give.TASKSCHEDULER_EVENT_NAME, {flag: 'web-c... | 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/components/giv-main/givMain.js | html/components/giv-main/givMain.js | // initialize ref and tracks
var GIVe = (function (give) {
'use strict'
give.mainTaskScheduler.addTask(new give.TaskEntry(function () {
if (window.location.search.indexOf('hg38') >= 0) {
Polymer.dom(document).querySelector('#mainChartController').ref = 'hg38'
}
}, ['web-component-ready', 'ref-read... | 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/components/meta-entries/metaColumnTypes.js | html/components/meta-entries/metaColumnTypes.js | // JavaScript Document
var GIVe = (function (give) {
'use strict'
give.MetaColumnTypes = function (url) {
this.url = url || give.MetaColumnTypes.defaultUrl
this.isReady = false
this.entries = {}
give.postAjax(this.url, null, 'text', 'GET').then(this.responseHandler)
}
give.MetaColumnTypes.prot... | 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/components/meta-entries/metaDataEntries.js | html/components/meta-entries/metaDataEntries.js | // JavaScript Document
var GIVe = (function (give) {
'use strict'
give.MetaDataEntries = function (url) {
this.url = url || give.MetaDataEntries.defaultUrl
this.entries = {}
this.DataPromise = give.postAjax(this.url, null, 'text', 'GET')
.then(res => this._responseHandler(res))
.catch(e => ... | 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/components/ref-object/refObject.js | html/components/ref-object/refObject.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 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/components/encode-main/encodeMain.js | html/components/encode-main/encodeMain.js | var GIVe = (function (give) {
'use strict'
var UI = new give.UIObject(window)
window.addEventListener('WebComponentsReady', function () {
give.fireCoreSignal('content-dom-ready', null)
give.fireSignal(give.TASKSCHEDULER_EVENT_NAME, {flag: 'web-component-ready'})
document.addEventListener('alert', 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/components/promise-aggregator/promiseAggregator.js | html/components/promise-aggregator/promiseAggregator.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 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/components/ref-embed-mixin/refEmbedMixin.js | html/components/ref-embed-mixin/refEmbedMixin.js | var GIVe = (function (give) {
/**
* Behavior that allows to choose reference from its name.
*
* When the requested reference is not available (for example, needs to be
* loaded from some external sources), the request will be queued so that
* it can be executed when the references are ready.
*
* @polymer
* @mix... | 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/components/track-filter/dataFilter.js | html/components/track-filter/dataFilter.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 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/components/track-filter/metadataFilter.js | html/components/track-filter/metadataFilter.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 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/components/chart-area/bigWigReader.js | html/components/chart-area/bigWigReader.js | function viewHandler(dataView, isLittleEndian){
this.dataView=dataView;
this.isLittleEndian=isLittleEndian;
this.index=0;
this.getInt8 = function(){
this.index+=1;
return this.dataView.getUint8(this.index-1,this.isLittleEndian);
}
this.getInt16 = function(){
this.index+=2;
return this.dataView.getUint16(thi... | 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/components/chrom-region-display/chromRegionDisp.js | html/components/chrom-region-display/chromRegionDisp.js | // JavaScript Document
var GIVe = (function (give) {
'use strict'
give.ChromRegionDisp = function (mainParams, ref, additionalParams) {
give.ChromRegion.apply(this, arguments)
if (typeof this.track === 'string') {
this.track = [this.track]
} else if (!Array.isArray(this.track)) {
this.track... | 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/components/priority-manager/priorityManager.js | html/components/priority-manager/priorityManager.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 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/components/priority-manager/priorityManagerCollection.js | html/components/priority-manager/priorityManagerCollection.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 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/components/task-scheduler/taskEntry.js | html/components/task-scheduler/taskEntry.js | // JavaScript Document
var GIVe = (function (give) {
'use strict'
give.TaskEntry = function (callback, prerequisites) {
if (typeof callback === 'function') {
this.callback = callback
if (!Array.isArray(prerequisites)) {
prerequisites = [prerequisites]
}
this.prerequisites = prer... | 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/components/task-scheduler/taskScheduler.js | html/components/task-scheduler/taskScheduler.js | var GIVe = (function (give) {
'use strict'
give.TASKSCHEDULER_EVENT_NAME = '_give-check-scheduled-task'
give.TaskScheduler = function (tasks) {
this.flags = {}
this.tasks = []
tasks = tasks || []
if (!Array.isArray(tasks)) {
tasks = [tasks]
}
tasks.forEach(function (task) {
t... | 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/components/track-object/trackDataObject.js | html/components/track-object/trackDataObject.js | /**
* @license
* Copyright 2017-2019 The Regents of the University of California.
* All Rights Reserved.
*
* Created by Xiaoyi Cao
* Department of Bioengineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | javascript | Apache-2.0 | 560a6e697ee58f9146721d94e462b68222640c46 | 2026-01-05T03:43:36.100085Z | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.