hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d1078f33c6d2cb4fe644462d4875db1cb18d549 | 801 | js | JavaScript | pubsub-modules/Modules/ErrorManager.js | Kartones/JSAssorted | 8037b80d18df7eeb9b9ef34c9397711e41c93941 | [
"Unlicense"
] | null | null | null | pubsub-modules/Modules/ErrorManager.js | Kartones/JSAssorted | 8037b80d18df7eeb9b9ef34c9397711e41c93941 | [
"Unlicense"
] | null | null | null | pubsub-modules/Modules/ErrorManager.js | Kartones/JSAssorted | 8037b80d18df7eeb9b9ef34c9397711e41c93941 | [
"Unlicense"
] | null | null | null | function ErrorManager(messageBroker) {
var self = this;
var messageBroker = messageBroker;
var config = {};
this.init = function () {
messageBroker.subscribe(ErrorManager.ErrorMessage, ErrorManager.moduleName, self.handleError);
};
this.destroy = function () {
messageBroker.un... | 29.666667 | 102 | 0.68789 |
5d1201f03e5afc3d3c31f04483cf9f40dcbf41af | 391 | js | JavaScript | test/parse-members-test.js | zrrrzzt/opengov-meetings | d627648df10d03d12348d5df1d084b62e81393f5 | [
"MIT"
] | 2 | 2018-02-13T23:45:13.000Z | 2020-07-21T03:25:51.000Z | test/parse-members-test.js | zrrrzzt/opengov-meetings | d627648df10d03d12348d5df1d084b62e81393f5 | [
"MIT"
] | 69 | 2016-09-04T18:06:23.000Z | 2021-10-10T05:48:29.000Z | test/parse-members-test.js | zrrrzzt/opengov-meetings | d627648df10d03d12348d5df1d084b62e81393f5 | [
"MIT"
] | null | null | null | const tap = require('tap')
const { readFileSync } = require('fs')
const parseMembers = require('../lib/parse-members')
const expectedResult = require('./data/get-members-data.json')
const data = readFileSync('test/data/get-members-page.html', 'utf-8')
const result = parseMembers(data)
tap.equal(JSON.stringify(result),... | 43.444444 | 103 | 0.746803 |
5d1220c5a94f41a42e56aab20bf49f86bbe0740f | 1,114 | js | JavaScript | src/plugins/annotation/display/annotation-display.js | elmu/elmu-web | 0233eee8587702c0671deccdef70c806936580d9 | [
"MIT"
] | null | null | null | src/plugins/annotation/display/annotation-display.js | elmu/elmu-web | 0233eee8587702c0671deccdef70c806936580d9 | [
"MIT"
] | 91 | 2018-09-16T17:16:46.000Z | 2022-02-02T15:21:00.000Z | src/plugins/annotation/display/annotation-display.js | elmu/elmu-web | 0233eee8587702c0671deccdef70c806936580d9 | [
"MIT"
] | 1 | 2021-11-03T10:14:42.000Z | 2021-11-03T10:14:42.000Z | import React from 'react';
import { Collapse } from 'antd';
import autoBind from 'auto-bind';
import PropTypes from 'prop-types';
import { inject } from '../../../components/container-context.js';
import { sectionDisplayProps } from '../../../ui/default-prop-types.js';
import GithubFlavoredMarkdown from '../../../commo... | 28.564103 | 81 | 0.691203 |
5d12c654197bd3886ae2cf04d3a038be2c2eedb6 | 5,516 | js | JavaScript | wordpress/wp-content/plugins/cartflows/assets/js/frontend.js | joeysudo/E-commerce-Website-with-Wordpress | 9ad90372a45fa25544faad17a8a4887899fcf675 | [
"MIT"
] | null | null | null | wordpress/wp-content/plugins/cartflows/assets/js/frontend.js | joeysudo/E-commerce-Website-with-Wordpress | 9ad90372a45fa25544faad17a8a4887899fcf675 | [
"MIT"
] | null | null | null | wordpress/wp-content/plugins/cartflows/assets/js/frontend.js | joeysudo/E-commerce-Website-with-Wordpress | 9ad90372a45fa25544faad17a8a4887899fcf675 | [
"MIT"
] | null | null | null | ( function ( $ ) {
/* It will redirect if anyone clicked on link before ready */
$( document ).on( 'click', 'a[href*="wcf-next-step"]', function ( e ) {
e.preventDefault();
if (
'undefined' !== typeof cartflows.is_pb_preview &&
'1' == cartflows.is_pb_preview
) {
e.stopPropagation();
retur... | 29.655914 | 76 | 0.613488 |
5d135f5f21d5501fa4a0ad44ff9d482040d3e85b | 395 | js | JavaScript | ninja/src/js/graphics/create-pattern.js | sreechar/Games | 59cf4af6b3c852ea5a17705315841e7af4bec514 | [
"CC0-1.0"
] | 1 | 2021-01-18T13:16:04.000Z | 2021-01-18T13:16:04.000Z | ninja/src/js/graphics/create-pattern.js | 5R33CH4/Games | 59cf4af6b3c852ea5a17705315841e7af4bec514 | [
"CC0-1.0"
] | 1 | 2021-12-11T10:14:43.000Z | 2021-12-11T10:14:43.000Z | ninja/src/js/graphics/create-pattern.js | 5R33CH4/Games | 59cf4af6b3c852ea5a17705315841e7af4bec514 | [
"CC0-1.0"
] | 1 | 2021-12-04T21:15:27.000Z | 2021-12-04T21:15:27.000Z | createCanvasPattern = (patternWidth, patternHeight, instructions) => {
const x = createCanvas(patternWidth, patternHeight, instructions);
const pattern = x.getContext('2d').createPattern(x, 'repeat');
// Add some extra properties (background rendering needs to know the size of patterns)
pattern.width =... | 35.909091 | 90 | 0.729114 |
5d14ad410c4a05dff65440af8d206fe1ab83e6b2 | 3,169 | js | JavaScript | js/main.js | antoniopark/Modellos-de-desarollo-de-software | 90dbb6bef49d9001ac9f983325f048cf45985a86 | [
"MIT"
] | null | null | null | js/main.js | antoniopark/Modellos-de-desarollo-de-software | 90dbb6bef49d9001ac9f983325f048cf45985a86 | [
"MIT"
] | null | null | null | js/main.js | antoniopark/Modellos-de-desarollo-de-software | 90dbb6bef49d9001ac9f983325f048cf45985a86 | [
"MIT"
] | null | null | null | var pos=0;
var intv;
$(document).on('ready',function(){
init();
});
window.addEventListener('orientationchange',init)
function init(){
if($('html').width() > 900){
$.stellar({
'horizontalScrolling': false,
hideDistantElements: false
});
}
var sc = $.scrollorama({blocks:'.fullScreen',enablePin:false})... | 25.97541 | 100 | 0.687599 |
5d1514d05720f416d71ec21c8957cb96cbc6f1a5 | 614 | js | JavaScript | src/carbon-dating.js | RomanYarovoi/basic-js | 74a1b969d707dedf28163f2ec2f9739a422faa15 | [
"MIT"
] | null | null | null | src/carbon-dating.js | RomanYarovoi/basic-js | 74a1b969d707dedf28163f2ec2f9739a422faa15 | [
"MIT"
] | null | null | null | src/carbon-dating.js | RomanYarovoi/basic-js | 74a1b969d707dedf28163f2ec2f9739a422faa15 | [
"MIT"
] | null | null | null | const MODERN_ACTIVITY= 15;
const HALF_LIFE_PERIOD= 5730;
const APPROXIMATION_LN = 0.693;
function check_activity(value) {
if (typeof value !== 'string') return false
let activity = parseFloat(value)
if (isNaN(activity) ||
activity > MODERN_ACTIVITY ||
activity <= 0)
return false
ret... | 24.56 | 62 | 0.728013 |
5d156dacc40fe62a4c5a4dcec206f73f2a39d3d5 | 4,816 | js | JavaScript | front/build/static/js/main.58ef8c51.chunk.js | fj-mac/Templ2Basic | 012f5aa6f40eb806b15e4e38b353e193d313517c | [
"MIT"
] | null | null | null | front/build/static/js/main.58ef8c51.chunk.js | fj-mac/Templ2Basic | 012f5aa6f40eb806b15e4e38b353e193d313517c | [
"MIT"
] | null | null | null | front/build/static/js/main.58ef8c51.chunk.js | fj-mac/Templ2Basic | 012f5aa6f40eb806b15e4e38b353e193d313517c | [
"MIT"
] | null | null | null | (window.webpackJsonpfront=window.webpackJsonpfront||[]).push([[0],{14:function(e,t,a){},15:function(e,t,a){},16:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),o=a(8),r=a.n(o),s=(a(14),a(2)),c=a(3),i=a(5),u=a(4),m=a(6),d=a(1),h=(a(15),function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(thi... | 2,408 | 4,768 | 0.714078 |
5d1614e6d1a4ff011b8c786f7bcb72f3a555a99b | 457 | js | JavaScript | routes/index.js | feguedi/rng-web | 8c5c93f88512437b0bfb1a4338566b8a3e946ff7 | [
"MIT"
] | 1 | 2021-07-27T04:33:42.000Z | 2021-07-27T04:33:42.000Z | routes/index.js | feguedi/rng-web | 8c5c93f88512437b0bfb1a4338566b8a3e946ff7 | [
"MIT"
] | null | null | null | routes/index.js | feguedi/rng-web | 8c5c93f88512437b0bfb1a4338566b8a3e946ff7 | [
"MIT"
] | null | null | null | 'use strict'
let routes = app => {
const controllers = require('../controllers')
app.route('/')
.get(controllers.home)
app.route('/d3')
.get(controllers.form_d3)
app.route('/50x')
.get(controllers.error_50x)
app.route('/chart-js')
.get(controllers.form_chartjs)
... | 17.576923 | 49 | 0.584245 |
5d165b505a474fffbc484837dabc3c7db50c5825 | 778 | js | JavaScript | public/nested_support/filter_manager/lib/phrase.js | vkprakaz/KibanaNestedSupportPluginTest | d9b8df857c73a53119d8ac3ae337003347f3e891 | [
"Apache-2.0"
] | 87 | 2017-12-02T22:50:55.000Z | 2021-05-24T10:17:39.000Z | public/nested_support/filter_manager/lib/phrase.js | vkprakaz/KibanaNestedSupportPluginTest | d9b8df857c73a53119d8ac3ae337003347f3e891 | [
"Apache-2.0"
] | 99 | 2017-12-02T15:13:25.000Z | 2021-06-02T02:20:16.000Z | public/nested_support/filter_manager/lib/phrase.js | vkprakaz/KibanaNestedSupportPluginTest | d9b8df857c73a53119d8ac3ae337003347f3e891 | [
"Apache-2.0"
] | 13 | 2018-07-11T10:57:48.000Z | 2021-10-01T09:15:59.000Z | import * as phraseLib from 'ui/filter_manager/lib/phrase';
phraseLib.buildPhraseFilter = function(field, value, indexPattern) {
const filter = { meta: { index: indexPattern.id } };
if (field.scripted) {
filter.script = phraseLib.getPhraseScript(field, value);
filter.meta.field = field.name;
} else {
... | 28.814815 | 116 | 0.618252 |
5d17cfd93d3c08dbfcd8e4376c63fd60a27313d5 | 241 | js | JavaScript | webpack.config.client.js | cleivey/PoliticiansOnClimate | c24bb5041f47c3721f74954e4628f98abe4576ea | [
"MIT"
] | 1 | 2019-11-02T10:37:13.000Z | 2019-11-02T10:37:13.000Z | webpack.config.client.js | cleivey/PoliticiansOnClimate | c24bb5041f47c3721f74954e4628f98abe4576ea | [
"MIT"
] | 2 | 2021-03-09T21:15:56.000Z | 2021-12-09T01:14:08.000Z | webpack.config.client.js | cleivey/PoliticiansOnClimate | c24bb5041f47c3721f74954e4628f98abe4576ea | [
"MIT"
] | null | null | null | // require('dotenv-webpack').config()
// const webpack = require('webpack')
// module.exports = {
// plugins: [
// new webpack.DefinePlugin({
// 'process.env.API_KEY': process.env.API_KEY
// })
// ]
// }; | 24.1 | 57 | 0.53112 |
5d18b2d3bb0f271fdbe9bbba12ad09acda944a95 | 34 | js | JavaScript | packages/deco-recursive/deco-pale/resources/DEFN.js | gadge/spare | 1edc5966f384bef387867de6603990bdd6eb1721 | [
"MIT"
] | 1 | 2021-08-04T03:28:00.000Z | 2021-08-04T03:28:00.000Z | packages/deco-recursive/deco-pale/resources/DEFN.js | gadge/spare | 1edc5966f384bef387867de6603990bdd6eb1721 | [
"MIT"
] | null | null | null | packages/deco-recursive/deco-pale/resources/DEFN.js | gadge/spare | 1edc5966f384bef387867de6603990bdd6eb1721 | [
"MIT"
] | null | null | null | export const DEFN = { pr: false }
| 17 | 33 | 0.647059 |
5d190618b86719b88108f00b8bce0d6cf0ef05c3 | 675 | js | JavaScript | src/components/AuthenticatedLayout/Breadcrumbs/Breadcrumbs.js | XaroRSA/client | 6e780100f96703111039f7ef5f95ea66c9ef6b67 | [
"MIT"
] | null | null | null | src/components/AuthenticatedLayout/Breadcrumbs/Breadcrumbs.js | XaroRSA/client | 6e780100f96703111039f7ef5f95ea66c9ef6b67 | [
"MIT"
] | null | null | null | src/components/AuthenticatedLayout/Breadcrumbs/Breadcrumbs.js | XaroRSA/client | 6e780100f96703111039f7ef5f95ea66c9ef6b67 | [
"MIT"
] | null | null | null | import React from 'react';
import { NavLink } from 'react-router-dom';
import { object, arrayOf } from 'prop-types';
import styles from './Breadcrumbs.scss';
export default class Breadcrumbs extends React.Component {
static propTypes = {
breadcrumbs: arrayOf(object).isRequired
};
render() {
return (
... | 22.5 | 61 | 0.628148 |
5d1a25f4d260b9b3025c4f7dfa5880fa57778cbf | 148 | js | JavaScript | docs/search/files_8.js | Marzac/le3d | 991153bcd6807b36be67db152501805a59499196 | [
"MIT"
] | 56 | 2017-03-25T10:48:35.000Z | 2022-01-28T21:19:36.000Z | docs/search/files_8.js | Marzac/le3d | 991153bcd6807b36be67db152501805a59499196 | [
"MIT"
] | 42 | 2018-03-06T23:10:39.000Z | 2018-12-24T12:19:54.000Z | docs/search/files_8.js | Marzac/le3d | 991153bcd6807b36be67db152501805a59499196 | [
"MIT"
] | 6 | 2018-03-04T22:51:57.000Z | 2021-10-30T05:35:59.000Z | var searchData=
[
['objfile_2ecpp',['objfile.cpp',['../objfile_8cpp.html',1,'']]],
['objfile_2eh',['objfile.h',['../objfile_8h.html',1,'']]]
];
| 24.666667 | 66 | 0.587838 |
5d1a503bd625ab3e87e4d4dd701eafc92d1fc7a6 | 288 | js | JavaScript | build-scripts.js | bight/keel | 3a9a22f9722202a846a345cb05225ce93abc99cb | [
"MIT"
] | null | null | null | build-scripts.js | bight/keel | 3a9a22f9722202a846a345cb05225ce93abc99cb | [
"MIT"
] | 28 | 2021-04-04T12:35:58.000Z | 2022-03-01T22:15:39.000Z | build-scripts.js | bight/keel | 3a9a22f9722202a846a345cb05225ce93abc99cb | [
"MIT"
] | null | null | null | #!/usr/bin/env node
const {build} = require('estrella');
build({
entry: './src/assets/scripts/main.js',
outfile: './dist/assets/scripts/main.js',
bundle: true,
});
build({
entry: './src/admin/admin.js',
outfile: './dist/admin/admin.js',
bundle: true,
loader: {'.js': 'jsx'},
});
| 18 | 42 | 0.621528 |
5d1b46918e4d2bb65df2c2ac6a08efe3cd9fa868 | 786 | js | JavaScript | cloneDir/index.js | RobinYang11/blog-data | 374ef97c04e6708c2289fce3ac127b6eda092f03 | [
"MIT"
] | 390 | 2017-10-20T07:38:43.000Z | 2022-03-26T09:47:40.000Z | cloneDir/index.js | haidaoge123/blog-data | fb088a32ac05e1d05ba0e5b44a364af852a612d9 | [
"MIT"
] | 10 | 2018-03-29T05:28:23.000Z | 2021-08-21T11:37:19.000Z | cloneDir/index.js | haidaoge123/blog-data | fb088a32ac05e1d05ba0e5b44a364af852a612d9 | [
"MIT"
] | 297 | 2017-10-22T08:00:21.000Z | 2022-03-22T09:59:24.000Z | const execSync = require('child_process').execSync
const fs = require('fs')
const cmd1 = 'git init'
let cmd2 = 'git remote add -f origin '
const cmd3 = 'git config core.sparsecheckout true'
const cmd4 = 'git pull origin master'
let path = ''
process.stdin.setEncoding('utf8')
process.stdout.write('请输入仓库远程地址,以及想要复制的文件... | 26.2 | 65 | 0.667939 |
5d1d335fb35a2226b1b09546fd1ef54cb0b0d412 | 1,476 | js | JavaScript | file-server/index.js | TomasBarry/DistroProject | 83362727949420ebf54603318f920e07a502b940 | [
"MIT"
] | null | null | null | file-server/index.js | TomasBarry/DistroProject | 83362727949420ebf54603318f920e07a502b940 | [
"MIT"
] | null | null | null | file-server/index.js | TomasBarry/DistroProject | 83362727949420ebf54603318f920e07a502b940 | [
"MIT"
] | null | null | null | // Define imports
const net = require('net');
const init_handler = require('./init.js');
const file_server = require('./file-server.js');
const encryption_handler = require('./encryption_handler.js');
// define constants
const port = process.argv[2] || 8000;
// Register with Auth Server and directory server
init_ha... | 25.448276 | 63 | 0.661924 |
5d1ea6663e550aa2ab5eae5f3940114dcc145614 | 1,832 | js | JavaScript | src/map-controls/index.js | sanjay1909/tn-covid-beds | 375bf71ddfb27500ed9c9776d89e54da34b54e3a | [
"MIT"
] | null | null | null | src/map-controls/index.js | sanjay1909/tn-covid-beds | 375bf71ddfb27500ed9c9776d89e54da34b54e3a | [
"MIT"
] | null | null | null | src/map-controls/index.js | sanjay1909/tn-covid-beds | 375bf71ddfb27500ed9c9776d89e54da34b54e3a | [
"MIT"
] | null | null | null | import React, {useState,useRef,useEffect} from 'react';
import Switch from "react-switch";
import './style.css';
import Select from 'react-select';
import 'react-dropdown/style.css';
export default function MapControls(props) {
const {enableIcu, onIcuChange, enableO2, onO2Change,
district, districtOptions, onDistr... | 25.802817 | 76 | 0.621725 |
5d1ead38b621668b1f43064241359a94e539fd82 | 1,932 | js | JavaScript | Classes/Scenes/About.js | BufferSpace/NaughtySquirrel | 7a374262a6046f7c094a79d48cc5f556a092d871 | [
"Unlicense",
"MIT"
] | 19 | 2015-01-24T11:16:49.000Z | 2021-01-21T04:52:38.000Z | Classes/Scenes/About.js | BufferSpace/NaughtySquirrel | 7a374262a6046f7c094a79d48cc5f556a092d871 | [
"Unlicense",
"MIT"
] | null | null | null | Classes/Scenes/About.js | BufferSpace/NaughtySquirrel | 7a374262a6046f7c094a79d48cc5f556a092d871 | [
"Unlicense",
"MIT"
] | 7 | 2015-03-16T13:06:12.000Z | 2021-11-16T03:07:08.000Z | var About = cc.Layer.extend({
content: null,
menu: null,
init: function() {
if (this._super) {
this.loadBg();
this.loadLabel();
}
return true;
},
loadBg: function() {
this.addPic(P_MENUBG, cc.ccp(0.5, 0.5), cc.ccp(WIN_SIZE.width / 2, WIN_SIZE.height / ... | 22.465116 | 105 | 0.60559 |
5d20dfc4e1000b38576e7217f1de483954375904 | 3,446 | js | JavaScript | packages/snap-preact-demo/tests/cypress/support/commands.js | searchspring/snap | 050a3e8e94678c61db77c597e20bab6e9492bc4f | [
"MIT"
] | 4 | 2022-02-10T20:10:47.000Z | 2022-03-16T15:12:33.000Z | packages/snap-preact-demo/tests/cypress/support/commands.js | searchspring/snap | 050a3e8e94678c61db77c597e20bab6e9492bc4f | [
"MIT"
] | 86 | 2022-02-01T20:51:18.000Z | 2022-03-31T21:20:13.000Z | packages/snap-preact-demo/tests/cypress/support/commands.js | searchspring/snap | 050a3e8e94678c61db77c597e20bab6e9492bc4f | [
"MIT"
] | null | null | null | // ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***************************... | 27.349206 | 103 | 0.617818 |
5d215c82f132bc43657338482594de5d44b28b44 | 821 | js | JavaScript | resources/assets/js/router/base_router.js | arenatechnologiesvn/aza | 4d1ead542a3e67654128d2ae8cf92f18aaaf12a1 | [
"MIT"
] | 1 | 2018-06-11T19:28:57.000Z | 2018-06-11T19:28:57.000Z | resources/assets/js/router/base_router.js | arenatechnologiesvn/aza | 4d1ead542a3e67654128d2ae8cf92f18aaaf12a1 | [
"MIT"
] | 1 | 2018-06-12T05:19:09.000Z | 2018-06-12T05:39:17.000Z | resources/assets/js/router/base_router.js | arenatechnologiesvn/aza | 4d1ead542a3e67654128d2ae8cf92f18aaaf12a1 | [
"MIT"
] | null | null | null | import LayoutGuest from '../views/shared/layout/Guest';
const ConstBaseRouterMap = [
{
path: '/login',
redirect: '/login',
name: 'login',
component: LayoutGuest,
hidden: true,
children: [
{
path: '/login',
component: () => import('~/views/pages/auth/Login'),
hidde... | 24.878788 | 94 | 0.542022 |
5d216af4713422b0b7f226bbec7ef8307b42557d | 2,381 | js | JavaScript | test/auth.test.js | jim-thisplace/mondoapimock | 9dfc1d4af20556b06bd7b42bc969da7c97380d59 | [
"MIT"
] | 2 | 2015-12-22T11:16:48.000Z | 2016-01-13T23:05:41.000Z | test/auth.test.js | jim-thisplace/mondoapimock | 9dfc1d4af20556b06bd7b42bc969da7c97380d59 | [
"MIT"
] | null | null | null | test/auth.test.js | jim-thisplace/mondoapimock | 9dfc1d4af20556b06bd7b42bc969da7c97380d59 | [
"MIT"
] | null | null | null | var request = require('./util').request;
var expect = require('chai').expect;
describe('Authentication', function () {
var refresh_token;
var access_token;
it('POST /oauth2/token should acquire an access token given the correct credentials', function () {
var res = request('/oauth2/token', 'post'... | 34.014286 | 104 | 0.528769 |
5d21f4a1055e09a86549295409f9bb1d4640d8ae | 2,378 | js | JavaScript | app/TestList/TestList.js | priteshjha4u/TestScoreApp | 5ca76f58668bc563b49e96424392fa1e7a40e10f | [
"MIT"
] | null | null | null | app/TestList/TestList.js | priteshjha4u/TestScoreApp | 5ca76f58668bc563b49e96424392fa1e7a40e10f | [
"MIT"
] | null | null | null | app/TestList/TestList.js | priteshjha4u/TestScoreApp | 5ca76f58668bc563b49e96424392fa1e7a40e10f | [
"MIT"
] | null | null | null | 'use strict';
define([
'angular',
'alertify',
'jsPanel',
'angularRoute',
'xeditable',
'services/localstorage'
], function(angular, alertify) {
angular.module('TestScore.TestList', ['ngRoute', 'xeditable', 'TestScore.localstorageservice'])
.config(['$routeProvider', function($routeProvider) {
$routeProvide... | 29.358025 | 167 | 0.615223 |
5d2240ac20a13af8088171c3c5b61e01dfd81ab1 | 16,956 | js | JavaScript | _includes/pieData.js | jonmholt/jonmholt.github.io | 002bfdb99c818eaab7e8788630cb003e64be4f60 | [
"MIT"
] | null | null | null | _includes/pieData.js | jonmholt/jonmholt.github.io | 002bfdb99c818eaab7e8788630cb003e64be4f60 | [
"MIT"
] | null | null | null | _includes/pieData.js | jonmholt/jonmholt.github.io | 002bfdb99c818eaab7e8788630cb003e64be4f60 | [
"MIT"
] | null | null | null | {% raw %}
<script>
var pieData = [
{
value: 62800.00,
color: "#949FB1",
highlight: "#A8B3C5",
label: "NRCB"
},
{
value: 18651.43,
color: "#46BFBD",
highlight: "#5AD3D1",
label: "CUCA"
},
{
value: 20340.00,
color: "#FDB45... | 36.230769 | 255 | 0.520937 |
5d22bcc73cf2c9cebce7fce114fdcabf1cf27c99 | 20,981 | js | JavaScript | linux/RPI/OutDoorMain_CCTV/LibraryModule-1.0-Source/docs/html/navtreeindex3.js | NGliese/Embedded | 589f55858b1f8b994347df3c0a2b2fcd4f9bd14e | [
"MIT"
] | null | null | null | linux/RPI/OutDoorMain_CCTV/LibraryModule-1.0-Source/docs/html/navtreeindex3.js | NGliese/Embedded | 589f55858b1f8b994347df3c0a2b2fcd4f9bd14e | [
"MIT"
] | null | null | null | linux/RPI/OutDoorMain_CCTV/LibraryModule-1.0-Source/docs/html/navtreeindex3.js | NGliese/Embedded | 589f55858b1f8b994347df3c0a2b2fcd4f9bd14e | [
"MIT"
] | null | null | null | var NAVTREEINDEX3 =
{
"d8/d80/_o_t_a__test_8cpp.html":[4,0,0,5,7,2,0,1],
"d8/d80/_o_t_a__test_8cpp.html#a3085222b43a39a8e78e586a3876d3673":[4,0,0,5,7,2,0,1,1],
"d8/d80/_o_t_a__test_8cpp.html#afcf3e21f617f13f523e409c043dedaab":[4,0,0,5,7,2,0,1,0],
"d8/d80/_o_t_a__test_8cpp_source.html":[4,0,0,5,7,2,0,1],
"d8/da0/_a_d_c_... | 82.602362 | 151 | 0.811687 |
5d23e6a65ffcccab8b1398a0f1b41100a6574be1 | 62 | js | JavaScript | src/utils/__mocks__/getDayOfYear.js | thoutamjagan/braid | b0d5744a4c202a632490a895ac340f317a037d4d | [
"MIT"
] | null | null | null | src/utils/__mocks__/getDayOfYear.js | thoutamjagan/braid | b0d5744a4c202a632490a895ac340f317a037d4d | [
"MIT"
] | null | null | null | src/utils/__mocks__/getDayOfYear.js | thoutamjagan/braid | b0d5744a4c202a632490a895ac340f317a037d4d | [
"MIT"
] | 1 | 2019-10-24T01:40:26.000Z | 2019-10-24T01:40:26.000Z | const getDayOfYear = () => 210;
export default getDayOfYear;
| 15.5 | 31 | 0.725806 |
5d257415fcf5e8408c785ea9e505fc0a59a7f3cb | 1,158 | js | JavaScript | server/index.js | apiorno/LudoGame | 9fc5082276a790d872528fb31b1ab02fc1eb8fd1 | [
"MIT"
] | null | null | null | server/index.js | apiorno/LudoGame | 9fc5082276a790d872528fb31b1ab02fc1eb8fd1 | [
"MIT"
] | null | null | null | server/index.js | apiorno/LudoGame | 9fc5082276a790d872528fb31b1ab02fc1eb8fd1 | [
"MIT"
] | null | null | null | var Stack= require('./stack').Stack
var app = require('express')();
var server = require('http').Server(app);
var io = require('socket.io')(server);
var players = [];
var colorsStack = new Stack();
colorsStack.push(0);
colorsStack.push(1);
colorsStack.push(2);
colorsStack.push(3);
server.listen(8080, function(){
con... | 26.930233 | 70 | 0.666667 |
5d25bf38e2101837eadadbc82f16d72de0b124c3 | 107 | js | JavaScript | app/modules/ranguei.js | leosilvadev/ranguei-web | 81ee5f7f85e7ed47b948ef5608ba845984b0c979 | [
"Apache-2.0"
] | null | null | null | app/modules/ranguei.js | leosilvadev/ranguei-web | 81ee5f7f85e7ed47b948ef5608ba845984b0c979 | [
"Apache-2.0"
] | null | null | null | app/modules/ranguei.js | leosilvadev/ranguei-web | 81ee5f7f85e7ed47b948ef5608ba845984b0c979 | [
"Apache-2.0"
] | null | null | null | (function(){
'use strict';
angular.module('ranguei', ['ranguei.guest', 'ranguei.facebook']);
})();
| 13.375 | 66 | 0.598131 |
5d260ffb5f7e65d784df7b42e68faf7482ecdded | 2,299 | js | JavaScript | experiments/reduceRight/reduceRightGen/test188.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | 2 | 2018-11-26T09:34:28.000Z | 2019-10-18T16:23:53.000Z | experiments/reduceRight/reduceRightGen/test188.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | null | null | null | experiments/reduceRight/reduceRightGen/test188.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | 1 | 2019-10-08T16:37:48.000Z | 2019-10-08T16:37:48.000Z |
var callbackArguments = [];
var argument1 = function callback(a,b,c,d) {
callbackArguments.push(JSON.stringify(arguments))
base_0[7] = 9.476996729349944e+307
base_0[6] = 1.6527534900073757e+308
return a-b*c+d
};
var argument2 = r_0;
var argument3 = {"49":"!]O","122":"ZPyCgLbm","":595,"1.7129553294043726e+308":"`... | 29.101266 | 235 | 0.662027 |
5d2620881202f6b19a7827a53feb6c3f589f28ed | 792 | js | JavaScript | node_modules/react-icons-kit/metrize/leaf.js | lananh265/social-network | 8f74dae5affe298671ebbc80991866dd2630f946 | [
"MIT"
] | 3 | 2020-11-28T12:19:12.000Z | 2021-06-01T20:15:41.000Z | node_modules/react-icons-kit/metrize/leaf.js | lananh265/social-network | 8f74dae5affe298671ebbc80991866dd2630f946 | [
"MIT"
] | 8 | 2021-03-09T19:53:42.000Z | 2022-02-26T18:45:12.000Z | node_modules/react-icons-kit/metrize/leaf.js | lananh265/social-network | 8f74dae5affe298671ebbc80991866dd2630f946 | [
"MIT"
] | 4 | 2020-04-16T08:55:16.000Z | 2021-01-15T17:53:02.000Z | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.leaf = void 0;
var leaf = {
"viewBox": "0 0 512 512",
"children": [{
"name": "path",
"attribs": {
"d": "M256,0C114.609,0,0,114.609,0,256s114.609,256,256,256s256-114.609,256-256S397.391,0,256,0z M256,472\r\n\tc-119.... | 34.434783 | 263 | 0.626263 |
5d2639696fdad32719c4309a716b9308cc273a03 | 2,181 | js | JavaScript | [2]. Demo_RN/[2]. view_component/index.ios.js | knightsj/RN_Demo | 71ec2824c678f9cec5c3d4add430f54e63bf0e0e | [
"MIT"
] | 1 | 2017-07-20T03:51:18.000Z | 2017-07-20T03:51:18.000Z | [2]. Demo_RN/[2]. view_component/index.ios.js | knightsj/RN_Demo | 71ec2824c678f9cec5c3d4add430f54e63bf0e0e | [
"MIT"
] | null | null | null | [2]. Demo_RN/[2]. view_component/index.ios.js | knightsj/RN_Demo | 71ec2824c678f9cec5c3d4add430f54e63bf0e0e | [
"MIT"
] | 1 | 2019-12-23T17:00:56.000Z | 2019-12-23T17:00:56.000Z | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
// PixelRatio,
} from 'react-native';
var app = React.createClass({
// render负责渲染视图 返回一个JSX对象,只能包含一个节点中
render: function () ... | 20.383178 | 74 | 0.530491 |
5d26671b4d354f89271c598b93dd61821173150e | 10,492 | js | JavaScript | spec/unit/setup-remote-methods.spec.js | ramanaveli2i/loopback-setup-remote-methods-mixin | 823d8e2a39799e1d753ba8b7a9b1ea7fc9af5489 | [
"MIT"
] | null | null | null | spec/unit/setup-remote-methods.spec.js | ramanaveli2i/loopback-setup-remote-methods-mixin | 823d8e2a39799e1d753ba8b7a9b1ea7fc9af5489 | [
"MIT"
] | null | null | null | spec/unit/setup-remote-methods.spec.js | ramanaveli2i/loopback-setup-remote-methods-mixin | 823d8e2a39799e1d753ba8b7a9b1ea7fc9af5489 | [
"MIT"
] | null | null | null | 'use strict';
const path = require('path');
const setupRemoteMethods = require('../../setup-remote-methods');
const employeeRemotes = require('./employee-remotes');
const mocks = require('./mocks');
describe('setupRemoteMethods', () => {
let MyModel, options;
beforeEach(() => {
MyModel = mocks.getModelMock()... | 39.149254 | 110 | 0.652497 |
5d268a3bffcda4393d4725bad0f1ddff8f2162e2 | 2,323 | js | JavaScript | public/components/angular-colorbox/js/angular-colorbox.min.js | vampyklauz/tothemenu | ea9b65fa3ac0617706db874c9cbf4ed5b6b74606 | [
"MIT"
] | 2 | 2019-11-29T01:22:28.000Z | 2019-11-29T01:22:30.000Z | public/theme/admin/requirejs/public/template/components/angular-colorbox/js/angular-colorbox.min.js | siriusSupreme/jyw | 89c48260ca73291aeea4b757b839df0df8862595 | [
"Apache-2.0"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | public/theme/admin/requirejs/public/template/components/angular-colorbox/js/angular-colorbox.min.js | siriusSupreme/jyw | 89c48260ca73291aeea4b757b839df0df8862595 | [
"Apache-2.0"
] | 2 | 2020-04-08T15:39:46.000Z | 2020-10-10T10:13:09.000Z | !function(){"use strict";function a(){function a(){return $.colorbox}function b(){$.colorbox.next()}function c(){$.colorbox.prev()}function d(){$.colorbox.close()}function e(){return $.colorbox.element()}function f(){$.colorbox.resize()}function g(){$.colorbox.remove()}function h(){var a=$("#cboxLoadedContent .cboxPhot... | 2,323 | 2,323 | 0.676711 |
5d26cdbc43ec0b4e424f382566bb7b44bc1168e4 | 102,148 | js | JavaScript | web/js/soqi/city.js | donhatquang/viettel | 63a32dde0e8b0bf25d92471d528eabfc2819b8e3 | [
"BSD-3-Clause"
] | null | null | null | web/js/soqi/city.js | donhatquang/viettel | 63a32dde0e8b0bf25d92471d528eabfc2819b8e3 | [
"BSD-3-Clause"
] | null | null | null | web/js/soqi/city.js | donhatquang/viettel | 63a32dde0e8b0bf25d92471d528eabfc2819b8e3 | [
"BSD-3-Clause"
] | null | null | null | function City(cid, cpid, cname) {
this.id = cid;
this.pid = cpid;
this.name = cname;
}
var province = [
new City(440000,100000,"广东省"),
new City(320000,100000,"江苏省"),
new City(330000,100000,"浙江省"),
new City(310000,100000,"上海市"),
new City(110000,100000,"北京市"),
new City(350000,100000,"福建省"),
new City(370000,10... | 31.048024 | 37 | 0.709343 |
5d27c51c6945b33eff2536b39475c229c3cb130a | 2,102 | js | JavaScript | node_modules/pipedrive/examples/live-updates.js | ruadois/cantu-integrador | 301249a672078f2496f4b7d1d30cd8d7aa8eb95d | [
"MIT"
] | null | null | null | node_modules/pipedrive/examples/live-updates.js | ruadois/cantu-integrador | 301249a672078f2496f4b7d1d30cd8d7aa8eb95d | [
"MIT"
] | null | null | null | node_modules/pipedrive/examples/live-updates.js | ruadois/cantu-integrador | 301249a672078f2496f4b7d1d30cd8d7aa8eb95d | [
"MIT"
] | 1 | 2019-03-21T13:52:43.000Z | 2019-03-21T13:52:43.000Z | /*!
* This basic example shows how to use live,
* EventEmitter-like listener functions bound to
* actual events happening on your Pipedrive account.
*
* It starts by attaching a function to all
* 'deal.added' events happening on Pipedrive.
* The syntax for event names is the following:
* '{objectName}.{eventNam... | 35.033333 | 146 | 0.708373 |
5d2899e5ffb56bca7e923100a6b974304156366c | 525 | js | JavaScript | lib/api/OCAPI/OCAPIResponse.js | taurgis/sfccdx | 09246cf341340e77d992b2583dfe17cc4140ec90 | [
"BSD-3-Clause"
] | 2 | 2021-11-08T15:52:51.000Z | 2021-11-08T20:03:38.000Z | lib/api/OCAPI/OCAPIResponse.js | taurgis/sfccdx | 09246cf341340e77d992b2583dfe17cc4140ec90 | [
"BSD-3-Clause"
] | null | null | null | lib/api/OCAPI/OCAPIResponse.js | taurgis/sfccdx | 09246cf341340e77d992b2583dfe17cc4140ec90 | [
"BSD-3-Clause"
] | null | null | null | class OCAPIResponse {
constructor(response) {
if (!response) {
throw new Error('Response is empty.');
}
this.status = response.status;
this.data = response.data;
}
isSuccess() {
return this.status <= 204;
}
getFaultMessage() {
if (this.s... | 21 | 91 | 0.552381 |
5d29d763c41e90441767a833599d2766363282ee | 891 | js | JavaScript | src/restqapi/lib/api/index.js | tony-go/restqapi | b2216142c63cf3cf1a6fa3c37a2670b0fbef7673 | [
"Apache-2.0"
] | 1 | 2021-09-13T10:39:10.000Z | 2021-09-13T10:39:10.000Z | src/restqapi/lib/api/index.js | tony-go/restqapi | b2216142c63cf3cf1a6fa3c37a2670b0fbef7673 | [
"Apache-2.0"
] | null | null | null | src/restqapi/lib/api/index.js | tony-go/restqapi | b2216142c63cf3cf1a6fa3c37a2670b0fbef7673 | [
"Apache-2.0"
] | null | null | null | const got = require('got')
const Request = require('./request')
const Response = require('./response')
module.exports = function (options) {
const { config } = options
let error
const run = async function () {
try {
const options = this.request.getOptions()
// console.log(options)
const res... | 23.447368 | 61 | 0.569024 |
5d2a8c7546aa7f6876bc78d17cdf0e9cd359539e | 603 | js | JavaScript | server/routes/cache-module.js | MishkaZi/vacations | 1ed2b2a077dc9e856657f76fcc46412ec142ee4f | [
"MIT"
] | null | null | null | server/routes/cache-module.js | MishkaZi/vacations | 1ed2b2a077dc9e856657f76fcc46412ec142ee4f | [
"MIT"
] | null | null | null | server/routes/cache-module.js | MishkaZi/vacations | 1ed2b2a077dc9e856657f76fcc46412ec142ee4f | [
"MIT"
] | null | null | null | const dataMap = new Map();
const get = (key) => {
return dataMap.get(key);
};
const set = (key, value) => {
dataMap.set(key, value);
};
// This function should be in a separate module, because many resources will use it
const extractUserDataFromCache = (request) => {
let authorizationString = request... | 25.125 | 84 | 0.674959 |
5d2b11b75c635e0b597941e36c18e7f8394d15da | 6,295 | js | JavaScript | webserver/static/js/demo_11_232.js | shixingfeng/three_js_with_coffeescript | 6a533263bbc5cad6f6b98e85c7737b61f0e8087b | [
"MIT"
] | null | null | null | webserver/static/js/demo_11_232.js | shixingfeng/three_js_with_coffeescript | 6a533263bbc5cad6f6b98e85c7737b61f0e8087b | [
"MIT"
] | null | null | null | webserver/static/js/demo_11_232.js | shixingfeng/three_js_with_coffeescript | 6a533263bbc5cad6f6b98e85c7737b61f0e8087b | [
"MIT"
] | null | null | null | // Generated by CoffeeScript 2.3.1
(function() {
var camera, init, mesh, onResize, renderer, scene;
console.log("demo_11.232 Shader Pass simple-blur");
camera = null;
scene = null;
renderer = null;
mesh = null;
init = function() {
var composer, controls, cube, dirLight, effectCopy, gui, hBlur, h... | 34.779006 | 215 | 0.643685 |
5d2b54dd58466becbd26bcca97c2296b1b72ff06 | 25,501 | js | JavaScript | ArchRefClient/ArchRefClient/node_modules/primeng/dist/51.bb5e5f5ac9ddacb91e74.chunk.js | kaulart/archref | fb1410a45e5bb71f6a9f06c992ecae7cdcb93b5f | [
"Apache-2.0"
] | null | null | null | ArchRefClient/ArchRefClient/node_modules/primeng/dist/51.bb5e5f5ac9ddacb91e74.chunk.js | kaulart/archref | fb1410a45e5bb71f6a9f06c992ecae7cdcb93b5f | [
"Apache-2.0"
] | null | null | null | ArchRefClient/ArchRefClient/node_modules/primeng/dist/51.bb5e5f5ac9ddacb91e74.chunk.js | kaulart/archref | fb1410a45e5bb71f6a9f06c992ecae7cdcb93b5f | [
"Apache-2.0"
] | null | null | null | webpackJsonp([51],{662:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,a=arguments.length,l=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,i);else for(var r=e.length-1;r>=0;r--)(o=e[r])&&... | 25,501 | 25,501 | 0.684012 |
5d2c263727d5d92a89e3bd8e3b9a3d3197824d9b | 339 | js | JavaScript | client/http.js | chingu-voyage7/Bears-Team-22 | 1e965928de800ae8d84741e7cf3076ce552f3359 | [
"MIT"
] | 1 | 2018-12-03T17:30:39.000Z | 2018-12-03T17:30:39.000Z | client/http.js | chingu-voyage7/Bears-Team-22 | 1e965928de800ae8d84741e7cf3076ce552f3359 | [
"MIT"
] | 24 | 2018-11-28T12:18:58.000Z | 2019-02-05T16:24:34.000Z | client/http.js | chingu-voyage7/Bears-Team-22 | 1e965928de800ae8d84741e7cf3076ce552f3359 | [
"MIT"
] | 8 | 2018-11-27T17:37:53.000Z | 2019-01-29T00:52:31.000Z | import getConfig from "next/config";
const {publicRuntimeConfig} = getConfig();
const {apiUrl} = publicRuntimeConfig;
const requestUrl = path => new URL(path, apiUrl);
export const get = (path, opts = {}) => fetch(requestUrl(path), opts);
export const post = (path, opts = {}) => fetch(requestUrl(path), {
method: "P... | 26.076923 | 70 | 0.672566 |
5d2d11ee856609ee835d6013425c687ebfc329f6 | 296 | js | JavaScript | app/scripts/controllers/contactCtrl.js | gruan/NOBEIllinois-Website | e6fbd3d80a499102b9a25c155f04eb754be68e93 | [
"MIT"
] | null | null | null | app/scripts/controllers/contactCtrl.js | gruan/NOBEIllinois-Website | e6fbd3d80a499102b9a25c155f04eb754be68e93 | [
"MIT"
] | null | null | null | app/scripts/controllers/contactCtrl.js | gruan/NOBEIllinois-Website | e6fbd3d80a499102b9a25c155f04eb754be68e93 | [
"MIT"
] | null | null | null | /**
* Created by George Ruan on June 28, 2016.
*
* ContactCtrl defines the behavior of the Contact Page.
*/
(function() {
'use strict';
angular.module('nobe')
.controller('ContactCtrl', contactCtrl);
contactCtrl.$inject = ['$scope'];
function contactCtrl($scope) {
}
})();
| 15.578947 | 56 | 0.635135 |
5d2e08d50eb0443b406704340109bfa9e238e35c | 12,082 | js | JavaScript | src/extend/dam/dam.js | AngusLean/ychart | ebe98198a7ec4db470cbaca1ac5d1a902e28da72 | [
"MIT"
] | null | null | null | src/extend/dam/dam.js | AngusLean/ychart | ebe98198a7ec4db470cbaca1ac5d1a902e28da72 | [
"MIT"
] | null | null | null | src/extend/dam/dam.js | AngusLean/ychart | ebe98198a7ec4db470cbaca1ac5d1a902e28da72 | [
"MIT"
] | null | null | null | define(function(require) {
"use strict";
var util = require("../../tool/util");
var textutil = require("../../core/graphic/helper/text");
var dammd = require("./dam_md");
var Group = require("../../Group");
var Rect = require(".././Rect");
var Line = require(".././Line");
var YText = r... | 36.391566 | 139 | 0.410859 |
5d2e15272a6a5144b86a4488f7638e4264dd1ae0 | 1,106 | js | JavaScript | src/store/Actions/auth.js | luizhrs/testingdash | 21d958765f6e4245d9edc6977f32cff3c183d014 | [
"MIT"
] | null | null | null | src/store/Actions/auth.js | luizhrs/testingdash | 21d958765f6e4245d9edc6977f32cff3c183d014 | [
"MIT"
] | null | null | null | src/store/Actions/auth.js | luizhrs/testingdash | 21d958765f6e4245d9edc6977f32cff3c183d014 | [
"MIT"
] | null | null | null | import * as actionTypes from './actionTypes'
import axios from 'axios'
export const authStart = () => {
console.log('authStart')
return {
type: actionTypes.AUTH_START
}
}
export const authSuccess = (authData) => {
return {
type: actionTypes.AUTH_SUCCESS,
authData: authData
... | 25.136364 | 149 | 0.564195 |
5d2fae22d7b3d7fd34836669341c4cde70576829 | 2,055 | js | JavaScript | src/common/responseType.js | madawei2699/github-readme-stats | 44c6fc5373fcdda2856d3b2144e7f99c55b68160 | [
"MIT"
] | null | null | null | src/common/responseType.js | madawei2699/github-readme-stats | 44c6fc5373fcdda2856d3b2144e7f99c55b68160 | [
"MIT"
] | 1 | 2021-01-30T03:24:14.000Z | 2021-01-30T03:24:14.000Z | src/common/responseType.js | madawei2699/github-readme-stats | 44c6fc5373fcdda2856d3b2144e7f99c55b68160 | [
"MIT"
] | null | null | null | const { safeDump } = require("js-yaml");
const { Builder } = require("xml2js");
const { renderError } = require("./utils");
/**
* @param {String} [response_type = svg] The response type.
* @param {String} [response_type = githubReadmeStats] A callback for jsonp.
* @param {Function} renderCard A function to render t... | 34.25 | 90 | 0.60146 |
5d3003e655a9806284a87164ae8a60593322bbec | 196 | js | JavaScript | src/services/furniture.js | chuyinweilai/antd-pro-simple | 6d3b42a26de9ee9146f9205948d0c4bc19cfe3e1 | [
"MIT"
] | 1 | 2021-12-27T01:34:49.000Z | 2021-12-27T01:34:49.000Z | src/services/furniture.js | chuyinweilai/antd-pro-simple | 6d3b42a26de9ee9146f9205948d0c4bc19cfe3e1 | [
"MIT"
] | null | null | null | src/services/furniture.js | chuyinweilai/antd-pro-simple | 6d3b42a26de9ee9146f9205948d0c4bc19cfe3e1 | [
"MIT"
] | null | null | null | import { stringify } from 'qs';
import { requestGet, requestPost } from '@/utils/request';
export async function furnitures(params) {
return await requestGet('/api/equity/furnitures', params)
} | 32.666667 | 59 | 0.739796 |
5d30374e19ab1d61ffad54889e86760f228fdab2 | 10,327 | js | JavaScript | unpackage/dist/dev/app-plus/pages/extend-view/mall-extend/my/my.js | Lyn4ever29/littleFishH5 | 93006dd7d3b9d656ada7acb1fcf4ac3b5df87ee6 | [
"MIT"
] | 2 | 2020-01-16T12:16:02.000Z | 2020-01-16T12:16:06.000Z | unpackage/dist/dev/app-plus/pages/extend-view/mall-extend/my/my.js | Lyn4ever29/littleFishH5 | 93006dd7d3b9d656ada7acb1fcf4ac3b5df87ee6 | [
"MIT"
] | null | null | null | unpackage/dist/dev/app-plus/pages/extend-view/mall-extend/my/my.js | Lyn4ever29/littleFishH5 | 93006dd7d3b9d656ada7acb1fcf4ac3b5df87ee6 | [
"MIT"
] | null | null | null | setCssToHead([".",[1],"tui-header-box { width: 100%; position: fixed; left: 0; top: 0; z-index: 9998; }\n.",[1],"tui-header { width: 100%; font-size: 18px; line-height: 18px; font-weight: 500; height: 32px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -web... | 5,163.5 | 10,183 | 0.659436 |
5d30ccef1e697ef8d9af6e8831aeedef0c0ade78 | 2,834 | js | JavaScript | script.js | ItangSanjana/wskmc | 454ee3c1280177043b3de1be3a2156c792147cf4 | [
"Apache-2.0"
] | null | null | null | script.js | ItangSanjana/wskmc | 454ee3c1280177043b3de1be3a2156c792147cf4 | [
"Apache-2.0"
] | 1 | 2019-11-06T05:53:50.000Z | 2019-11-06T12:01:35.000Z | script.js | ItangSanjana/wskmc | 454ee3c1280177043b3de1be3a2156c792147cf4 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2013 Itang Sanjana
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | 32.574713 | 98 | 0.666549 |
5d31e49f2413debf53d6badf7cd41358eed26e32 | 1,851 | js | JavaScript | gui/components/MidwareOverview.js | ryanfowlkes/ExpressiveJS | 3b1e97eee852c6507832c4dc8c2d86e80ab4c71b | [
"MIT"
] | 5 | 2017-05-01T19:15:48.000Z | 2017-05-27T00:02:11.000Z | gui/components/MidwareOverview.js | ryanfowlkes/ExpressiveJS | 3b1e97eee852c6507832c4dc8c2d86e80ab4c71b | [
"MIT"
] | null | null | null | gui/components/MidwareOverview.js | ryanfowlkes/ExpressiveJS | 3b1e97eee852c6507832c4dc8c2d86e80ab4c71b | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import PropTypes from 'prop-types';
function MidwareOverview(props) {
let overview = props.overview;
let classString = 'MidwareOverview';
const routeId = overview.method + ' ' + overview.originalUrl;
const midwareId = overview.prevFuncName;
const status = overview.s... | 37.77551 | 131 | 0.690438 |
5d326c7f494966664568db10994170605a88e9ca | 1,540 | js | JavaScript | src/text/text.js | GlobeletJS/tile-labeler | 3c5d81be86ffceb1d4a4543e68be4c58d62c21e5 | [
"MIT"
] | 2 | 2021-03-26T17:37:27.000Z | 2021-07-02T17:21:45.000Z | src/text/text.js | GlobeletJS/tile-labeler | 3c5d81be86ffceb1d4a4543e68be4c58d62c21e5 | [
"MIT"
] | null | null | null | src/text/text.js | GlobeletJS/tile-labeler | 3c5d81be86ffceb1d4a4543e68be4c58d62c21e5 | [
"MIT"
] | null | null | null | import { initStyleGetters } from "../style.js";
import { layout } from "./layout.js";
export function initText(style) {
const getStyles = initStyleGetters(textKeys, style);
return function(feature, tileCoords, atlas) {
const glyphs = getGlyphs(feature, atlas);
if (!glyphs || !glyphs.length) return;
c... | 26.101695 | 72 | 0.620779 |
5d32800689d058c9f7a7d6d9e9fa1f92b9c27756 | 1,313 | js | JavaScript | src/components/viewBook.js | gleekzorp/api-react-book-list | 037d65b24b6817051e3dd6e8e28f019697d5a5e5 | [
"MIT"
] | null | null | null | src/components/viewBook.js | gleekzorp/api-react-book-list | 037d65b24b6817051e3dd6e8e28f019697d5a5e5 | [
"MIT"
] | 3 | 2021-03-09T04:22:32.000Z | 2022-02-26T11:00:54.000Z | src/components/viewBook.js | gleekzorp/api-react-book-list | 037d65b24b6817051e3dd6e8e28f019697d5a5e5 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import DeleteAction from './deleteAction';
import UpdateBook from './updateBook';
export default class ViewBook extends Component {
constructor(props) {
super(props)
this.state = {
singleBook: []
}
}
componentDidMount() {
... | 29.177778 | 72 | 0.5377 |
5d32a72e4e676858e3af675e09c75b59b46de3c2 | 668 | js | JavaScript | packages/custom/tabulator/public/services/tabulator.js | anshumanborkakoti/tabulator | ca552e25d6549156b4f485eac9f5b2cebf6dd8f1 | [
"MIT"
] | null | null | null | packages/custom/tabulator/public/services/tabulator.js | anshumanborkakoti/tabulator | ca552e25d6549156b4f485eac9f5b2cebf6dd8f1 | [
"MIT"
] | null | null | null | packages/custom/tabulator/public/services/tabulator.js | anshumanborkakoti/tabulator | ca552e25d6549156b4f485eac9f5b2cebf6dd8f1 | [
"MIT"
] | null | null | null | (function() {
'use strict';
function Tabulator($http, $q) {
return {
name: 'tabulator',
checkCircle: function(circle) {
var deferred = $q.defer();
$http.get('/api/tabulator/example/' + circle).success(function(response) {
defe... | 23.857143 | 90 | 0.468563 |
5d332d4c43786edc3473ad3c69fc816620514a47 | 4,829 | js | JavaScript | server/lib/util.js | savethefails/weevee | 45a14be5e2cd40cede0acc6adc65573ccdd8c1cd | [
"MIT"
] | null | null | null | server/lib/util.js | savethefails/weevee | 45a14be5e2cd40cede0acc6adc65573ccdd8c1cd | [
"MIT"
] | null | null | null | server/lib/util.js | savethefails/weevee | 45a14be5e2cd40cede0acc6adc65573ccdd8c1cd | [
"MIT"
] | null | null | null |
// * Creates a callback that proxies node callback style arguments to an Express Response object.
// * @param {express.Response} res Express HTTP Response
// * @param {number} [status=200] Status code to send on success
// *
// * @example
// * list(req, res) {
// * collection.find({}, toRes(res));
// * }
... | 28.573964 | 125 | 0.643197 |
5d33d9c5020870dec629261f38f85daabaec932b | 133,003 | js | JavaScript | src/lib/react-dom.min.js | AYCHKnow/CertTrainer | dedb2c98dd2cb2ab1ae2868e9b7d80d1d193dc4f | [
"MIT"
] | 16 | 2017-11-15T09:18:24.000Z | 2022-01-09T19:05:18.000Z | src/lib/react-dom.min.js | DigitalFlow/Open-Certification-Trainer | dedb2c98dd2cb2ab1ae2868e9b7d80d1d193dc4f | [
"MIT"
] | 17 | 2017-11-15T09:18:20.000Z | 2022-03-06T04:59:14.000Z | src/lib/react-dom.min.js | AYCHKnow/CertTrainer | dedb2c98dd2cb2ab1ae2868e9b7d80d1d193dc4f | [
"MIT"
] | 2 | 2018-08-28T13:53:17.000Z | 2020-08-11T03:48:49.000Z | /**
* ReactDOM v15.6.2
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
!function(e){ if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e(require("react"));else i... | 9,500.214286 | 32,792 | 0.715886 |
5d34222b7db363b59270d02a9667512c350b6788 | 1,547 | js | JavaScript | server/node_modules/node-model.js/example.js | arghasarkar/hackupc | 8e8bdea1a7dc803dcdb207c42c6bf7cfa5bb0ee0 | [
"MIT"
] | null | null | null | server/node_modules/node-model.js/example.js | arghasarkar/hackupc | 8e8bdea1a7dc803dcdb207c42c6bf7cfa5bb0ee0 | [
"MIT"
] | null | null | null | server/node_modules/node-model.js/example.js | arghasarkar/hackupc | 8e8bdea1a7dc803dcdb207c42c6bf7cfa5bb0ee0 | [
"MIT"
] | null | null | null | var model = require('./model.js'),
mysql = require('mysql');
// Define the models
var Blog = model('blogs', ['title', 'body']);
var Comment = model('comments', ['blog_id', 'name', 'message']);
model.oneToMany(Blog, Comment, 'blog', 'comments');
// Connect to the MySQL database
var db = mysql.createConnection({
... | 21.486111 | 101 | 0.63607 |
5d3492e0579886b47477b7b3bf45a6a00c011258 | 1,624 | js | JavaScript | seeds/seed.js | clabel95/Project-2 | ccc35dd8717bb3be5e7667781afaf230b3a016d3 | [
"MIT"
] | 3 | 2022-02-11T15:15:48.000Z | 2022-02-17T02:16:44.000Z | seeds/seed.js | clabel95/Project-2 | ccc35dd8717bb3be5e7667781afaf230b3a016d3 | [
"MIT"
] | 2 | 2022-02-11T16:52:02.000Z | 2022-02-15T18:26:36.000Z | seeds/seed.js | clabel95/Project-2 | ccc35dd8717bb3be5e7667781afaf230b3a016d3 | [
"MIT"
] | 1 | 2022-03-21T11:16:55.000Z | 2022-03-21T11:16:55.000Z | const sequelize = require('../config/connection');
const { Recipes, Ingredients, Saved_recipes, User, User_recipes } = require('../models');
const users_seed_data = require('./usersSeedData.json');
const recipe_seed_data = require('./recipeSeedData.json');
const USERrecipe_seed_data = require('./userRecipesData.json')... | 38.666667 | 129 | 0.641626 |
5d356e1a1272c14496490f6db5b29c611347466e | 3,027 | js | JavaScript | src/reducers/questions.js | pvmathew/spaced-repetition-system | 1382b07ebd674f586938f0a514230b137d02942e | [
"MIT"
] | null | null | null | src/reducers/questions.js | pvmathew/spaced-repetition-system | 1382b07ebd674f586938f0a514230b137d02942e | [
"MIT"
] | null | null | null | src/reducers/questions.js | pvmathew/spaced-repetition-system | 1382b07ebd674f586938f0a514230b137d02942e | [
"MIT"
] | null | null | null | import {
GRADUATE_QUESTION,
GRADUATE_QUESTION_CAUTIOUSLY,
INCREASE_GRADUATED_INTERVAL,
INCREMENT_NUM_CORRECT,
INCREMENT_NUM_WRONG,
LEVEL_UP_QUESTION,
RESET_QUESTION_LEVEL,
SET_QUESTIONS,
} from '../constants';
const initialState = { questions: [], numCorrect: 0, numWrong: 0 };
export default function ... | 29.970297 | 131 | 0.548728 |
5d357fa345c6513e04793ef4acd815d8270fd736 | 608 | js | JavaScript | src/utils.js | cfenzo/html-json | 3722bd318b482d2563c07f7303991e571a04c7d5 | [
"MIT"
] | null | null | null | src/utils.js | cfenzo/html-json | 3722bd318b482d2563c07f7303991e571a04c7d5 | [
"MIT"
] | null | null | null | src/utils.js | cfenzo/html-json | 3722bd318b482d2563c07f7303991e571a04c7d5 | [
"MIT"
] | null | null | null | export const filterNoUndefined = item => item !== undefined;
export const htmlSafeProps = props =>
Object.keys(props).reduce(
(obj, key) => ({ ...obj, [key]: props[key] === true ? key : props[key] }),
{}
);
export const removeLineBreaks = str => str.replace(/\s*(\r\n|\n|\r)\s*/gm, ""); // remove linebreaks ... | 28.952381 | 138 | 0.600329 |
5d36d182353df00018602a55b501b7ac9b448988 | 315 | js | JavaScript | src/components/Contexts/data.js | Jaysuthar67/Issue-Project-Tracker | 5cb168c87d535fed771c1b778b244a298a44bd82 | [
"MIT"
] | null | null | null | src/components/Contexts/data.js | Jaysuthar67/Issue-Project-Tracker | 5cb168c87d535fed771c1b778b244a298a44bd82 | [
"MIT"
] | null | null | null | src/components/Contexts/data.js | Jaysuthar67/Issue-Project-Tracker | 5cb168c87d535fed771c1b778b244a298a44bd82 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2021. All Rights Reserved
* Created by Jay Suthar on 10/6/2021
*/
import React from "react";
const DataContext = React.createContext(null);
const DataProvider = DataContext.Provider;
const DataConsumer = DataContext.Consumer;
export {DataProvider, DataConsumer};
export default DataContext;
| 26.25 | 46 | 0.768254 |
5d37864ac6276f31c783b1fcff4446a4c7269251 | 337 | js | JavaScript | frontend/node_modules/.pnpm/@rsuite+icons@1.0.2_react-dom@17.0.2+react@17.0.2/node_modules/@rsuite/icons/es/icons/ExpiredRound.js | koenw/fullstack-hello | 6a2317b7e6ace4b97134e7cc2bb5b1159b556d78 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-11-26T00:46:16.000Z | 2021-11-27T06:55:57.000Z | frontend/node_modules/.pnpm/@rsuite+icons@1.0.2_react-dom@17.0.2+react@17.0.2/node_modules/@rsuite/icons/es/icons/ExpiredRound.js | koenw/fullstack-hello | 6a2317b7e6ace4b97134e7cc2bb5b1159b556d78 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-01-18T13:54:05.000Z | 2022-03-24T01:18:30.000Z | frontend/node_modules/.pnpm/@rsuite+icons@1.0.2_react-dom@17.0.2+react@17.0.2/node_modules/@rsuite/icons/es/icons/ExpiredRound.js | koenw/fullstack-hello | 6a2317b7e6ace4b97134e7cc2bb5b1159b556d78 | [
"Apache-2.0",
"MIT"
] | null | null | null | // Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import ExpiredRoundSvg from '@rsuite/icon-font/lib/status/ExpiredRound';
var ExpiredRound = createSvgIcon({
as: ExpiredRoundSvg,
ariaLabel: 'expired round',
category: 'status',
displayName: 'ExpiredRound'
});
export defa... | 33.7 | 72 | 0.762611 |
5d38b757b33290392a4f84a47e2317710465569a | 3,123 | js | JavaScript | src/frontend/src/Views/SignIn/actions.js | st-tu-dresden/fridolean | b24aafdfc8cb41358cf9a21eaebc8a3a0cd461bf | [
"MIT"
] | 3 | 2019-02-27T06:12:58.000Z | 2021-08-24T04:30:32.000Z | src/frontend/src/Views/SignIn/actions.js | st-tu-dresden/fridolean | b24aafdfc8cb41358cf9a21eaebc8a3a0cd461bf | [
"MIT"
] | null | null | null | src/frontend/src/Views/SignIn/actions.js | st-tu-dresden/fridolean | b24aafdfc8cb41358cf9a21eaebc8a3a0cd461bf | [
"MIT"
] | 5 | 2019-05-08T16:03:16.000Z | 2021-11-19T07:51:19.000Z | import { push } from 'react-router-redux';
import Auth from '../../modules/Auth';
import {fetchAPI} from '../../api';
import {
CHANGE_SIGNIN_INPUT,
SIGNIN_START,
SIGNIN_ERROR,
SIGNIN_SUCCESS
} from './constants';
import {
ADD_CURRENT_USER_INFORMATION
} from '../../modules/user/constants';
/... | 26.243697 | 97 | 0.542747 |
5d39e4b092dc7f2a921e43e033fd0625f647c418 | 9,823 | js | JavaScript | web/ratsoft/informes/ventas-por-fecha.js | ProyectoRATSoft/RATSoft | a9104a5bfdc170085529a1b01d8a3473209448dd | [
"MIT"
] | null | null | null | web/ratsoft/informes/ventas-por-fecha.js | ProyectoRATSoft/RATSoft | a9104a5bfdc170085529a1b01d8a3473209448dd | [
"MIT"
] | null | null | null | web/ratsoft/informes/ventas-por-fecha.js | ProyectoRATSoft/RATSoft | a9104a5bfdc170085529a1b01d8a3473209448dd | [
"MIT"
] | null | null | null | // Con esto bloqueamos la pantalla cuando inicia alguna accion ajax..
$(document).ajaxStart(function() {
$.blockUI({
css: {
border: 'none',
padding: '15px',
backgroundColor: '#000',
'-webkit-border-radius': '10px',
'-moz-border-radius': '10px',
opacity: .5,
... | 38.371094 | 225 | 0.408938 |
5d39ed495497d4a59d10e07798011999e58b34ca | 233 | js | JavaScript | src/services/githubService.js | harps116/vue-github-activity-calendar | ae00459d03e1dfe20fac5d93f6f35c16e5b9294d | [
"MIT"
] | 2 | 2019-04-07T11:29:24.000Z | 2019-10-15T01:35:01.000Z | src/services/githubService.js | harps116/vue-github-activity-calendar | ae00459d03e1dfe20fac5d93f6f35c16e5b9294d | [
"MIT"
] | 143 | 2021-02-18T16:36:25.000Z | 2022-03-22T20:21:37.000Z | src/services/githubService.js | harps116/vue-github-activity-calendar | ae00459d03e1dfe20fac5d93f6f35c16e5b9294d | [
"MIT"
] | null | null | null | const baseURL = 'https://api.github.com/users/';
export default {
user: (username) => {
return fetch(`${baseURL}${username}`)
},
events: (username) => {
return fetch(`${baseURL}${username}/events`)
}
} | 25.888889 | 52 | 0.562232 |
5d3a3833956d4ba6d5f55fe8edab1b7948835cfc | 2,846 | js | JavaScript | app/Editor/dnd/dragTarget.js | Bitaru/react-pai | ca83a73d7b496e29032d5549fd19e09ee2fdb3cc | [
"MIT"
] | 4 | 2016-06-26T14:30:23.000Z | 2016-06-27T06:29:40.000Z | app/Editor/dnd/dragTarget.js | Bitaru/react-pai | ca83a73d7b496e29032d5549fd19e09ee2fdb3cc | [
"MIT"
] | null | null | null | app/Editor/dnd/dragTarget.js | Bitaru/react-pai | ca83a73d7b496e29032d5549fd19e09ee2fdb3cc | [
"MIT"
] | null | null | null | import { getPosition, isNested } from './helpers';
export const template = {
drop(props, monitor) {
if (!monitor.isOver()) return;
const item = monitor.getItem();
if (!props.organisms.size) {
props.add(0, item.props);
} else {
props.move(item.index, props.organisms.size - 1);
}
re... | 25.185841 | 82 | 0.611033 |
5d3b6419f27ecb725455d41ddaccac0c33657860 | 494 | js | JavaScript | mysite/poorslaves/static/poorslaves/enable-disable.js | andyil/nemala | 433b53dbe96e3f8e0b26f09ad45adcd86ac08b6d | [
"MIT"
] | null | null | null | mysite/poorslaves/static/poorslaves/enable-disable.js | andyil/nemala | 433b53dbe96e3f8e0b26f09ad45adcd86ac08b6d | [
"MIT"
] | null | null | null | mysite/poorslaves/static/poorslaves/enable-disable.js | andyil/nemala | 433b53dbe96e3f8e0b26f09ad45adcd86ac08b6d | [
"MIT"
] | null | null | null | $(function()
{
$(".accept").click(function(e){
var t = $(e.target);
var id = t.attr('data-id');
var checked = t.is(":checked");
console.log(id+" "+checked);
t.hide();
console.log('dis');
$.ajax("accept-reject", {
type: 'post',
... | 26 | 46 | 0.384615 |
5d3cb8fb5e45cffd4fccf7080f5fe68760d419f6 | 11,942 | js | JavaScript | react_openlayers/src/components/map/WaterStorageLegend.js | Terrestrial-Water-Storage-Assessment/TWSA-Web-Application | 122a81a32bfa53320297786a0ac0075387755d13 | [
"MIT"
] | 1 | 2021-03-16T19:03:50.000Z | 2021-03-16T19:03:50.000Z | react_openlayers/src/components/map/WaterStorageLegend.js | Terrestrial-Water-Storage-Assessment/TWSA-Web-Application | 122a81a32bfa53320297786a0ac0075387755d13 | [
"MIT"
] | null | null | null | react_openlayers/src/components/map/WaterStorageLegend.js | Terrestrial-Water-Storage-Assessment/TWSA-Web-Application | 122a81a32bfa53320297786a0ac0075387755d13 | [
"MIT"
] | null | null | null | import React from 'react';
import * as d3 from 'd3';
const style = {
position: 'absolute',
bottom: '54px',
left: '20px',
};
class WaterStorageLegend extends React.Component {
constructor(props) {
super(props);
this.cmweLegend = this.cmweLegend.bind(this);
this.precipitationLeg... | 28.231678 | 71 | 0.439709 |
5d3d1c22b84e42c6dcd61be920ab1098f1049aac | 3,078 | js | JavaScript | test/modules/storage/document_update.js | Devgent/meteor-astronomy | 5dfdc3c22704e822c9c07cf0e5aa7b6c218a4e0a | [
"MIT"
] | 2 | 2021-09-12T04:16:33.000Z | 2021-09-12T04:20:24.000Z | test/modules/storage/document_update.js | Devgent/meteor-astronomy | 5dfdc3c22704e822c9c07cf0e5aa7b6c218a4e0a | [
"MIT"
] | null | null | null | test/modules/storage/document_update.js | Devgent/meteor-astronomy | 5dfdc3c22704e822c9c07cf0e5aa7b6c218a4e0a | [
"MIT"
] | 1 | 2021-09-12T06:25:23.000Z | 2021-09-12T06:25:23.000Z | import { Class } from 'meteor/jagi:astronomy';
import { MongoInternals } from 'meteor/mongo';
import { Promise } from 'meteor/promise';
Tinytest.add('Modules - Storage - Document update', function(test) {
const Storage = Class.get('Storage');
const id = '6tMS79Kx6WhqTEwaC';
const storage = Storage.findOne(id);
... | 32.0625 | 105 | 0.654646 |
5d3d2db04847a7512a0e46413c71e6190973ede3 | 1,018 | js | JavaScript | Slider.js | fis-components/vue-strap | 0cddebf6e417adc45c1ed2dbd51573e34c45c3cb | [
"MIT"
] | 1 | 2016-09-11T03:19:04.000Z | 2016-09-11T03:19:04.000Z | Slider.js | fis-components/vue-strap | 0cddebf6e417adc45c1ed2dbd51573e34c45c3cb | [
"MIT"
] | null | null | null | Slider.js | fis-components/vue-strap | 0cddebf6e417adc45c1ed2dbd51573e34c45c3cb | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray');
var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: o... | 28.277778 | 148 | 0.666012 |
5d3d5ce5f8303b65860b32f13b19e3e20f1f6369 | 54 | js | JavaScript | plugins/plugin-mocha/src/reporters/base.js | jspears/mrbuilder | ea6c9bf276258d4f7b22c8dba77683f89330e6ee | [
"MIT"
] | 8 | 2018-05-25T01:05:26.000Z | 2021-04-26T00:38:42.000Z | plugins/plugin-mocha/src/reporters/base.js | jspears/mrbuilder | ea6c9bf276258d4f7b22c8dba77683f89330e6ee | [
"MIT"
] | 7 | 2021-09-08T17:40:30.000Z | 2022-02-27T17:52:16.000Z | plugins/plugin-mocha/src/reporters/base.js | jspears/mrbuilder | ea6c9bf276258d4f7b22c8dba77683f89330e6ee | [
"MIT"
] | 4 | 2018-02-13T03:31:57.000Z | 2019-12-12T09:04:36.000Z | module.exports = require('mocha/lib/reporters/base');
| 27 | 53 | 0.759259 |
5d3daf1342e59ff33b7c2311138e9cfacf31e8d3 | 186,008 | js | JavaScript | tests/dummy/app/models/people.js | BobrImperator/virtual-each | ce8fc7162093742580f9a42e4d7bb63f7ea54e35 | [
"MIT"
] | 53 | 2015-08-27T02:44:22.000Z | 2019-11-22T17:07:50.000Z | tests/dummy/app/models/people.js | BobrImperator/virtual-each | ce8fc7162093742580f9a42e4d7bb63f7ea54e35 | [
"MIT"
] | 40 | 2015-08-27T01:57:22.000Z | 2020-04-30T10:30:14.000Z | tests/dummy/app/models/people.js | tallarium/virtual-each | 8b29e986b816bffffe560dca64e4d73495db88c8 | [
"MIT"
] | 26 | 2015-10-27T17:54:02.000Z | 2019-11-20T18:42:57.000Z | export default [
{
"id": "55de4a11b612ba7a4218a3d5",
"isActive": true,
"picture": "http://placehold.it/32x32",
"name": {
"first": "Tabatha",
"last": "Edwards"
},
"company": "ROTODYNE"
},
{
"id": "55de4a110d8cba7304fecd16",
"isActive": false,
"picture": "http://place... | 20.776053 | 43 | 0.504365 |
5d3dbd3c15e2165d935c2faf3352f8f6d216fd86 | 1,707 | js | JavaScript | routes/admin.js | lekhang4497/HKShopWebsite | 33e93e8323a9062bd7620666ce76616331a7570f | [
"MIT"
] | 2 | 2018-07-15T18:34:00.000Z | 2019-08-19T11:05:27.000Z | routes/admin.js | lekhang4497/HKShopWebsite | 33e93e8323a9062bd7620666ce76616331a7570f | [
"MIT"
] | null | null | null | routes/admin.js | lekhang4497/HKShopWebsite | 33e93e8323a9062bd7620666ce76616331a7570f | [
"MIT"
] | 1 | 2019-04-16T17:10:16.000Z | 2019-04-16T17:10:16.000Z | var express = require('express');
var router = express.Router();
var Product = require('../models/product');
var productController = require('../controllers/ProductController');
var userController = require('../controllers/UserController');
var Order = require('../models/order');
function isAdmin(req, res, next) {
i... | 25.477612 | 68 | 0.603984 |
5d3e79ba742fc9a7d08b0ea41fff2661b8691d5a | 478 | js | JavaScript | server.js | sanchezegido/my-places-manager | 0f545333aec6bbc4c4da2e2a9910a38a5efad172 | [
"MIT"
] | 1 | 2022-01-15T09:43:45.000Z | 2022-01-15T09:43:45.000Z | server.js | sanchezegido/my-places-manager | 0f545333aec6bbc4c4da2e2a9910a38a5efad172 | [
"MIT"
] | null | null | null | server.js | sanchezegido/my-places-manager | 0f545333aec6bbc4c4da2e2a9910a38a5efad172 | [
"MIT"
] | null | null | null | var express = require('express');
var path = require('path');
var app = express();
app.use(function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
next();
});
app.use(express.static(path.resolve(__di... | 31.866667 | 95 | 0.667364 |
5d3f31aa793f41509e727694629d1b49234aa4de | 448 | js | JavaScript | app/containers/WriterPage.js | Rehlaender/featurefeature | 964ecb5a32cb82e60679382170d8c208e45f88e9 | [
"MIT"
] | null | null | null | app/containers/WriterPage.js | Rehlaender/featurefeature | 964ecb5a32cb82e60679382170d8c208e45f88e9 | [
"MIT"
] | null | null | null | app/containers/WriterPage.js | Rehlaender/featurefeature | 964ecb5a32cb82e60679382170d8c208e45f88e9 | [
"MIT"
] | null | null | null | import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import Writer from '../components/Writer';
import * as ParagraphsActions from '../actions/paragraphs';
function mapStateToProps(state) {
return {
paragraphs: state.paragraphs
};
}
function mapDispatchToProps(dispatch) {
retur... | 23.578947 | 59 | 0.756696 |
5d402d4273892939f5d1018a0fb54f2964776601 | 326 | js | JavaScript | models/Banner.js | XinYang-YXY/denoShopAdmin | dfdf4fc3c37578c833591af519dfb29c2741dde3 | [
"MIT"
] | 3 | 2020-05-23T20:06:30.000Z | 2020-07-07T01:24:36.000Z | models/Banner.js | XinYang-YXY/denoShopAdmin | dfdf4fc3c37578c833591af519dfb29c2741dde3 | [
"MIT"
] | 85 | 2020-05-12T04:56:15.000Z | 2022-02-27T09:38:43.000Z | models/Banner.js | XinYang-YXY/denoShopAdmin | dfdf4fc3c37578c833591af519dfb29c2741dde3 | [
"MIT"
] | 3 | 2020-05-28T12:15:09.000Z | 2020-07-26T09:44:34.000Z | const Sequelize = require("sequelize");
const db = require("../config/DBConfig");
const Banner = db.define("banner", {
imageFile: {
type: Sequelize.STRING
},
dateAdded: {
type: Sequelize.DATE
},
title: {
type: Sequelize.STRING
},
status: {
type: Sequelize.STRING
}
});
module.exports = B... | 17.157895 | 41 | 0.628834 |
5d410ec4158605cbdf55b0de8b8e7484671180d6 | 824 | js | JavaScript | js/module/bg.js | selcher/time-tab | 9a1c2b68155b2fd8f06203d20845ea925299d951 | [
"MIT"
] | null | null | null | js/module/bg.js | selcher/time-tab | 9a1c2b68155b2fd8f06203d20845ea925299d951 | [
"MIT"
] | null | null | null | js/module/bg.js | selcher/time-tab | 9a1c2b68155b2fd8f06203d20845ea925299d951 | [
"MIT"
] | null | null | null | import config from './config.js';
import session from './session.js';
const browser = chrome;
const browserWindow = window;
const browserDoc = document;
const defaultBgImage = `url('${
browser.extension.getURL(config.bg)
}')`;
const getStoredBgImage = () => (session.get('bg') || '');
const setStoredBgImage = (bg)... | 24.235294 | 61 | 0.635922 |
5d4257eecd2c3cafe91b6c3bd47df213d991f998 | 1,598 | js | JavaScript | tests/baselines/reference/privateNamesUnique-3.js | monciego/TypeScript | 06fb30725d4a70708b28f2a4613543ce8c4cd645 | [
"Apache-2.0"
] | 49,134 | 2015-01-01T02:37:27.000Z | 2019-05-06T20:38:53.000Z | tests/baselines/reference/privateNamesUnique-3.js | monciego/TypeScript | 06fb30725d4a70708b28f2a4613543ce8c4cd645 | [
"Apache-2.0"
] | 26,488 | 2015-01-01T13:57:03.000Z | 2019-05-06T20:40:00.000Z | tests/baselines/reference/privateNamesUnique-3.js | monciego/TypeScript | 06fb30725d4a70708b28f2a4613543ce8c4cd645 | [
"Apache-2.0"
] | 8,518 | 2015-01-05T03:29:29.000Z | 2019-05-06T14:37:49.000Z | //// [privateNamesUnique-3.ts]
class A {
#foo = 1;
static #foo = true; // error (duplicate)
// because static and instance private names
// share the same lexical scope
// https://tc39.es/proposal-class-fields/#prod-ClassBody
}
class B {
... | 37.162791 | 184 | 0.586984 |
5d44fce67420c4bf4592679bf099685a5586b14a | 2,024 | js | JavaScript | public/assets/admin/js/department.js | kishanvlcc/aneja_realty | a3cc8d4e5b5480ecb5ac135dbaa47b6668fb9fa8 | [
"MIT"
] | null | null | null | public/assets/admin/js/department.js | kishanvlcc/aneja_realty | a3cc8d4e5b5480ecb5ac135dbaa47b6668fb9fa8 | [
"MIT"
] | null | null | null | public/assets/admin/js/department.js | kishanvlcc/aneja_realty | a3cc8d4e5b5480ecb5ac135dbaa47b6668fb9fa8 | [
"MIT"
] | null | null | null | $(document).ready(function () {
$('.active').click(function () {
var depId = $(this).data('id');
var action = $(this).attr('id');
if (action === 'edit')
{
$(".status").css("display","block");
var actionUrl = 'department/'+depId+'/edit';
$.ajax({
... | 30.208955 | 112 | 0.407115 |
5d461552fb31bf91eb3c8c9f5652cbcdd7371dcc | 3,523 | js | JavaScript | frontend/src/utils/common.js | OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications | e69637584ba89ef86256ff10906dde10dda5720d | [
"MIT"
] | null | null | null | frontend/src/utils/common.js | OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications | e69637584ba89ef86256ff10906dde10dda5720d | [
"MIT"
] | 3 | 2021-06-05T00:09:26.000Z | 2021-09-08T03:00:03.000Z | frontend/src/utils/common.js | OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications | e69637584ba89ef86256ff10906dde10dda5720d | [
"MIT"
] | null | null | null | export function getName(candidatesInfo = null, topic) {
let name = topic.page_name;
if (candidatesInfo && candidatesInfo.candidates) {
const info = candidatesInfo.candidates.find((candidate) =>
candidate && candidate.pages
? candidate.pages.find((page) => page.page_name === name)
: false,... | 30.634783 | 311 | 0.675277 |
5d46174b2167bc4bcf1ae26f8f2c046a97ebda40 | 3,810 | js | JavaScript | parsers/FormatSpecFlowXML.js | vukhoa30/pulse-community | 457451e502cdfb21b32f22b7ef792b2045b86cb2 | [
"MIT"
] | 11 | 2019-07-26T17:40:53.000Z | 2021-11-08T00:13:06.000Z | parsers/FormatSpecFlowXML.js | vukhoa30/pulse-community | 457451e502cdfb21b32f22b7ef792b2045b86cb2 | [
"MIT"
] | 13 | 2019-07-10T16:18:12.000Z | 2021-10-14T17:48:52.000Z | parsers/FormatSpecFlowXML.js | vukhoa30/pulse-community | 457451e502cdfb21b32f22b7ef792b2045b86cb2 | [
"MIT"
] | 9 | 2019-10-30T02:21:10.000Z | 2021-11-22T07:05:33.000Z | // Format required: Microsoft SpecFlow .trx XML result files
const PulseSdk = require('@qasymphony/pulse-sdk');
const request = require('request');
const xml2js = require('xml2js');
const { Webhooks } = require('@qasymphony/pulse-sdk');
exports.handler = function ({ event: body, constants, triggers }, context, callba... | 43.793103 | 130 | 0.45958 |
5d473e77199219913455580bb721a8bd50ce576a | 1,031 | js | JavaScript | tests/test.js | VolkerL/ablett | 2d1e861ad9dfb1ca47882cf95cc362049e6a0a99 | [
"MIT"
] | null | null | null | tests/test.js | VolkerL/ablett | 2d1e861ad9dfb1ca47882cf95cc362049e6a0a99 | [
"MIT"
] | null | null | null | tests/test.js | VolkerL/ablett | 2d1e861ad9dfb1ca47882cf95cc362049e6a0a99 | [
"MIT"
] | null | null | null | const TestUtils = {};
TestUtils.sprite = function(key) {
return new PIXI.Sprite(PIXI.TextureCache[key]);
};
TestUtils.spawn = function(textureKey, field, x, y, stage) {
const sprite = TestUtils.sprite(textureKey);
sprite.width = field.cellDim;
sprite.height = field.cellDim;
const entity = new En... | 24.547619 | 77 | 0.612997 |
5d49835c7baaffe4eb79c5c2f6eaa43bbf23a2c1 | 1,383 | js | JavaScript | locals/trainings/rxjs.js | paulinakaszuba94/jstrainings | 752ef1f23c498ff7719f509894d724e0fa226f3e | [
"MIT"
] | null | null | null | locals/trainings/rxjs.js | paulinakaszuba94/jstrainings | 752ef1f23c498ff7719f509894d724e0fa226f3e | [
"MIT"
] | null | null | null | locals/trainings/rxjs.js | paulinakaszuba94/jstrainings | 752ef1f23c498ff7719f509894d724e0fa226f3e | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rxjs = {
"id": "rxjs",
"list": ["Reactive programming", "Data streams", "Rx operators", "Creating operators", "Composing streams", "Observables and observers", "Subjects", "Modules", "Model-Viewer-Intent architecture", "Testing... | 92.2 | 488 | 0.765004 |
f8c6613bc67cadd51af973f7b8dda7d06ec3833c | 1,238 | js | JavaScript | src/scripts/utils/messaging.js | webdev0528/Extensioin-BoilerPlate-Vue | a0a535bada3ca627b112777d0f5405506f503a83 | [
"MIT"
] | 2 | 2019-07-10T13:25:06.000Z | 2019-07-12T02:38:57.000Z | src/scripts/utils/messaging.js | webdev0528/Extensioin-BoilerPlate-Vue | a0a535bada3ca627b112777d0f5405506f503a83 | [
"MIT"
] | 1 | 2021-03-09T11:40:44.000Z | 2021-03-09T11:40:44.000Z | src/scripts/utils/messaging.js | web-dev828/browser_plugin | 24fdc8a225795bbc05d0165b40946b84804bc175 | [
"MIT"
] | null | null | null | import platform from 'utils/platform';
import md5 from 'js-md5';
const listeners = [];
const browser = ['chrome', 'opera', 'firefox'].indexOf(platform) > -1 ? chrome : window.browser;
export const SENDER_ID = getRandomId();
browser.runtime.onMessage.addListener(function(request, sender) {
const message_type = req... | 28.790698 | 96 | 0.680937 |
f8c686099ebb7c002e3512d7ff29c38ce9d4e871 | 328 | js | JavaScript | dev/src/hooks/js/useDebounce/useDebounce.js | EricPuskas/react-material-cli | 62740e3059ef5a0111363be75d204394db7587f8 | [
"MIT"
] | null | null | null | dev/src/hooks/js/useDebounce/useDebounce.js | EricPuskas/react-material-cli | 62740e3059ef5a0111363be75d204394db7587f8 | [
"MIT"
] | 1 | 2021-07-07T14:53:25.000Z | 2021-07-07T14:53:25.000Z | dev/src/hooks/js/useDebounce/useDebounce.js | EricPuskas/react-material-cli | 62740e3059ef5a0111363be75d204394db7587f8 | [
"MIT"
] | null | null | null | import { useState } from "react";
/**
* Defines the useDebounce hook
*/
export const useDebounce = () => {
/**
* Initializes the interval
*/
const [intervalId, setIntervalId] = useState();
return (func, wait) => {
if (intervalId) clearTimeout(intervalId);
setIntervalId(setTimeout(func, wait));
... | 18.222222 | 49 | 0.631098 |
f8c73fd627a09db2d13f5ee201a5c62bdd19151a | 7,693 | js | JavaScript | public/scripts/new-script.js | kelpikz/Invite-Me | 1c126bbcbd9fe263d27eece76a345e54828c311f | [
"MIT"
] | 1 | 2020-10-29T19:08:03.000Z | 2020-10-29T19:08:03.000Z | public/scripts/new-script.js | kelpikz/Invite-Me | 1c126bbcbd9fe263d27eece76a345e54828c311f | [
"MIT"
] | null | null | null | public/scripts/new-script.js | kelpikz/Invite-Me | 1c126bbcbd9fe263d27eece76a345e54828c311f | [
"MIT"
] | null | null | null | let canvas = document.getElementById("canvas");
let ctx = canvas.getContext('2d');
let context = canvas.getContext('2d');
import image from "./element classes/img object.js";
import word from './element classes/text obj.js';
import template from "./element classes/template object.js";
import { double... | 32.597458 | 137 | 0.604706 |
f8c7869b283b23bcf9a5f4d7766ec1b1de0bf9fe | 668 | js | JavaScript | src/pages/about.js | Carlos-Caballero/front | 4ae235bce323af2c3f4c9609ca99551d6af5c32b | [
"MIT"
] | null | null | null | src/pages/about.js | Carlos-Caballero/front | 4ae235bce323af2c3f4c9609ca99551d6af5c32b | [
"MIT"
] | null | null | null | src/pages/about.js | Carlos-Caballero/front | 4ae235bce323af2c3f4c9609ca99551d6af5c32b | [
"MIT"
] | null | null | null | import React from "react";
import Navbar from "../components/navbar";
import Fooder from "../components/fooder";
import Exp from "../components/expHerramientas";
import AboutMe from "../components/aboutMe";
import Cursos from "../components/cursosAprobados";
import Detalles from "../components/detallesPersonales";
impo... | 24.740741 | 56 | 0.639222 |
f8c7e68eabb90c6625fff7bb016b907225e62e2d | 825 | js | JavaScript | src/main/webapp/widgets/Legend/setting/nls/Setting_pt-pt.js | emkgth/clean-water | d333aae1487fd7b620521038acee4590801f2c45 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/widgets/Legend/setting/nls/Setting_pt-pt.js | emkgth/clean-water | d333aae1487fd7b620521038acee4590801f2c45 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/widgets/Legend/setting/nls/Setting_pt-pt.js | emkgth/clean-water | d333aae1487fd7b620521038acee4590801f2c45 | [
"Apache-2.0"
] | null | null | null | // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
//>>built
define({"widgets/Legend/setting/nls/strings":{left:"Alinhar \u00e0 esquerda",right:"Alinhar \u00e0 dir... | 165 | 504 | 0.8 |
f8c8919ee999336175e09c76e960bc484ed618f7 | 3,034 | js | JavaScript | src/containers/Environment.js | pjkarlik/Hacker | f65b51efa04d7133be11f391778b90d58efdffc4 | [
"MIT"
] | 3 | 2020-12-11T09:01:19.000Z | 2021-07-02T16:59:08.000Z | src/containers/Environment.js | pjkarlik/Hacker | f65b51efa04d7133be11f391778b90d58efdffc4 | [
"MIT"
] | null | null | null | src/containers/Environment.js | pjkarlik/Hacker | f65b51efa04d7133be11f391778b90d58efdffc4 | [
"MIT"
] | null | null | null | import React from 'react';
import { resolve } from '../utils/styles';
import { connect } from 'react-redux';
import getBrowserDimensions from '../utils/getBrowserDimensions';
/**
*/
class Environment extends React.Component {
static displayName = 'Environment';
static propTypes = {
classes: React.PropTypes.obj... | 29.173077 | 79 | 0.627225 |
f8c96293db563e9a4ecaf75032c03d6d4aa79c58 | 1,072 | js | JavaScript | assets/lib/simple-icons/icons/internetarchive.js | vincedani/FeelIt | 56be4e9a3833448a67a1cc78b5ce9ae57f7cd091 | [
"MIT"
] | 89 | 2021-06-01T08:25:32.000Z | 2022-03-30T07:24:44.000Z | assets/lib/simple-icons/icons/internetarchive.js | vincedani/FeelIt | 56be4e9a3833448a67a1cc78b5ce9ae57f7cd091 | [
"MIT"
] | 72 | 2021-05-31T09:35:03.000Z | 2022-03-17T13:44:42.000Z | assets/lib/simple-icons/icons/internetarchive.js | vincedani/FeelIt | 56be4e9a3833448a67a1cc78b5ce9ae57f7cd091 | [
"MIT"
] | 44 | 2021-06-06T06:59:52.000Z | 2022-03-30T14:11:18.000Z | module.exports={title:"Internet Archive",slug:"internetarchive",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Internet Archive</title><path d="M22.667 22.884V24H1.333v-1.116zm-.842-1.675v1.396H2.175v-1.396zM4.233 6.14l.234.118.118 1.882.117 3.058v2.941l-.117 3.666-.02 2.47-.332.098H... | 1,072 | 1,072 | 0.698694 |
f8c9a7cbf98a24f22cd14666e7a09b805bd24443 | 337 | js | JavaScript | src/lib/schema/user.js | hling51325/Server | ab09a55cd6b2bf5cc531731bd2f8db9806f6e5bd | [
"Apache-2.0"
] | null | null | null | src/lib/schema/user.js | hling51325/Server | ab09a55cd6b2bf5cc531731bd2f8db9806f6e5bd | [
"Apache-2.0"
] | null | null | null | src/lib/schema/user.js | hling51325/Server | ab09a55cd6b2bf5cc531731bd2f8db9806f6e5bd | [
"Apache-2.0"
] | null | null | null |
module.exports = (Schema) => {
let schema = Schema({
username: String,
nickname: String,
password: String,
email: String,
phone: String,
gender: Number, // 0: no, 1: male, 2: female, 3: transform, 4: bisexual
birthday: Date,
avatar: String
})
... | 22.466667 | 80 | 0.534125 |
f8c9bcecfc87a9d7c73636ed75f6d7bdc34497fe | 1,119 | js | JavaScript | trie.js | Lochlan/trie.js | 07862c747a2faa4e44261200226304ea0ddf47f7 | [
"MIT"
] | null | null | null | trie.js | Lochlan/trie.js | 07862c747a2faa4e44261200226304ea0ddf47f7 | [
"MIT"
] | null | null | null | trie.js | Lochlan/trie.js | 07862c747a2faa4e44261200226304ea0ddf47f7 | [
"MIT"
] | null | null | null | class TrieNode {
constructor(value=null, terminates=false, children={}) {
this.value = value;
this.terminates = terminates;
this.children = children;
}
insert(string) {
if (string.length === 0) {
this.terminates = true;
return;
}
if (... | 20.722222 | 72 | 0.514745 |
f8ca7384bd4052ff0b7d97bb721288bacc13f484 | 1,203 | js | JavaScript | tests/strict-order.test.js | jamescostian/borrow-state | 327b576fdadeb97ec58a7ede3a56ae51bee4720c | [
"0BSD"
] | 1 | 2016-05-12T02:19:20.000Z | 2016-05-12T02:19:20.000Z | tests/strict-order.test.js | jamescostian/borrow-state | 327b576fdadeb97ec58a7ede3a56ae51bee4720c | [
"0BSD"
] | 2 | 2020-01-05T17:53:13.000Z | 2021-05-07T14:42:55.000Z | tests/strict-order.test.js | jamescostian/borrow-state | 327b576fdadeb97ec58a7ede3a56ae51bee4720c | [
"0BSD"
] | null | null | null | 'use strict'
const BorrowState = require('../module.js')
const countTo = require('./count-to.js')
it('runs everything in a strict ordering, not allowing anything to happen outside of that order', () => {
expect.assertions(1)
const hasHappened = []
const myState = new BorrowState()
myState.block().then((state)... | 21.872727 | 105 | 0.607648 |
f8ca740adb00ba21a065d2692d6c0e88f43bfdb4 | 1,915 | js | JavaScript | test/Date/TwoDigitYears.js | P1umer/ChakraCore | 6b471d9b9096ded789a924bc7f0518bbb000c320 | [
"MIT"
] | 8,664 | 2016-01-13T17:33:19.000Z | 2019-05-06T19:55:36.000Z | test/Date/TwoDigitYears.js | P1umer/ChakraCore | 6b471d9b9096ded789a924bc7f0518bbb000c320 | [
"MIT"
] | 5,058 | 2016-01-13T17:57:02.000Z | 2019-05-04T15:41:54.000Z | test/Date/TwoDigitYears.js | P1umer/ChakraCore | 6b471d9b9096ded789a924bc7f0518bbb000c320 | [
"MIT"
] | 1,367 | 2016-01-13T17:54:57.000Z | 2019-04-29T18:16:27.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... | 45.595238 | 135 | 0.544125 |
f8ca743663c1bab13ec50c2179de91a2136c12af | 9,174 | js | JavaScript | static/branding/default/js/universal.js | cheneylew/gocms | 6626de7c5a599d8a2f41e95790cef0ff90cf2876 | [
"MIT"
] | 1 | 2017-12-22T13:07:44.000Z | 2017-12-22T13:07:44.000Z | static/branding/default/js/universal.js | cheneylew/gocms | 6626de7c5a599d8a2f41e95790cef0ff90cf2876 | [
"MIT"
] | null | null | null | static/branding/default/js/universal.js | cheneylew/gocms | 6626de7c5a599d8a2f41e95790cef0ff90cf2876 | [
"MIT"
] | null | null | null | $(document).ready(function() {
// notices
$('#notices div').animate({opacity: 1.0},4000).fadeOut('slow');
$(window).scroll(function() {
$('#notices div').animate({top:$(window).scrollTop()+5+"px" },{queue: false, duration: 0});
});
// buttons
$('input.button').hover(function () {
$(this).toggleCla... | 29.309904 | 135 | 0.572923 |
f8cac1c763dc201c304105520d2100aa17e6892d | 7,842 | js | JavaScript | modules/flickr/server/controllers/flickr-api-client.server.controller.js | imranzaidi/image_gallery_coding_excercise | f55413255c0a46566fd294c719c1227a7c99d32e | [
"MIT"
] | null | null | null | modules/flickr/server/controllers/flickr-api-client.server.controller.js | imranzaidi/image_gallery_coding_excercise | f55413255c0a46566fd294c719c1227a7c99d32e | [
"MIT"
] | null | null | null | modules/flickr/server/controllers/flickr-api-client.server.controller.js | imranzaidi/image_gallery_coding_excercise | f55413255c0a46566fd294c719c1227a7c99d32e | [
"MIT"
] | null | null | null | 'use strict';
/**
* Module dependencies.
*/
var _ = require('lodash'),
path = require('path'),
mongoose = require('mongoose'),
request = require('request'),
async = require('async'),
Photograph = mongoose.model('Photograph'),
PhotographStats = mongoose.model('PhotographStats'),
errorHandler = require(p... | 29.704545 | 113 | 0.665902 |
f8cd27b734520dbc66863a600c19d72105189ef0 | 493 | js | JavaScript | src/FormReact.js | Rubiksron/PresentationOnReact | 611f2cdf37c1b9cc0ef8b25580319dd7abc923e4 | [
"MIT"
] | null | null | null | src/FormReact.js | Rubiksron/PresentationOnReact | 611f2cdf37c1b9cc0ef8b25580319dd7abc923e4 | [
"MIT"
] | 2 | 2020-07-07T20:22:27.000Z | 2021-05-10T05:33:10.000Z | src/FormReact.js | Rubiksron/PresentationOnReact | 611f2cdf37c1b9cc0ef8b25580319dd7abc923e4 | [
"MIT"
] | null | null | null | import React from 'react';
import { RadioGroup, RadioButton } from 'react-radio-buttons';
const FormReact = props => {
return (
<RadioGroup
name="size"
value={props.size}
onChange={props.handleChange}
>
<RadioButton value="small">Small</RadioButton>
<RadioButton value="medium">Mediu... | 23.47619 | 62 | 0.6714 |
f8cf8eec01549ec5c70724456b703e6032f4b031 | 351 | js | JavaScript | lib/boot.js | forim/forim | 33d707f0d90419a3ee326a01747f9209ee8de3cf | [
"Apache-2.0"
] | null | null | null | lib/boot.js | forim/forim | 33d707f0d90419a3ee326a01747f9209ee8de3cf | [
"Apache-2.0"
] | null | null | null | lib/boot.js | forim/forim | 33d707f0d90419a3ee326a01747f9209ee8de3cf | [
"Apache-2.0"
] | null | null | null | 'use strict';
var Server = require("http").Server;
var config = require('./config');
var app = require('./app');
var v2 = require('./v2/');
var sio = require('./socket.io');
var realConfig = config.waterline.dev;
var server = Server(app);
module.exports = function (conf, cb) {
v2(conf, app, function () {
sio(ser... | 21.9375 | 38 | 0.621083 |
f8cf926962fd3a7204979ce006a6839352fe5538 | 708 | js | JavaScript | app/vue-app/src/firebaseConfig.js | joshuafinkelstein/chimera-education | 1930250a71cc787dea492a55883e53c4144897de | [
"Apache-2.0"
] | 1 | 2020-02-02T18:28:45.000Z | 2020-02-02T18:28:45.000Z | app/vue-app/src/firebaseConfig.js | joshuafinkelstein/chimera-education | 1930250a71cc787dea492a55883e53c4144897de | [
"Apache-2.0"
] | 5 | 2019-08-29T16:39:55.000Z | 2022-02-18T09:23:43.000Z | app/vue-app/src/firebaseConfig.js | joshuafinkelstein/chimera-education | 1930250a71cc787dea492a55883e53c4144897de | [
"Apache-2.0"
] | 1 | 2020-02-02T18:29:22.000Z | 2020-02-02T18:29:22.000Z | import firebase from 'firebase';
const config = {
apiKey: "AIzaSyDxMRazrz1DpgfvaZpKJ9GON9YStwnMfGA",
authDomain: "chimera-e8803.firebaseapp.com",
databaseURL: "https://chimera-e8803.firebaseio.com",
projectId: "chimera-e8803",
storageBucket: "",
messagingSenderId: "788713293552",
appId: "1:788713293552:w... | 24.413793 | 69 | 0.754237 |
f8cfb697228660e8b9f4f8ac45082157d72afcf8 | 2,285 | js | JavaScript | src/hooks/usePodOwner/index.js | acoburn/pod-browser | 3a42e166e0a55a7d0a275c398b84d7f3b9be7582 | [
"MIT"
] | 54 | 2020-08-11T15:42:08.000Z | 2022-03-29T23:44:39.000Z | src/hooks/usePodOwner/index.js | acoburn/pod-browser | 3a42e166e0a55a7d0a275c398b84d7f3b9be7582 | [
"MIT"
] | 385 | 2020-08-12T09:48:20.000Z | 2022-03-30T19:47:24.000Z | src/hooks/usePodOwner/index.js | acoburn/pod-browser | 3a42e166e0a55a7d0a275c398b84d7f3b9be7582 | [
"MIT"
] | 8 | 2021-01-12T02:11:43.000Z | 2022-03-16T06:00:31.000Z | /**
* Copyright 2020 Inrupt Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, d... | 40.087719 | 86 | 0.730853 |
f8d0270cb479257f2a41d54cdefac906e56ddd3c | 1,101 | js | JavaScript | src/__test__/utils/cellSets/getSampleCells.test.js | biomage-ltd/ui | 2696f7f76d1d464da98fab310f3d605459271a55 | [
"MIT"
] | 18 | 2020-12-07T14:43:07.000Z | 2021-12-19T20:44:25.000Z | src/__test__/utils/cellSets/getSampleCells.test.js | biomage-ltd/ui | 2696f7f76d1d464da98fab310f3d605459271a55 | [
"MIT"
] | 304 | 2020-09-29T15:42:41.000Z | 2022-01-04T13:03:32.000Z | src/__test__/utils/cellSets/getSampleCells.test.js | biomage-ltd/ui | 2696f7f76d1d464da98fab310f3d605459271a55 | [
"MIT"
] | 3 | 2020-11-14T19:23:07.000Z | 2021-12-16T10:46:15.000Z | import {
createHierarchyFromTree,
createPropertiesFromTree,
} from 'redux/reducers/cellSets/helpers';
import { getSampleCells } from 'utils/cellSets';
const mockCellSet = require('__test__/data/cell_sets.json');
const cellSets = {
properties: createPropertiesFromTree(mockCellSet.cellSets),
hierarchy: createH... | 26.853659 | 80 | 0.669391 |
f8d0ae78c0e0a8149f5f792caabd9c7e5c727460 | 2,801 | js | JavaScript | app/scripts/views/detail/detail-controller.js | flibbertigibbet/mos-energy-benchmark | f25df9e8a65804960633b2731f75555372f67950 | [
"MIT"
] | 9 | 2015-04-28T19:13:41.000Z | 2019-12-23T03:21:30.000Z | app/scripts/views/detail/detail-controller.js | flibbertigibbet/mos-energy-benchmark | f25df9e8a65804960633b2731f75555372f67950 | [
"MIT"
] | 73 | 2015-01-07T18:01:43.000Z | 2022-03-01T23:48:16.000Z | app/scripts/views/detail/detail-controller.js | flibbertigibbet/mos-energy-benchmark | f25df9e8a65804960633b2731f75555372f67950 | [
"MIT"
] | 3 | 2015-05-02T23:05:46.000Z | 2022-01-16T10:43:17.000Z | (function () {
'use strict';
/*
* ngInject
*/
var DetailConfig = {
fields: [
'energy_star',
'site_eui',
'total_ghg',
'electricity',
'natural_gas',
'fuel_oil',
'steam',
'water_use'
],
... | 32.195402 | 103 | 0.538379 |