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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
990a19c5fbc553f6df9acc492a0eaf09e2db162e | 2,430 | js | JavaScript | leste contacts/src/componets/TableRow.js | mundotv789123/desafio | 60f5c22e553fe22fa21edf3b7178ca4586cc5f52 | [
"MIT"
] | null | null | null | leste contacts/src/componets/TableRow.js | mundotv789123/desafio | 60f5c22e553fe22fa21edf3b7178ca4586cc5f52 | [
"MIT"
] | null | null | null | leste contacts/src/componets/TableRow.js | mundotv789123/desafio | 60f5c22e553fe22fa21edf3b7178ca4586cc5f52 | [
"MIT"
] | null | null | null | import styled from 'styled-components';
function TableRow(drops) {
const contact = (drops.contact ? drops.contact : {})
const Row = styled.tr`
{
transition: all 0.3s ease;
cursor: pointer;
}
&:hover {
-webkit-transform: translateY(-4px);
... | 36.818182 | 148 | 0.499177 |
990a3a25fb1bf4e2dbde78755cd374f22aab05e8 | 5,454 | js | JavaScript | shopping-cart/js/orderShipping.js | WongWaiChung1015/chatbotcms-wcbot-server-2 | d304cfdc1ec0cf41a8824243a59ebfdac1b0e297 | [
"Apache-2.0"
] | 6 | 2018-01-31T01:22:39.000Z | 2021-02-01T12:41:18.000Z | shopping-cart/js/orderShipping.js | WongWaiChung1015/chatbotcms-wcbot-server-2 | d304cfdc1ec0cf41a8824243a59ebfdac1b0e297 | [
"Apache-2.0"
] | null | null | null | shopping-cart/js/orderShipping.js | WongWaiChung1015/chatbotcms-wcbot-server-2 | d304cfdc1ec0cf41a8824243a59ebfdac1b0e297 | [
"Apache-2.0"
] | 3 | 2018-04-04T17:56:41.000Z | 2019-11-16T19:00:22.000Z | "use strict";function SetupUI(){var e=$("#shipping_fee_form");e.form({on:"blur",inline:!0,fields:{ship_method:["empty"]}}),e.submit(function(e){return e.preventDefault(),!1}),$("#btn_proceed").click(onBtnProceed),$("#btn_back").click(onBtnBack)}function LoadShoppingCart(){return $.ajax({method:"GET",url:"ws/db_loadcart... | 5,454 | 5,454 | 0.735974 |
990acd133382ce33a8230ceaa8cca81e9ea48066 | 1,498 | js | JavaScript | src/app.js | mike820324/ComicSearchEngine | 19f44ddd4b36379d2aa1d7833ca5ad693fba9482 | [
"MIT"
] | 1 | 2015-08-17T13:32:04.000Z | 2015-08-17T13:32:04.000Z | src/app.js | mike820324/ComicSearchEngine | 19f44ddd4b36379d2aa1d7833ca5ad693fba9482 | [
"MIT"
] | 7 | 2015-02-26T13:06:09.000Z | 2015-03-11T17:40:33.000Z | src/app.js | mike820324/ComicSearchEngine | 19f44ddd4b36379d2aa1d7833ca5ad693fba9482 | [
"MIT"
] | null | null | null | import crawler from './lib/crawler';
import Indexer from './lib/indexer';
import Url from 'url';
import Opencc from 'opencc';
const opencc = new Opencc('tw2s.json');
import winston from 'winston';
let appLogger = new winston.Logger({
transports: [
new winston.transports.Console({
'timestamp':... | 23.40625 | 70 | 0.586782 |
990adc1a0b8c4bfa935b48c79fbc3ace99679e1d | 17,218 | js | JavaScript | InvenTree/templates/js/barcode.js | onurtatli/InvenTree | 4ce479cf97cc62563ab08ed6123d3c6ca28ba6a3 | [
"MIT"
] | null | null | null | InvenTree/templates/js/barcode.js | onurtatli/InvenTree | 4ce479cf97cc62563ab08ed6123d3c6ca28ba6a3 | [
"MIT"
] | null | null | null | InvenTree/templates/js/barcode.js | onurtatli/InvenTree | 4ce479cf97cc62563ab08ed6123d3c6ca28ba6a3 | [
"MIT"
] | null | null | null | {% load i18n %}
function makeBarcodeInput(placeholderText='', hintText='') {
/*
* Generate HTML for a barcode input
*/
placeholderText = placeholderText || '{% trans "Scan barcode data here using wedge scanner" %}';
hintText = hintText || '{% trans "Enter barcode data" %}';
var html = `
... | 28.133987 | 137 | 0.445116 |
990ae89b7dcf07e39fe84676b52053433cc8e08c | 63 | js | JavaScript | app/javascript/vue/tasks/digitize/store/getters/getTypeMaterial.js | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | null | null | null | app/javascript/vue/tasks/digitize/store/getters/getTypeMaterial.js | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | null | null | null | app/javascript/vue/tasks/digitize/store/getters/getTypeMaterial.js | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | null | null | null | export default function(state) {
return state.type_material
} | 21 | 32 | 0.793651 |
990b28ca74e1de6ea04071100df099f43fe46c4b | 1,898 | js | JavaScript | lib/resthelper.js | Loksly/redistack | 3afec0a27231b8b62412ec0ce95b62c371f5d339 | [
"MIT"
] | null | null | null | lib/resthelper.js | Loksly/redistack | 3afec0a27231b8b62412ec0ce95b62c371f5d339 | [
"MIT"
] | null | null | null | lib/resthelper.js | Loksly/redistack | 3afec0a27231b8b62412ec0ce95b62c371f5d339 | [
"MIT"
] | null | null | null | (function(module, logger){
'use strict';
const Q = require('q'),
SIZE = 30;
function RestHelper(databasehandler, entity){
this.databasehandler = databasehandler;
this.entity = entity;
}
function failHandler(res){
return function(err){
logger.error(res, err);
res.status(500).json(err).end();
};
... | 20.857143 | 56 | 0.581665 |
990c505d22c60ab1400b37ea799170e8fdd77e8d | 801 | js | JavaScript | test/middleware.test.js | sumbad/fastify | 538fe6391cd2598b3435f71b23125026b730af24 | [
"MIT"
] | 1 | 2022-03-21T04:48:49.000Z | 2022-03-21T04:48:49.000Z | test/middleware.test.js | sumbad/fastify | 538fe6391cd2598b3435f71b23125026b730af24 | [
"MIT"
] | 68 | 2021-09-23T07:18:38.000Z | 2022-03-30T07:28:37.000Z | test/middleware.test.js | sumbad/fastify | 538fe6391cd2598b3435f71b23125026b730af24 | [
"MIT"
] | null | null | null | 'use strict'
const { test } = require('tap')
const Fastify = require('..')
const {
FST_ERR_DEC_ALREADY_PRESENT
} = require('../lib/errors')
test('Should be able to override the default use API', t => {
t.plan(1)
const fastify = Fastify()
fastify.decorate('use', () => true)
t.equal(fastify.use(), true)
})
t... | 20.538462 | 61 | 0.616729 |
990c54fb1a9adb9d874a03ffc72bb8ce4238cbd5 | 115 | js | JavaScript | samples/widgets/containers/accordion/index.js | eliace/ergojs-site | 4f9913490cc12085f2811dbb838368f2f5879e5c | [
"MIT"
] | null | null | null | samples/widgets/containers/accordion/index.js | eliace/ergojs-site | 4f9913490cc12085f2811dbb838368f2f5879e5c | [
"MIT"
] | null | null | null | samples/widgets/containers/accordion/index.js | eliace/ergojs-site | 4f9913490cc12085f2811dbb838368f2f5879e5c | [
"MIT"
] | null | null | null |
$context.section('Basic');
//= require accordion-basic
$context.section('Box');
//= require accordion-box
| 8.214286 | 27 | 0.66087 |
990cde9f8035912c798f86d01289b1f8cc694297 | 89 | js | JavaScript | lib/accessibility/index.js | N0taN3rd/chrome-remote-interface-extra | 1c57e0d8ea19969a4373af45daf557960c4f1c64 | [
"Apache-2.0"
] | 10 | 2019-02-10T14:57:08.000Z | 2022-03-12T06:31:02.000Z | lib/accessibility/index.js | N0taN3rd/chrome-remote-interface-extra | 1c57e0d8ea19969a4373af45daf557960c4f1c64 | [
"Apache-2.0"
] | 4 | 2020-07-16T18:11:23.000Z | 2021-09-01T01:04:22.000Z | lib/accessibility/index.js | N0taN3rd/chrome-remote-interface-extra | 1c57e0d8ea19969a4373af45daf557960c4f1c64 | [
"Apache-2.0"
] | 1 | 2021-07-16T03:02:13.000Z | 2021-07-16T03:02:13.000Z | exports.Accessibility = require('./Accessibility')
exports.AXNode = require('./AXNode')
| 22.25 | 50 | 0.741573 |
990d0f9dc881eaa10adb1760ba6901209ec5b485 | 94 | js | JavaScript | app/views/room.js | webmasteradmin/FlyMyFile | ff56ad3e83fa7b1f49aea3cdfa48a3d49ba5fef4 | [
"MIT"
] | null | null | null | app/views/room.js | webmasteradmin/FlyMyFile | ff56ad3e83fa7b1f49aea3cdfa48a3d49ba5fef4 | [
"MIT"
] | null | null | null | app/views/room.js | webmasteradmin/FlyMyFile | ff56ad3e83fa7b1f49aea3cdfa48a3d49ba5fef4 | [
"MIT"
] | null | null | null | import Ember from 'ember';
export default Ember.View.extend({
templateName: 'index'
});
| 15.666667 | 35 | 0.691489 |
990d636446006f42c3b7c994bc4c38847f5aa53f | 50 | js | JavaScript | app/models/extra.js | Macainian/ember-osf-test | f1d6668886de202300c2c4e020ebb0526730947c | [
"MIT"
] | null | null | null | app/models/extra.js | Macainian/ember-osf-test | f1d6668886de202300c2c4e020ebb0526730947c | [
"MIT"
] | null | null | null | app/models/extra.js | Macainian/ember-osf-test | f1d6668886de202300c2c4e020ebb0526730947c | [
"MIT"
] | null | null | null | export { default } from 'ember-osf/models/extra';
| 25 | 49 | 0.72 |
990e2143cf2580554be8a5e8bf785335877579f9 | 2,267 | js | JavaScript | src/Particle.js | mcteapot/bounce.js | b14d310978e28c163ab91cc737df22f372b61cfd | [
"Unlicense"
] | 1 | 2015-04-19T15:06:40.000Z | 2015-04-19T15:06:40.000Z | src/Particle.js | mcteapot/bounce.js | b14d310978e28c163ab91cc737df22f372b61cfd | [
"Unlicense"
] | null | null | null | src/Particle.js | mcteapot/bounce.js | b14d310978e28c163ab91cc737df22f372b61cfd | [
"Unlicense"
] | null | null | null | /**
* @author mcteapot / http://cyborgdino.com/
*/
BOUNCE.Particle = function () {
this.position = new BOUNCE.Vector3();
this.velocity = new BOUNCE.Vector3();
forceAccum = new BOUNCE.Vector3();
this.acceleration = new BOUNCE.Vector3();
this.damping;
this.inverseMass;
};
BOUNCE.Particle.prototype = {
... | 15.964789 | 69 | 0.551831 |
990f2a76a3656ec5259cad6792d19c82d9b7b34b | 1,028 | js | JavaScript | components/data.js | RomanMunar/chklst | e677664d18ca623453413b8d1a63863efe67304d | [
"Apache-2.0"
] | 5 | 2021-04-02T07:39:47.000Z | 2021-04-02T12:51:32.000Z | components/data.js | RomanMunar/chklst | e677664d18ca623453413b8d1a63863efe67304d | [
"Apache-2.0"
] | 7 | 2021-04-02T08:21:51.000Z | 2021-04-02T17:40:08.000Z | components/data.js | RomanMunar/chklst | e677664d18ca623453413b8d1a63863efe67304d | [
"Apache-2.0"
] | 7 | 2021-04-02T07:41:11.000Z | 2021-04-02T17:35:47.000Z | const fs = require('fs');
const path = require('path');
/**
* Path to contributors json files
*/
const jsonFilePath = `components/contributors`;
/**
* Sample file
*/
const sampleJsonFile = `[name-sample].json`;
/**
* @return {Array} Json data of all contributors
*/
const readAllTheJsonFiles = () => {
// ... | 20.979592 | 67 | 0.694553 |
990f63e5ad1648d923998fc8efa5667f3566c107 | 952 | js | JavaScript | config/tasks/setup/modules/setup-bundle.js | Threstle/test-nestor | a7fb89487e529a857fcde9455e1c9766c863d602 | [
"MIT"
] | null | null | null | config/tasks/setup/modules/setup-bundle.js | Threstle/test-nestor | a7fb89487e529a857fcde9455e1c9766c863d602 | [
"MIT"
] | null | null | null | config/tasks/setup/modules/setup-bundle.js | Threstle/test-nestor | a7fb89487e529a857fcde9455e1c9766c863d602 | [
"MIT"
] | null | null | null | const { logs } = require("../../../helpers/logs-helper");
const { scaffoldBundle } = require("../../scaffold-bundle");
const debug = require("debug")("config:setup-bundle");
// ----------------------------------------------------------------------------- PATHS / CONFIG
// target local path files
const paths = require... | 30.709677 | 95 | 0.546218 |
990fa7716f397590daf15aec8000b154eacaa6cc | 1,478 | js | JavaScript | apiGateway/routers/echarts/line/relative-displacement-statistics.js | liuyibin23/iovVis | db1182a3c238e83e95258bd331a44ee8cfbbc629 | [
"Apache-2.0",
"MIT"
] | null | null | null | apiGateway/routers/echarts/line/relative-displacement-statistics.js | liuyibin23/iovVis | db1182a3c238e83e95258bd331a44ee8cfbbc629 | [
"Apache-2.0",
"MIT"
] | null | null | null | apiGateway/routers/echarts/line/relative-displacement-statistics.js | liuyibin23/iovVis | db1182a3c238e83e95258bd331a44ee8cfbbc629 | [
"Apache-2.0",
"MIT"
] | null | null | null | const charCfg = require('../../echarts/chartConfig');
const common = require('./common-line');
let option = {
title : {
text: '相对位移监测数据统计分析',
x: 'center',
y:'bottom'
},
legend: {
data:['最大位移', '平均位移', '最小位移'],
//orient: 'vertical',
x:'center',
y:'top'... | 20.816901 | 66 | 0.420839 |
99105259765ad8ff26077b8fa092f1103f2df0af | 1,187 | js | JavaScript | src/lightbox/LightboxScreen.js | akashnimare/zulip-mobile | 009e9b6d009a0f5a6901b5316395722cabd6fc75 | [
"Apache-2.0"
] | null | null | null | src/lightbox/LightboxScreen.js | akashnimare/zulip-mobile | 009e9b6d009a0f5a6901b5316395722cabd6fc75 | [
"Apache-2.0"
] | null | null | null | src/lightbox/LightboxScreen.js | akashnimare/zulip-mobile | 009e9b6d009a0f5a6901b5316395722cabd6fc75 | [
"Apache-2.0"
] | null | null | null | /* @flow */
import React, { PureComponent } from 'react';
import { View, StyleSheet } from 'react-native';
import type { NavigationScreenProp } from 'react-navigation';
import { ActionSheetProvider } from '@expo/react-native-action-sheet';
import { ZulipStatusBar } from '../common';
import Lightbox from './Lightbox';
... | 25.255319 | 103 | 0.634372 |
99107267d298dda053e8cf0e250055a503717c90 | 371 | js | JavaScript | src/components/Wrapper/WrapperService.js | lzwUpUpUp/Aterminator | 492879927a2296c85e39349781848e5ef196017b | [
"MIT"
] | 9 | 2020-03-09T08:24:57.000Z | 2021-03-08T13:07:29.000Z | src/components/Wrapper/WrapperService.js | lzwUpUpUp/Aterminator | 492879927a2296c85e39349781848e5ef196017b | [
"MIT"
] | 4 | 2020-06-30T06:31:46.000Z | 2022-02-26T19:52:18.000Z | src/components/Wrapper/WrapperService.js | WX-DongXing/terminator | 104e3bd74d4e6f9cbb5acead5cb09114b53f53a1 | [
"MIT"
] | 5 | 2020-04-23T12:33:28.000Z | 2021-11-15T07:58:52.000Z | import { Subject } from 'rxjs'
export default class WrapperService {
constructor () {
if (!WrapperService.prototype.instance) {
this.change = new Subject()
this.change$ = this.change.asObservable()
WrapperService.prototype.instance = this
}
return WrapperService.prototype.instance
}
... | 21.823529 | 47 | 0.671159 |
9911383ebc41b23c0b547dba41820b414d45a263 | 2,858 | js | JavaScript | src/store/locationTemplate.js | mcmatan/stackedit | 4a97ca9891f8a8800fd174b191f5ab74d5aa0e33 | [
"Apache-2.0"
] | 16,372 | 2015-01-01T13:35:12.000Z | 2022-03-31T18:04:48.000Z | src/store/locationTemplate.js | mcmatan/stackedit | 4a97ca9891f8a8800fd174b191f5ab74d5aa0e33 | [
"Apache-2.0"
] | 1,214 | 2015-01-02T17:07:22.000Z | 2022-03-25T12:23:04.000Z | src/store/locationTemplate.js | liusanman/stackedit | 87ddfb9000999df21d13e0e743fd057dd9e7b3f7 | [
"Apache-2.0"
] | 3,023 | 2015-01-01T15:16:29.000Z | 2022-03-31T08:07:12.000Z | import moduleTemplate from './moduleTemplate';
import providerRegistry from '../services/providers/common/providerRegistry';
import utils from '../services/utils';
const addToGroup = (groups, item) => {
const list = groups[item.fileId];
if (!list) {
groups[item.fileId] = [item];
} else {
list.push(item);... | 32.850575 | 88 | 0.615465 |
991146abd91c6d11feae188796ae9636f73fd0cc | 2,566 | js | JavaScript | ui/src/Component/Header/Header.js | PowerMagicUniversity/deepstream_360_d_smart_parking_application | e7f73583680750aa60adffa0fc3cf5b063c92a6a | [
"MIT"
] | 294 | 2018-11-14T19:48:18.000Z | 2022-03-21T20:06:51.000Z | ui/src/Component/Header/Header.js | PowerMagicUniversity/deepstream_360_d_smart_parking_application | e7f73583680750aa60adffa0fc3cf5b063c92a6a | [
"MIT"
] | 33 | 2018-11-22T04:31:11.000Z | 2021-12-30T15:53:10.000Z | ui/src/Component/Header/Header.js | PowerMagicUniversity/deepstream_360_d_smart_parking_application | e7f73583680750aa60adffa0fc3cf5b063c92a6a | [
"MIT"
] | 115 | 2018-11-15T06:21:32.000Z | 2022-02-24T05:48:57.000Z | import React from 'react';
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
import { faQuestionCircle, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
import { Navbar, Nav, NavItem } from 'react-bootstrap';
import { Tooltip, OverlayTrigger } from 'react-bootstrap';
import classes from '.... | 34.675676 | 102 | 0.508184 |
9911fe363ee72f64fb029f8777afb102ddc8c450 | 178 | js | JavaScript | vue.config.js | iandroogmans/vue-business-hours | 53a5219d2d51926948f9397ccbc1bffd1690ad28 | [
"MIT"
] | 47 | 2019-05-17T22:46:14.000Z | 2021-12-16T08:53:46.000Z | vue.config.js | iandroogmans/vue-business-hours | 53a5219d2d51926948f9397ccbc1bffd1690ad28 | [
"MIT"
] | 21 | 2019-05-18T23:01:12.000Z | 2022-01-09T15:10:47.000Z | vue.config.js | iandroogmans/vue-business-hours | 53a5219d2d51926948f9397ccbc1bffd1690ad28 | [
"MIT"
] | 26 | 2019-05-17T22:35:09.000Z | 2022-01-09T22:43:28.000Z | module.exports = {
chainWebpack: config => {
// Remove the old entry and add the new one
config
.entry('app')
.clear()
.add('./demo/main.js');
}
};
| 17.8 | 47 | 0.533708 |
991315d52180a7061badb37c4c5e35b6efdfcdfc | 5,007 | js | JavaScript | packages/remediations/src/steps/ExistingOrNew.js | Sergey1011010/frontend-components | fbeeb6f025299b59ab4a11dbda691209175d7df4 | [
"Apache-2.0"
] | null | null | null | packages/remediations/src/steps/ExistingOrNew.js | Sergey1011010/frontend-components | fbeeb6f025299b59ab4a11dbda691209175d7df4 | [
"Apache-2.0"
] | 3 | 2022-02-13T20:42:14.000Z | 2022-02-27T10:32:23.000Z | packages/remediations/src/steps/ExistingOrNew.js | karelhala/frontend-components_old | 31038e0a22eb5b7d7d62e3d5c9f51fce17719fed | [
"Apache-2.0"
] | null | null | null | import React, { Component } from 'react';
import propTypes from 'prop-types';
import {
Form,
FormGroup,
Grid, GridItem,
Radio,
FormSelect,
FormSelectOption,
TextInput,
Stack, StackItem
} from '@patternfly/react-core';
import { Skeleton, SkeletonSize } from '@redhat-cloud-services/fronte... | 46.794393 | 143 | 0.379868 |
99136a891a7d72aea6f140ee4e615365da0afd92 | 459 | js | JavaScript | app/assets/javascripts/exchanges/broker_applicants.js | bgalloway1/enroll | e69c5af25278dfae17bc3db701e45f4bc9c4c7e1 | [
"Unlicense",
"MIT"
] | 43 | 2015-03-08T18:35:47.000Z | 2020-10-07T18:23:49.000Z | app/assets/javascripts/exchanges/broker_applicants.js | bgalloway1/enroll | e69c5af25278dfae17bc3db701e45f4bc9c4c7e1 | [
"Unlicense",
"MIT"
] | 911 | 2015-03-18T13:31:04.000Z | 2021-02-25T20:43:22.000Z | app/assets/javascripts/exchanges/broker_applicants.js | lisyk/enroll-copy-my | 8cf50e9e39a72977ef9002331bea3711e6ac3176 | [
"MIT",
"Unlicense"
] | 55 | 2015-03-06T14:20:53.000Z | 2020-10-27T20:43:04.000Z | function enableBrokerApplicantFilters() {
var url = '/exchanges/broker_applicants.js';
if( $('#broker_agency_profile_id').length ) {
url = $('#broker_agency_profile_id').attr("href") + ".js";
}
$('div[name=broker_applicants_tabs] > ').children().each( function() {
$(this).change(function(){
f... | 21.857143 | 72 | 0.54902 |
9913982f586c21197f49af95905dd2ff8781a156 | 993 | js | JavaScript | packages/create-remix/templates/express/server.js | stepri/remix | ad77263dd905c24d29c50437bebc0199c90f5f44 | [
"MIT"
] | 1 | 2022-03-07T09:56:14.000Z | 2022-03-07T09:56:14.000Z | packages/create-remix/templates/express/server.js | stepri/remix | ad77263dd905c24d29c50437bebc0199c90f5f44 | [
"MIT"
] | null | null | null | packages/create-remix/templates/express/server.js | stepri/remix | ad77263dd905c24d29c50437bebc0199c90f5f44 | [
"MIT"
] | 1 | 2022-03-08T23:32:29.000Z | 2022-03-08T23:32:29.000Z | import express from "express";
import compression from "compression";
import morgan from "morgan";
import { createRequestHandler } from "@remix-run/express";
import * as serverBuild from "@remix-run/dev/server-build";
const app = express();
app.use(compression());
// http://expressjs.com/en/advanced/best-practice-s... | 24.825 | 104 | 0.696878 |
9914516df11d0113e853baa0d6fdbfab17cf400f | 8,772 | js | JavaScript | test/common/tests.js | reg2005/throtty | 4f7aba495f610c7dbb79db8d596062c2d9e98ccd | [
"MIT"
] | 2 | 2018-11-21T14:07:19.000Z | 2021-08-22T14:27:40.000Z | test/common/tests.js | reg2005/throtty | 4f7aba495f610c7dbb79db8d596062c2d9e98ccd | [
"MIT"
] | null | null | null | test/common/tests.js | reg2005/throtty | 4f7aba495f610c7dbb79db8d596062c2d9e98ccd | [
"MIT"
] | 3 | 2019-12-05T23:31:15.000Z | 2022-03-05T08:31:34.000Z | 'use strict';
const Promise = require('bluebird');
const sinon = require('sinon');
const chai = require('chai');
const sinonChai = require('sinon-chai');
const uuid = require('uuid/v4');
const rateLimiter = require('../../index');
const expect = chai.expect;
chai.use(sinonChai);
async function runNTimesWithDelay(r... | 45.6875 | 221 | 0.49487 |
99150b23f151ac0da18bad7e4c6d66e2d9bf00c8 | 6,209 | js | JavaScript | public/javascripts/controllers/ndtController.js | carlosFattor/DoceTentacaoSlick | 61a235365e86289642a4f3b4af6542de87328ec8 | [
"Apache-2.0"
] | 4 | 2015-10-14T22:16:57.000Z | 2019-06-25T14:21:54.000Z | public/javascripts/controllers/ndtController.js | carlosFattor/DoceTentacaoSlick | 61a235365e86289642a4f3b4af6542de87328ec8 | [
"Apache-2.0"
] | null | null | null | public/javascripts/controllers/ndtController.js | carlosFattor/DoceTentacaoSlick | 61a235365e86289642a4f3b4af6542de87328ec8 | [
"Apache-2.0"
] | null | null | null | /**
* Created by carlos on 15/10/15.
*/
'use strict';
angular.module("ndt-app").controller("ndtController", function ($scope, listAPI) {
var filtro = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
$scope.infoNews= "Deixe o Seu Email";
$scope.error;
$scope.msgOk;... | 29.995169 | 102 | 0.532453 |
99153d0e0b361c4adcd2fd0b502457c97f18ae6d | 639 | js | JavaScript | src/common/js/flexible.js | pingshiguo/vue-find | e06e6a8a2f941547403642776de6a1792761056f | [
"MIT"
] | null | null | null | src/common/js/flexible.js | pingshiguo/vue-find | e06e6a8a2f941547403642776de6a1792761056f | [
"MIT"
] | null | null | null | src/common/js/flexible.js | pingshiguo/vue-find | e06e6a8a2f941547403642776de6a1792761056f | [
"MIT"
] | null | null | null | (function flexible (window, document) {
const root = document.documentElement;
const dpr = window.devicePixelRatio;
const setFontSize = () => {
let viewportWidth = root.getBoundingClientRect().width || 375;
viewportWidth = viewportWidth > 650 ? 650 : viewportWidth;
root.style.fontSize = `${viewportW... | 30.428571 | 68 | 0.699531 |
99154d9951441b660839d2a2276ef05242cd7fe4 | 17,834 | js | JavaScript | tests/slider/clientsideapi.js | davidda/kendo-ui-core | 1cd612b2ccc4d6bdfc222948b74af1c4d37e2d9f | [
"Apache-2.0"
] | 2,304 | 2015-01-04T13:49:57.000Z | 2022-03-29T22:48:20.000Z | tests/slider/clientsideapi.js | davidda/kendo-ui-core | 1cd612b2ccc4d6bdfc222948b74af1c4d37e2d9f | [
"Apache-2.0"
] | 5,952 | 2015-01-05T03:11:28.000Z | 2022-03-31T15:16:01.000Z | tests/slider/clientsideapi.js | davidda/kendo-ui-core | 1cd612b2ccc4d6bdfc222948b74af1c4d37e2d9f | [
"Apache-2.0"
] | 2,214 | 2015-01-03T14:30:19.000Z | 2022-03-28T18:59:18.000Z | (function() {
var Slider = kendo.ui.Slider;
function newSlider(options, sliderInput) {
var input = $(sliderInput || "<input id='slider'>").appendTo(Mocha.fixture)[0];
return new Slider(input, options);
}
describe("slider api", function() {
afterEach(function() {
ke... | 31.564602 | 148 | 0.539363 |
9916359c43ae07ff311ebfc2a00b642ad7e0c2a1 | 1,758 | js | JavaScript | src/_lib/MVC/View.js | amilajack/JDAW | b85c643a6566366a707f330c5daaf840a88e16ac | [
"MIT"
] | null | null | null | src/_lib/MVC/View.js | amilajack/JDAW | b85c643a6566366a707f330c5daaf840a88e16ac | [
"MIT"
] | null | null | null | src/_lib/MVC/View.js | amilajack/JDAW | b85c643a6566366a707f330c5daaf840a88e16ac | [
"MIT"
] | null | null | null | import Utils from "DAW/_lib/Utils"
import Event from "DAW/_lib/Event"
import vHTML from "DAW/_lib/external/cjs/vdom-virtualize"
import vDOM from "DAW/_lib/external/cjs/virtual-dom"
class View
{
$el = null
model = null
container = null
template = null
events = {}
constructor(model)
{
this.mode... | 16.903846 | 112 | 0.605233 |
991637c711f4013620222dd48c1f9da2f2868517 | 2,885 | js | JavaScript | lib/index.js | bmancini55/react-service-utils | 6bdc902b7142dcafea4fa4f8bfc2db5033c3b6ad | [
"MIT"
] | null | null | null | lib/index.js | bmancini55/react-service-utils | 6bdc902b7142dcafea4fa4f8bfc2db5033c3b6ad | [
"MIT"
] | null | null | null | lib/index.js | bmancini55/react-service-utils | 6bdc902b7142dcafea4fa4f8bfc2db5033c3b6ad | [
"MIT"
] | null | null | null |
module.exports = {
createResult,
getValidationErrors,
getFlash,
getPaging
};
/**
* Creates the result object that can be resolved
*
* @param {object} err
* @param {object} response
* @return {object} returns a uniform resolution object
*/
function createResult(error, response) {
let success =... | 20.607143 | 61 | 0.621144 |
9916c49cab979d05b699e6876b90c39d61a56b0a | 391 | js | JavaScript | src/index.js | maximturchenko/simple-react-app | 4d53d91bf8bb15a4541ef446da46bc70d424d1b3 | [
"MIT"
] | 1 | 2020-12-25T04:59:16.000Z | 2020-12-25T04:59:16.000Z | src/index.js | maximturchenko/simple-react-app | 4d53d91bf8bb15a4541ef446da46bc70d424d1b3 | [
"MIT"
] | null | null | null | src/index.js | maximturchenko/simple-react-app | 4d53d91bf8bb15a4541ef446da46bc70d424d1b3 | [
"MIT"
] | null | null | null | // Импортируем основное api React
import React from "react";
// Импортируем методы для работы с dom
import ReactDom from "react-dom";
// Импортируем наш компонент
import App from "./App";
// Подключили стили бутстрапа 4
import "./bootstrap.min.css";
// Наш компонент App выводим в тег с id root
// Рендерим компоне... | 17.772727 | 44 | 0.71867 |
991701ed4647a403330694864e88bff6bd1eceb5 | 20,724 | js | JavaScript | src/commands/admin/TestCommand.js | quenquentin/DraftBot-A-Discord-Adventure | a84ce4efd60b7bf3dc7fad958a92014cd627c8b8 | [
"MIT"
] | 1 | 2020-08-08T16:07:27.000Z | 2020-08-08T16:07:27.000Z | src/commands/admin/TestCommand.js | quenquentin/DraftBot-A-Discord-Adventure | a84ce4efd60b7bf3dc7fad958a92014cd627c8b8 | [
"MIT"
] | null | null | null | src/commands/admin/TestCommand.js | quenquentin/DraftBot-A-Discord-Adventure | a84ce4efd60b7bf3dc7fad958a92014cd627c8b8 | [
"MIT"
] | null | null | null | /**
* Cheat command for testers
* @param {("fr"|"en")} language - Language to use in the response
* @param {module:"discord.js".Message} message - Message from the discord server
* @param {String[]} args=[] - Additional arguments sent with the command
*/
const TestCommand = async (language, message, args) => {
... | 37.073345 | 81 | 0.371405 |
9917be91088839189c2c28e38785e13536f86f8b | 384 | js | JavaScript | JS Advanced/Classes and Members/dataClass.js | Tanya-Zheleva/SoftUni-JS-Core | 7bbe4b3dc619bc7c699aa69502090a88bce3ef0d | [
"MIT"
] | null | null | null | JS Advanced/Classes and Members/dataClass.js | Tanya-Zheleva/SoftUni-JS-Core | 7bbe4b3dc619bc7c699aa69502090a88bce3ef0d | [
"MIT"
] | null | null | null | JS Advanced/Classes and Members/dataClass.js | Tanya-Zheleva/SoftUni-JS-Core | 7bbe4b3dc619bc7c699aa69502090a88bce3ef0d | [
"MIT"
] | null | null | null | class HttpRequest {
constructor(method, uri, version, message, response, fulfilled = false) {
this.method = method;
this.uri = uri;
this.version = version;
this.message = message;
this.response = response;
this.fulfilled = fulfilled;
}
}
let request = new HttpReq... | 29.538462 | 77 | 0.611979 |
9918610d689c9b655abb12f14845022f45fd6875 | 403 | js | JavaScript | MyShoppingStoreApp/MyShoppingStore/wwwroot/lib/ckeditor/plugins/emoji/lang/fa.min.js | jdizon0721/ComITProjectPresentation | 16157e2f26266f34f55dd4cb9e0a34fdee6ed78f | [
"MIT"
] | null | null | null | MyShoppingStoreApp/MyShoppingStore/wwwroot/lib/ckeditor/plugins/emoji/lang/fa.min.js | jdizon0721/ComITProjectPresentation | 16157e2f26266f34f55dd4cb9e0a34fdee6ed78f | [
"MIT"
] | null | null | null | MyShoppingStoreApp/MyShoppingStore/wwwroot/lib/ckeditor/plugins/emoji/lang/fa.min.js | jdizon0721/ComITProjectPresentation | 16157e2f26266f34f55dd4cb9e0a34fdee6ed78f | [
"MIT"
] | null | null | null | CKEDITOR.plugins.setLang("emoji","fa",{searchPlaceholder:"جست و جوی ایموجی",searchLabel:"Input field responsible for searching and filtering emoji inside panel.",navigationLabel:"Groups navigation for emoji sections.",title:"لیست ایموجی",groups:{people:"افراد",nature:"طبیعت و حیوانات",food:"غذا و نوشیدنی",travel:"سفر و... | 403 | 403 | 0.774194 |
991913d11b57105f4ccf6ba32caef65ec238c818 | 150 | js | JavaScript | amd-modules/main.js | rongfengliang/javascript-bundlers | 6f8cfb16cb27652b605423d54db53106b8d35bfb | [
"MIT"
] | null | null | null | amd-modules/main.js | rongfengliang/javascript-bundlers | 6f8cfb16cb27652b605423d54db53106b8d35bfb | [
"MIT"
] | null | null | null | amd-modules/main.js | rongfengliang/javascript-bundlers | 6f8cfb16cb27652b605423d54db53106b8d35bfb | [
"MIT"
] | null | null | null | define(['./arith'], function (arith) {
'use strict';
document.querySelector('#result')
.textContent = '2 + 2 = ' + arith.add(2, 2);
});
| 25 | 54 | 0.553333 |
99197742297c21d9b404752f2cd39626981b1013 | 8,316 | js | JavaScript | src/sims/engine2D/PileAttractApp.js | mijuanlo/myphysicslab | 0a3cdf04bb43e036216a0f1f1a8e44b5e0ca340a | [
"Apache-2.0"
] | 273 | 2016-11-11T10:28:34.000Z | 2022-03-31T03:06:53.000Z | src/sims/engine2D/PileAttractApp.js | mijuanlo/myphysicslab | 0a3cdf04bb43e036216a0f1f1a8e44b5e0ca340a | [
"Apache-2.0"
] | 3 | 2017-11-19T17:56:12.000Z | 2021-09-09T00:19:51.000Z | src/sims/engine2D/PileAttractApp.js | mijuanlo/myphysicslab | 0a3cdf04bb43e036216a0f1f1a8e44b5e0ca340a | [
"Apache-2.0"
] | 70 | 2016-12-11T16:18:29.000Z | 2022-03-15T15:15:21.000Z | // Copyright 2016 Erik Neumann. All Rights Reserved.
//
// 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 applica... | 33.532258 | 87 | 0.72619 |
9919ded31a7fafa2f4e5ce6c0221d84346479c1e | 4,124 | js | JavaScript | vendor/assets/components/jsts-es/src/org/locationtech/jts/geomgraph/PlanarGraph.js | ekylibre/cartography | 0dc98ff4780486412bd455140b3a3babb54f62d0 | [
"MIT"
] | null | null | null | vendor/assets/components/jsts-es/src/org/locationtech/jts/geomgraph/PlanarGraph.js | ekylibre/cartography | 0dc98ff4780486412bd455140b3a3babb54f62d0 | [
"MIT"
] | 3 | 2018-01-31T17:31:40.000Z | 2021-05-07T11:57:49.000Z | vendor/assets/components/jsts-es/src/org/locationtech/jts/geomgraph/PlanarGraph.js | ekylibre/cartography | 0dc98ff4780486412bd455140b3a3babb54f62d0 | [
"MIT"
] | null | null | null | import Location from '../geom/Location';
import CGAlgorithms from '../algorithm/CGAlgorithms';
import Coordinate from '../geom/Coordinate';
import Node from './Node';
import extend from '../../../../extend';
import NodeMap from './NodeMap';
import DirectedEdge from './DirectedEdge';
import System from '../../../../java... | 28.839161 | 152 | 0.64937 |
991a82f67fd8afd75f7dbc9048bf50cef0160c61 | 2,146 | js | JavaScript | node_modules/@bochilteam/scraper/lib/cjs/encryptions/test.js | 01072007/Botz2 | 10ecdabc0ea707346f406f5d7f4b55eb1376ce8f | [
"MIT"
] | null | null | null | node_modules/@bochilteam/scraper/lib/cjs/encryptions/test.js | 01072007/Botz2 | 10ecdabc0ea707346f406f5d7f4b55eb1376ce8f | [
"MIT"
] | null | null | null | node_modules/@bochilteam/scraper/lib/cjs/encryptions/test.js | 01072007/Botz2 | 10ecdabc0ea707346f406f5d7f4b55eb1376ce8f | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const chai_1 = require("chai");
const index_js_1 = require("./index.js");
describe('Encryptions', () => {
describe('Base64', () => {
it('From string to base64', done => {
try {
const res = (0, in... | 33.53125 | 88 | 0.403541 |
991ab910ac951370e9ca0649fbc1317660e54fed | 545 | js | JavaScript | docs/precache-manifest.f8b17331ffd34652877356b042b9c81e.js | carmen-tm/f-online-pokemon-carmen-tm | 5eb7df49ffb5be6d6cfa977ae364c6c038b6acb7 | [
"MIT"
] | 1 | 2019-06-20T09:17:17.000Z | 2019-06-20T09:17:17.000Z | docs/precache-manifest.f8b17331ffd34652877356b042b9c81e.js | Adalab/f-online-pokemon-carmen-tm | 5eb7df49ffb5be6d6cfa977ae364c6c038b6acb7 | [
"MIT"
] | 9 | 2019-06-20T10:02:01.000Z | 2021-01-28T10:47:12.000Z | docs/precache-manifest.f8b17331ffd34652877356b042b9c81e.js | carmen-tm/f-online-pokemon-carmen-tm | 5eb7df49ffb5be6d6cfa977ae364c6c038b6acb7 | [
"MIT"
] | 1 | 2019-06-29T18:09:29.000Z | 2019-06-29T18:09:29.000Z | self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "ace772648a0e6dc94ee6382fe9e65089",
"url": "./index.html"
},
{
"revision": "3e984a769f531a18e98d",
"url": "./static/css/main.731409ef.chunk.css"
},
{
"revision": "5e9d2e38914a9e4e516e",
"url": "./static/js... | 24.772727 | 66 | 0.614679 |
991b576842def34bce80c6fe281a4fff6c0c7e7f | 50,323 | js | JavaScript | serverless/lambda/index.js | aredhead1370/amazon-ivs-ugc-web-demo | 5ef7ada5deb1d7b461483cf1e31b492770adb538 | [
"MIT-0",
"MIT"
] | 14 | 2020-12-02T22:49:25.000Z | 2021-12-05T06:41:11.000Z | serverless/lambda/index.js | anoop4bhat/UGCAppRepo | cea2193251615679b4909f9ef1fc4c78c170b69c | [
"MIT-0",
"MIT"
] | 6 | 2020-12-14T17:33:56.000Z | 2022-03-02T01:40:32.000Z | serverless/lambda/index.js | anoop4bhat/UGCAppRepo | cea2193251615679b4909f9ef1fc4c78c170b69c | [
"MIT-0",
"MIT"
] | 10 | 2021-02-20T17:04:58.000Z | 2022-03-01T04:10:40.000Z | const https = require('https');
const AWS = require('aws-sdk');
const jwt = require('jsonwebtoken');
const jwkToPem = require('jwk-to-pem');
const region = 'us-west-2';
const cognitoISP = new AWS.CognitoIdentityServiceProvider({
apiVersion: '2016-04-18',
region
});
const ddb = new AWS.DynamoDB();
const ivs = new A... | 28.560159 | 134 | 0.602766 |
991b925106c50756054f62a552113e84ad1acf4c | 2,091 | js | JavaScript | scripts/fix-release-notes-ci.js | ssbc/ssb-backup-tool | ce8c9b1ebab4c4e770e064b6703bd7940ecded59 | [
"MIT"
] | 4 | 2019-09-24T15:51:57.000Z | 2021-03-13T21:49:43.000Z | scripts/fix-release-notes-ci.js | ssbc/ssb-backup-tool | ce8c9b1ebab4c4e770e064b6703bd7940ecded59 | [
"MIT"
] | 6 | 2020-12-17T14:56:46.000Z | 2020-12-17T14:56:55.000Z | scripts/fix-release-notes-ci.js | ssbc/ssb-backup-tool | ce8c9b1ebab4c4e770e064b6703bd7940ecded59 | [
"MIT"
] | null | null | null | /**
* Picks the first release draft whose name is the same as the current version listed
* in the _package.json_ file and updates its body.
*
* Requires that Travis CI exports:
*
* - `GH_TOKEN=<personal token>`
*
* this is tied to the SSBC collaborator account called `hermes-bot`, its user is hardcoded in the U... | 31.681818 | 135 | 0.659971 |
991c094637b521962b16a5a4061064341258138e | 48 | js | JavaScript | src/paku.js | drihu/paku | c6c30d93a6c335ea1866c0c13db805ed4dff09a1 | [
"MIT"
] | null | null | null | src/paku.js | drihu/paku | c6c30d93a6c335ea1866c0c13db805ed4dff09a1 | [
"MIT"
] | null | null | null | src/paku.js | drihu/paku | c6c30d93a6c335ea1866c0c13db805ed4dff09a1 | [
"MIT"
] | null | null | null | import Card from './card';
window.Paku = Card;
| 12 | 26 | 0.666667 |
991c55e50d831ae2be28eadfbfb560cd9257744f | 1,756 | js | JavaScript | frontend/src/components/pairwise-form/index.js | findy-network/findy-issuer-tool | c0ee1f825a7767dd7048eaf9c08982c99901c4ee | [
"Apache-2.0"
] | null | null | null | frontend/src/components/pairwise-form/index.js | findy-network/findy-issuer-tool | c0ee1f825a7767dd7048eaf9c08982c99901c4ee | [
"Apache-2.0"
] | 2 | 2022-03-07T11:31:57.000Z | 2022-03-07T11:33:37.000Z | frontend/src/components/pairwise-form/index.js | findy-network/findy-issuer-tool | c0ee1f825a7767dd7048eaf9c08982c99901c4ee | [
"Apache-2.0"
] | null | null | null | import React, { useState } from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import TextField from '../text-input';
import EditorButtons from '../editor-buttons';
import DropDown from '../drop-down';
const Container = styled.div``;
const PairwiseForm = ({ credDefs, onSend, def... | 28.786885 | 79 | 0.654897 |
991c6fb5910cb0e8fadf8be46ad069dc439aa7ea | 642 | js | JavaScript | src/store/store.js | chhunsocheat/afterCorona | 1beb8384b58946a6b89d7faf849481f5846c9ef3 | [
"MIT"
] | null | null | null | src/store/store.js | chhunsocheat/afterCorona | 1beb8384b58946a6b89d7faf849481f5846c9ef3 | [
"MIT"
] | 4 | 2021-03-10T14:10:27.000Z | 2022-02-27T02:51:43.000Z | src/store/store.js | chhunsocheat/afterCorona | 1beb8384b58946a6b89d7faf849481f5846c9ef3 | [
"MIT"
] | 1 | 2020-05-08T03:31:50.000Z | 2020-05-08T03:31:50.000Z | import Vue from 'vue'
import Vuex from 'vuex'
import db from "../firebase/init"
import router from '../router/index'
import firebase from 'firebase'
import auth from './modules/auth'
import imagePosts from './modules/imagePost'
import createPersistedState from 'vuex-persistedstate';
Vue.use(Vuex)
export const strict = ... | 17.833333 | 55 | 0.580997 |
991ccd1e28258e81c26afb7700de13e510627f58 | 509 | js | JavaScript | build/module/lib/math/quadVectorE2.js | geometryzen/davinci-eight | 2260ee7bd6a396ff2e4da1d56e0833b5574c6d23 | [
"MIT"
] | 21 | 2015-05-20T10:21:15.000Z | 2021-08-11T11:00:05.000Z | build/module/lib/math/quadVectorE2.js | geometryzen/davinci-eight | 2260ee7bd6a396ff2e4da1d56e0833b5574c6d23 | [
"MIT"
] | 11 | 2020-06-17T01:08:32.000Z | 2021-04-02T14:16:28.000Z | build/module/lib/math/quadVectorE2.js | geometryzen/davinci-eight | 2260ee7bd6a396ff2e4da1d56e0833b5574c6d23 | [
"MIT"
] | 5 | 2015-11-23T02:59:32.000Z | 2021-10-30T17:34:09.000Z | import { isDefined } from '../checks/isDefined';
import { isNumber } from '../checks/isNumber';
import { dotVectorCartesianE2 } from '../math/dotVectorCartesianE2';
/**
* @hidden
*/
export function quadVectorE2(vector) {
if (isDefined(vector)) {
var x = vector.x;
var y = vector.y;
if (isNu... | 23.136364 | 68 | 0.544204 |
991d097616ce0dd6df68b8c7e197b575628fdaef | 1,732 | js | JavaScript | svg-sandbox/node_modules/@pentaho/viz-api/pentaho/visual/color/palettes/divergentRyg3.js | webdetails/Viz-SVG | 7b5e80b7706b3b0897bec5fc65f11ab220cb6557 | [
"MIT"
] | 1 | 2019-12-27T17:05:08.000Z | 2019-12-27T17:05:08.000Z | svg-sandbox/node_modules/@pentaho/viz-api/pentaho/visual/color/palettes/divergentRyg3.js | webdetails/Viz-SVG | 7b5e80b7706b3b0897bec5fc65f11ab220cb6557 | [
"MIT"
] | null | null | null | svg-sandbox/node_modules/@pentaho/viz-api/pentaho/visual/color/palettes/divergentRyg3.js | webdetails/Viz-SVG | 7b5e80b7706b3b0897bec5fc65f11ab220cb6557 | [
"MIT"
] | 3 | 2017-11-22T18:07:38.000Z | 2021-05-29T20:05:39.000Z | /*!
* Copyright 2017 Hitachi Vantara. All rights reserved.
*
* 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 appli... | 33.960784 | 121 | 0.661085 |
991d333629e17ed23a0f65020ed4ba8c03d541ff | 2,045 | js | JavaScript | config/webpack.common.js | OctoConsulting/sam-ui-elements | 5880b12b956b403dce5ca5be5bc30de01e515fcc | [
"MIT"
] | null | null | null | config/webpack.common.js | OctoConsulting/sam-ui-elements | 5880b12b956b403dce5ca5be5bc30de01e515fcc | [
"MIT"
] | null | null | null | config/webpack.common.js | OctoConsulting/sam-ui-elements | 5880b12b956b403dce5ca5be5bc30de01e515fcc | [
"MIT"
] | null | null | null | /**
* @author: @AngularClass
*/
const webpack = require('webpack');
const helpers = require('./helpers');
/*
* Webpack configuration
*
* See: http://webpack.github.io/docs/configuration.html#cli
*/
module.exports = {
/*
* Cache generated modules and chunks to improve performance for multiple incremental b... | 25.246914 | 95 | 0.628362 |
991d5c7a6ff6c9021611049a8b45916c242a0b29 | 1,188 | js | JavaScript | src/js/components/Dashboard/FileInsertLayer.js | nicholas-b-carter/grommet-cms-boilerplate | ecd9163e4e3846f4952787cd5550be7fb921679a | [
"Apache-2.0"
] | 12 | 2017-01-20T23:35:32.000Z | 2017-09-01T03:20:12.000Z | src/js/components/Dashboard/FileInsertLayer.js | nicholas-b-carter/grommet-cms-boilerplate | ecd9163e4e3846f4952787cd5550be7fb921679a | [
"Apache-2.0"
] | 23 | 2017-01-23T15:38:32.000Z | 2017-02-05T23:27:19.000Z | src/js/components/Dashboard/FileInsertLayer.js | nicholas-b-carter/grommet-cms-boilerplate | ecd9163e4e3846f4952787cd5550be7fb921679a | [
"Apache-2.0"
] | 4 | 2017-04-02T21:30:34.000Z | 2020-12-15T16:55:33.000Z | import React from 'react';
import Layer from 'grommet/components/Layer';
import Box from 'grommet/components/Box';
import Form from 'grommet/components/Form';
import Header from 'grommet/components/Header';
import FormFields from 'grommet/components/FormFields';
import FormField from 'grommet/components/FormField';
im... | 27 | 73 | 0.627104 |
991dfbb66720ccf0656226dba60c589d165d33aa | 225 | js | JavaScript | src/components/BeforeLogin/Pages/AuthButton.js | MatthieuBenierPisani/app-web-be | 9a89ecfe69d7f18effef8a295a47bf4c4dee34ec | [
"MIT"
] | null | null | null | src/components/BeforeLogin/Pages/AuthButton.js | MatthieuBenierPisani/app-web-be | 9a89ecfe69d7f18effef8a295a47bf4c4dee34ec | [
"MIT"
] | null | null | null | src/components/BeforeLogin/Pages/AuthButton.js | MatthieuBenierPisani/app-web-be | 9a89ecfe69d7f18effef8a295a47bf4c4dee34ec | [
"MIT"
] | null | null | null | import React from "react";
const AuthButton = props => {
let { isLoggedIn } = props;
if (isLoggedIn) {
return <button>Logout</button>;
} else {
return <button>Login</button>;
}
};
export default AuthButton; | 17.307692 | 35 | 0.64 |
991e5163adc7b28319f9d027d720d9a2ebe85f8f | 646 | js | JavaScript | src/main/webapp/js/base.js | cclaaaaa/weibo | 56d1f299c1300196551d5ae2bd749c0d845a1560 | [
"Apache-2.0"
] | 4 | 2019-02-14T06:45:30.000Z | 2020-12-13T06:46:04.000Z | src/main/webapp/js/base.js | cclaaaaa/weibo | 56d1f299c1300196551d5ae2bd749c0d845a1560 | [
"Apache-2.0"
] | 4 | 2020-03-04T22:08:13.000Z | 2021-12-09T20:47:08.000Z | src/main/webapp/js/base.js | cclaaaaa/weibo | 56d1f299c1300196551d5ae2bd749c0d845a1560 | [
"Apache-2.0"
] | 1 | 2020-05-18T04:19:02.000Z | 2020-05-18T04:19:02.000Z | $(document).ready(function() {
$("#bt0").click(function() {
$("#com0").toggle();
});
$("#bt1").click(function() {
$("#com1").toggle();
});
$("#bt2").click(function() {
$("#com2").toggle();
});
$("#bt3").click(function() {
$("#com3").toggle();
});
$("#bt4").click(function() {
$("#com4").... | 19.575758 | 31 | 0.434985 |
991ecb106e8e0f676a391c706980674aa9b814f5 | 2,164 | js | JavaScript | frontend/src/components/HomeScreen/FooterSection/FooterSection.js | negiaditi/Mern_Organic-Origins | c6b9ed85da57a7590a1fe6682f5518d4c44ed16a | [
"MIT"
] | null | null | null | frontend/src/components/HomeScreen/FooterSection/FooterSection.js | negiaditi/Mern_Organic-Origins | c6b9ed85da57a7590a1fe6682f5518d4c44ed16a | [
"MIT"
] | null | null | null | frontend/src/components/HomeScreen/FooterSection/FooterSection.js | negiaditi/Mern_Organic-Origins | c6b9ed85da57a7590a1fe6682f5518d4c44ed16a | [
"MIT"
] | null | null | null | import styles from "./footer-section.module.scss";
const FooterSection = () => {
return (
<footer className={styles.footer}>
<div className={styles.footer_logoBox}>Organic Origins</div>
<div className={styles.row}>
<div className={styles.col_1_of_2}>
<div className={styles.footer_na... | 34.349206 | 78 | 0.502311 |
991fdada79f9aae32b716e692b0f7d071d15d812 | 1,220 | js | JavaScript | test/specs/index.spec.js | fintechdev/x2-service-i18n | 0721881def07c77c3fb41d88ac1b2060d04e5b75 | [
"MIT"
] | null | null | null | test/specs/index.spec.js | fintechdev/x2-service-i18n | 0721881def07c77c3fb41d88ac1b2060d04e5b75 | [
"MIT"
] | null | null | null | test/specs/index.spec.js | fintechdev/x2-service-i18n | 0721881def07c77c3fb41d88ac1b2060d04e5b75 | [
"MIT"
] | null | null | null | /* global window describe it beforeEach assert */
import i18nService from '../../src';
const ES = 'es';
const EN = 'en';
describe('Service -> i18n', () => {
beforeEach(() => {
window.localStorage.clear();
});
describe('setLanguage(lang)', () => {
it('should return and set given language', () => {
... | 23.461538 | 59 | 0.604918 |
9920f67327dc53524400808e2b86bab8a7aec2f6 | 1,452 | js | JavaScript | proto/wtools/atop/will.test/_asset/dos/.will/hook/GitUncommitted.js | JackieJoo/willbe | 42eca65f879326eb8d6c54def119dbfaf9375d82 | [
"MIT"
] | null | null | null | proto/wtools/atop/will.test/_asset/dos/.will/hook/GitUncommitted.js | JackieJoo/willbe | 42eca65f879326eb8d6c54def119dbfaf9375d82 | [
"MIT"
] | null | null | null | proto/wtools/atop/will.test/_asset/dos/.will/hook/GitUncommitted.js | JackieJoo/willbe | 42eca65f879326eb8d6c54def119dbfaf9375d82 | [
"MIT"
] | null | null | null |
function onModule( context )
{
let o = context.request.map;
let _ = context.tools;
let logger = context.logger;
let fileProvider = context.will.fileProvider;
let path = context.will.fileProvider.path;
/* read stats to fix for windows to update edit time of hard linked files */
if( process.platform === '... | 26.888889 | 83 | 0.726584 |
9921a6a20d63bd9b188aa433f8dd2c176823bd96 | 883 | js | JavaScript | client/src/components/Notification.js | SombreroElGringo/Twitter | f681d6a6817d3d0f4d7b3de332be3a4dd1da4622 | [
"MIT"
] | null | null | null | client/src/components/Notification.js | SombreroElGringo/Twitter | f681d6a6817d3d0f4d7b3de332be3a4dd1da4622 | [
"MIT"
] | null | null | null | client/src/components/Notification.js | SombreroElGringo/Twitter | f681d6a6817d3d0f4d7b3de332be3a4dd1da4622 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import moment from 'moment';
import 'moment/locale/fr';
export default class Notification extends Component {
render() {
const { user_uid, post_id, target_uid, target_username, type, createdAt} = this.props.data;
return (
<div className="_notification">... | 35.32 | 116 | 0.493771 |
9921addc813ffb231fe882aa31b6818502e6ebff | 1,708 | js | JavaScript | input/tasks/scripts.js | onekin/FeedbackSPL | 8ee6295b1e12eb0b59ac7c3fb11acc0d395f9855 | [
"MIT"
] | null | null | null | input/tasks/scripts.js | onekin/FeedbackSPL | 8ee6295b1e12eb0b59ac7c3fb11acc0d395f9855 | [
"MIT"
] | null | null | null | input/tasks/scripts.js | onekin/FeedbackSPL | 8ee6295b1e12eb0b59ac7c3fb11acc0d395f9855 | [
"MIT"
] | null | null | null | import gulp from 'gulp'
import gulpif from 'gulp-if'
import { log, colors } from 'gulp-util'
import named from 'vinyl-named'
import webpack from 'webpack'
import gulpWebpack from 'webpack-stream'
import plumber from 'gulp-plumber'
import livereload from 'gulp-livereload'
import args from './lib/args'
const ENV = args.... | 28 | 105 | 0.562061 |
9921ed9975a0cb77facb358793f56c03ae28dbbe | 24,991 | js | JavaScript | static/scripts/gis/openlayers/lib/OpenLayers/Format/WMC/v1.js | flavour/lacity | fd1f1cccdcea64d07143b29d4f88996e3af35c4b | [
"MIT"
] | null | null | null | static/scripts/gis/openlayers/lib/OpenLayers/Format/WMC/v1.js | flavour/lacity | fd1f1cccdcea64d07143b29d4f88996e3af35c4b | [
"MIT"
] | null | null | null | static/scripts/gis/openlayers/lib/OpenLayers/Format/WMC/v1.js | flavour/lacity | fd1f1cccdcea64d07143b29d4f88996e3af35c4b | [
"MIT"
] | null | null | null | /* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* @requires OpenLayers/Format/WMC.js
* @requires OpenLayers/For... | 29.893541 | 95 | 0.552439 |
9921fd6c592f94e8d0301ad5467b272d45a5f179 | 2,139 | js | JavaScript | pages.js | DecisionSystemsGroup/jekyll-editor | b032f4a6d0a3f89d3d21f4ddb0bc3d3ad66aaf19 | [
"MIT"
] | null | null | null | pages.js | DecisionSystemsGroup/jekyll-editor | b032f4a6d0a3f89d3d21f4ddb0bc3d3ad66aaf19 | [
"MIT"
] | null | null | null | pages.js | DecisionSystemsGroup/jekyll-editor | b032f4a6d0a3f89d3d21f4ddb0bc3d3ad66aaf19 | [
"MIT"
] | null | null | null | const pages = [
{
name: 'post',
hasText: true,
elements: [
{
name: 'layout',
default: 'post'
},
{
name: 'title',
default: ''
},
{
name: 'author',
default: ''
},
{
name: 'tags',
default: '[dsg]'
},
{
name: 'language',
default: 'english'
},
{... | 12.885542 | 71 | 0.430108 |
992414b3f44c9c4d39118b85c21791462ed3057c | 10,852 | js | JavaScript | build/static/js/main.0e310904.chunk.js | Iryna1320/goit-react-hw-08-phonebook | 7486cdffca31107c79883f4bba820ae5bd0b9b9d | [
"MIT"
] | null | null | null | build/static/js/main.0e310904.chunk.js | Iryna1320/goit-react-hw-08-phonebook | 7486cdffca31107c79883f4bba820ae5bd0b9b9d | [
"MIT"
] | null | null | null | build/static/js/main.0e310904.chunk.js | Iryna1320/goit-react-hw-08-phonebook | 7486cdffca31107c79883f4bba820ae5bd0b9b9d | [
"MIT"
] | null | null | null | (this["webpackJsonpgoit-react-hw-08-phonebook"]=this["webpackJsonpgoit-react-hw-08-phonebook"]||[]).push([[1],{10:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return S})),r.d(e,"c",(function(){return E}));var n=r(4),c={registerRequest:Object(n.b)("auth/registerRequest"),registerS... | 5,426 | 10,804 | 0.689827 |
99243189adb39e32ace8ad9e97f4aef033942ded | 798 | js | JavaScript | packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-misc/valid-expression-formats/output.js | ozanhonamlioglu/babel | 2671c986c24df4a9edca30aba029aec170ea3d12 | [
"MIT"
] | 1 | 2022-03-20T23:22:48.000Z | 2022-03-20T23:22:48.000Z | packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-misc/valid-expression-formats/output.js | ozanhonamlioglu/babel | 2671c986c24df4a9edca30aba029aec170ea3d12 | [
"MIT"
] | null | null | null | packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-misc/valid-expression-formats/output.js | ozanhonamlioglu/babel | 2671c986c24df4a9edca30aba029aec170ea3d12 | [
"MIT"
] | null | null | null | var _initClass, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _initProto;
const dec = () => {};
let _Foo;
_dec = call()
_dec2 = chain.expr()
_dec3 = arbitrary + expr
_dec4 = array[expr]
_dec5 = call()
_dec6 = chain.expr()
_dec7 = arbitrary + expr
_dec8 = array[expr]
class Foo {
static {
[_initProto, ... | 17.733333 | 152 | 0.590226 |
992473e7d5898482668bc79d4af24bc1a471c559 | 556 | js | JavaScript | tasks/options/copy.js | erikwiffin/gridforms-chartjs-demo | 76f62ad3a56cfb034c51e6a0693d53e85fce91ba | [
"MIT"
] | 1 | 2020-10-31T23:18:09.000Z | 2020-10-31T23:18:09.000Z | tasks/options/copy.js | erikwiffin/gridforms-chartjs-demo | 76f62ad3a56cfb034c51e6a0693d53e85fce91ba | [
"MIT"
] | null | null | null | tasks/options/copy.js | erikwiffin/gridforms-chartjs-demo | 76f62ad3a56cfb034c51e6a0693d53e85fce91ba | [
"MIT"
] | null | null | null | // Copies remaining files to places other tasks can use.
module.exports = {
dist: {
files: [{
expand: true,
dot: true,
cwd: '<%= cfg.assets %>/bower_components/bootstrap/dist',
src: ['fonts/*.*'],
dest: '<%= cfg.dist %>'
}]
},
buil... | 21.384615 | 69 | 0.370504 |
9925308f57ba15d4f68e21dbaea7e6247afa3202 | 1,325 | js | JavaScript | frontend/src/components/profileComponents/Info.js | arefeh-htmi/jobino | d006aa8a98bbfd025ff150736ea16f030dea9a9d | [
"MIT"
] | 3 | 2020-12-18T23:08:58.000Z | 2021-05-19T18:45:37.000Z | frontend/src/components/profileComponents/Info.js | arefeh-htmi/jobino | d006aa8a98bbfd025ff150736ea16f030dea9a9d | [
"MIT"
] | null | null | null | frontend/src/components/profileComponents/Info.js | arefeh-htmi/jobino | d006aa8a98bbfd025ff150736ea16f030dea9a9d | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import isEmpty from '../../validation/isEmpty';
class Info extends Component {
render() {
const { profile } = this.props;
const fname = profile.user.name
const skills = profile.skills.map((skill, index) => (
<d... | 26.5 | 123 | 0.526792 |
99256a77e95f6e4d1563a7f4edec9038cb01b03f | 22,212 | js | JavaScript | src/pages/TaxForm/TaxBB1.js | Frostrab/VatLabel | e05ab009ace492ce1a54b10b9702cc3107cefbf1 | [
"MIT"
] | null | null | null | src/pages/TaxForm/TaxBB1.js | Frostrab/VatLabel | e05ab009ace492ce1a54b10b9702cc3107cefbf1 | [
"MIT"
] | null | null | null | src/pages/TaxForm/TaxBB1.js | Frostrab/VatLabel | e05ab009ace492ce1a54b10b9702cc3107cefbf1 | [
"MIT"
] | null | null | null | import React, { PureComponent } from 'react';
import {
Card,
Button,
Form,
Icon,
Col,
Row,
DatePicker,
TimePicker,
Input,
Select,
Popover,
Tabs,
} from 'antd';
import { connect } from 'dva';
import FooterToolbar from '@/components/FooterToolbar';
import PageHeaderWrapper ... | 42.228137 | 130 | 0.32667 |
992692d98af35c2cdcdbc682f30d2b76a4d3a3b2 | 885 | js | JavaScript | static/js/DataLoadingController.js | appfirst/correlate | f82fe35da220eac2d722df3521fcd1e4a88f955d | [
"MIT"
] | null | null | null | static/js/DataLoadingController.js | appfirst/correlate | f82fe35da220eac2d722df3521fcd1e4a88f955d | [
"MIT"
] | null | null | null | static/js/DataLoadingController.js | appfirst/correlate | f82fe35da220eac2d722df3521fcd1e4a88f955d | [
"MIT"
] | null | null | null | define([], function() {
var DataLoadingController = Backbone.View.extend({
initialize: function(options) {
this.listenTo(options.watchedResources, 'data-fetch-start', this.requestStart);
this.listenTo(options.watchedResources, 'data-fetch-page', this.requestMore);
this.listenTo(options.watchedResources, 'da... | 26.818182 | 82 | 0.675706 |
99272d54e88f4a449f61a5ff2fede365b668fc68 | 452 | js | JavaScript | client/index.js | Trip-Tracker/triptracker | 7521af674e5ccb2c3d7ebc00af3f452111a0fec4 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | client/index.js | Trip-Tracker/triptracker | 7521af674e5ccb2c3d7ebc00af3f452111a0fec4 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | client/index.js | Trip-Tracker/triptracker | 7521af674e5ccb2c3d7ebc00af3f452111a0fec4 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | import React from "react";
import { render } from "react-dom";
import { Provider } from "react-redux";
import store from './store.js';
//Import Components
import App from "./components/App.jsx";
// uncomment so that webpack can bundle styles
import styles from "./css/application.css";
// render(<App />, document.get... | 22.6 | 52 | 0.688053 |
9927d23c42246dc511ddfad55f3867be458dee54 | 125 | js | JavaScript | source/task/index.js | entoj/entoj-js | 28fcc275d22994dd4a6bbe7dae4c03022d80a2b8 | [
"Apache-2.0"
] | 1 | 2020-07-27T18:32:17.000Z | 2020-07-27T18:32:17.000Z | source/task/index.js | entoj/entoj-js | 28fcc275d22994dd4a6bbe7dae4c03022d80a2b8 | [
"Apache-2.0"
] | 3 | 2019-07-01T12:30:38.000Z | 2021-03-31T20:58:12.000Z | source/task/index.js | entoj/entoj-js | 28fcc275d22994dd4a6bbe7dae4c03022d80a2b8 | [
"Apache-2.0"
] | 1 | 2019-07-01T10:41:09.000Z | 2019-07-01T10:41:09.000Z |
/**
* @namespace task
*/
module.exports =
{
PostProcessJsTask: require('./PostProcessJsTask.js').PostProcessJsTask
};
| 13.888889 | 74 | 0.688 |
99298544c03f7f95e37b0f302e6911bc66076125 | 193,387 | js | JavaScript | static/js/xtk/xtk_edge.js | RitikGandhi21/3D-Medical-Image-Modelling | 3e1b1614b78189fbe1966a58315157af7d3cf62f | [
"MIT"
] | 24 | 2017-12-16T08:34:29.000Z | 2021-09-27T22:37:26.000Z | static/js/xtk/xtk_edge.js | RitikGandhi21/3D-Medical-Image-Modelling | 3e1b1614b78189fbe1966a58315157af7d3cf62f | [
"MIT"
] | 1 | 2018-06-21T09:15:47.000Z | 2018-06-21T09:15:47.000Z | static/js/xtk/xtk_edge.js | RitikGandhi21/3D-Medical-Image-Modelling | 3e1b1614b78189fbe1966a58315157af7d3cf62f | [
"MIT"
] | 10 | 2018-04-19T10:03:42.000Z | 2020-09-26T16:55:32.000Z | /*
*
* xxxxxxx xxxxxxx
* x:::::x x:::::x
* x:::::x x:::::x
* x:::::xx:::::x
* x::::::::::x
* x::::::::x
* x::::::::x
* x::::::::::x
* ... | 459.351544 | 1,797 | 0.647241 |
992a26598d0995dac84ce2e05b3e9b77eaba6fd5 | 375 | js | JavaScript | utils/api.js | Moesaidi76/README_Generator | 72cdd7f6c307bbff271e37c8daa1e2a64ae8078a | [
"MIT"
] | null | null | null | utils/api.js | Moesaidi76/README_Generator | 72cdd7f6c307bbff271e37c8daa1e2a64ae8078a | [
"MIT"
] | null | null | null | utils/api.js | Moesaidi76/README_Generator | 72cdd7f6c307bbff271e37c8daa1e2a64ae8078a | [
"MIT"
] | null | null | null |
const axios = require("axios");
require('dotenv').config();
const token = process.env.TOKEN;
const api = {
async getUser(username) {
const res = await axios({
headers:{'Authorization': `token ${token}`},
url: `https://api.github.com/users/${username}`,
method: 'GET'})
const user = res.d... | 19.736842 | 54 | 0.602667 |
992a5be0217d69ad3395bab46fd4ca092403889b | 2,821 | js | JavaScript | apiproxies/npm-private-repo-proxy/grunt/apigee-config.js | mpramod16/apigee-tutorials | 3774501ca30db871c375b7fe62f32ff1bdecc6c4 | [
"MIT"
] | 55 | 2015-01-28T23:09:40.000Z | 2021-12-23T03:52:51.000Z | apiproxies/npm-private-repo-proxy/grunt/apigee-config.js | brualves/apigee-tutorials | 4bd97cfe1294c24bb536667a70ec9d1cffa32e5d | [
"MIT"
] | 4 | 2016-04-14T14:46:35.000Z | 2021-08-04T16:22:59.000Z | apiproxies/npm-private-repo-proxy/grunt/apigee-config.js | brualves/apigee-tutorials | 4bd97cfe1294c24bb536667a70ec9d1cffa32e5d | [
"MIT"
] | 68 | 2015-06-29T22:54:04.000Z | 2022-01-23T17:26:35.000Z | exports.profiles = function(grunt){
return {
env : grunt.option('env'), // replace with environment
'test' : {
apiproxy : 'npm-private-repo-proxy',
org : 'testmyapi', // replace with organization
env : 'test', // replace with environment
url_mgmt : 'https://api.enterprise.apigee.com', ... | 49.491228 | 171 | 0.672457 |
992b192262620cd437df0091ac3972caa34525d7 | 235 | js | JavaScript | gulp/task/jade.js | gaowhen/task-master | ff5e8baf9fa99815bea582fd8868bab978f63544 | [
"MIT"
] | 22 | 2015-02-09T05:58:39.000Z | 2021-03-08T17:35:49.000Z | gulp/task/jade.js | gaowhen/task-master | ff5e8baf9fa99815bea582fd8868bab978f63544 | [
"MIT"
] | 1 | 2016-01-11T05:15:59.000Z | 2016-01-11T06:01:55.000Z | gulp/task/jade.js | gaowhen/task-master | ff5e8baf9fa99815bea582fd8868bab978f63544 | [
"MIT"
] | 7 | 2015-02-09T06:07:43.000Z | 2016-08-22T07:58:34.000Z | var gulp = require('gulp');
var config = require('config').gulp;
var jade = require('gulp-jade');
gulp.task('jade', function() {
gulp.src(config.src.view + '/**/*.jade')
.pipe(jade())
.pipe(gulp.dest(config.dist.view));
}); | 26.111111 | 42 | 0.612766 |
992b505de03686d46f5fedc11ba266d929dad493 | 3,356 | js | JavaScript | scripts/prepare/index.js | billfienberg/urql | f504d7c2dc1cf5519767e83de45a21f822255043 | [
"MIT"
] | 1 | 2021-09-26T17:13:34.000Z | 2021-09-26T17:13:34.000Z | scripts/prepare/index.js | billfienberg/urql | f504d7c2dc1cf5519767e83de45a21f822255043 | [
"MIT"
] | null | null | null | scripts/prepare/index.js | billfienberg/urql | f504d7c2dc1cf5519767e83de45a21f822255043 | [
"MIT"
] | 1 | 2020-05-17T06:17:18.000Z | 2020-05-17T06:17:18.000Z | #!/usr/bin/env node
const invariant = require('invariant');
const path = require('path');
const fs = require('fs');
const cwd = process.cwd();
const workspaceRoot = path.resolve(__dirname, '../../');
const pkg = require(path.resolve(cwd, 'package.json'));
const hasReact = !!pkg.dependencies.react || !!pkg.peerDepende... | 26.634921 | 101 | 0.638856 |
992c2776cdeeb96dc58ca9bc874770da5a55660d | 291 | js | JavaScript | jest.config.js | 372623460jh/learn-rollup | 490476a4b1b94cbfd285d334596b413bda3da51b | [
"MIT"
] | 1 | 2021-05-26T15:06:11.000Z | 2021-05-26T15:06:11.000Z | jest.config.js | 372623460jh/learn-rollup | 490476a4b1b94cbfd285d334596b413bda3da51b | [
"MIT"
] | null | null | null | jest.config.js | 372623460jh/learn-rollup | 490476a4b1b94cbfd285d334596b413bda3da51b | [
"MIT"
] | null | null | null | module.exports = {
// Automatically clear mock calls and instances between every test
clearMocks: true,
// 是否收集测试时的覆盖率信息
collectCoverage: true,
// Jest输出覆盖信息文件的目录。
coverageDirectory: 'coverage',
// 排除出coverage的文件列表
coveragePathIgnorePatterns: ['<rootDir>/node_modules/'],
};
| 26.454545 | 68 | 0.738832 |
992c81c8f4bfe350ed0b20be857a9215bf3c4bfc | 979 | js | JavaScript | node_modules/@react-icons/all-files/ai/AiOutlineRedEnvelope.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | node_modules/@react-icons/all-files/ai/AiOutlineRedEnvelope.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | node_modules/@react-icons/all-files/ai/AiOutlineRedEnvelope.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | // THIS FILE IS AUTO GENERATED
var GenIcon = require('../lib').GenIcon
module.exports.AiOutlineRedEnvelope = function AiOutlineRedEnvelope (props) {
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 1024 1024"},"child":[{"tag":"path","attr":{"d":"M440.6 462.6a8.38 8.38 0 0 0-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 ... | 163.166667 | 826 | 0.65475 |
992cf5f8bd843ed55e7af2f3970477a16d283377 | 4,522 | js | JavaScript | lib/github/aurelia/templating@0.8.7/amd/content-selector.js | sonnylazuardi/todomvc-aurelia | 7427e598cc8b2a4787a528071b78948ddeeb53c1 | [
"MIT"
] | 4 | 2015-01-31T11:34:37.000Z | 2015-05-25T17:59:45.000Z | lib/github/aurelia/templating@0.8.7/amd/content-selector.js | sonnylazuardi/todomvc-aurelia | 7427e598cc8b2a4787a528071b78948ddeeb53c1 | [
"MIT"
] | null | null | null | lib/github/aurelia/templating@0.8.7/amd/content-selector.js | sonnylazuardi/todomvc-aurelia | 7427e598cc8b2a4787a528071b78948ddeeb53c1 | [
"MIT"
] | null | null | null | /* */
"format register";
define(["exports"], function (exports) {
"use strict";
var _prototypeProperties = function (child, staticProps, instanceProps) {
if (staticProps) Object.defineProperties(child, staticProps);
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
};
if (El... | 28.620253 | 154 | 0.532729 |
992d91c781aa0e4b1cac943abaebf07d5f20e4d3 | 2,024 | js | JavaScript | contrib/views/hive-next/src/main/resources/ui/hive-web/config/environment.js | panfeiyy/ambari | 24077510723ede93d3024784f0b04422adaf56d6 | [
"Apache-2.0"
] | 16 | 2018-05-24T10:28:24.000Z | 2021-08-05T03:13:26.000Z | contrib/views/hive-next/src/main/resources/ui/hive-web/config/environment.js | panfeiyy/ambari | 24077510723ede93d3024784f0b04422adaf56d6 | [
"Apache-2.0"
] | 8 | 2020-06-18T17:31:19.000Z | 2022-03-02T08:32:03.000Z | contrib/views/hive-next/src/main/resources/ui/hive-web/config/environment.js | panfeiyy/ambari | 24077510723ede93d3024784f0b04422adaf56d6 | [
"Apache-2.0"
] | 17 | 2018-07-06T08:57:00.000Z | 2021-11-04T11:00:36.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 28.507042 | 77 | 0.662055 |
992e136e0989487ca056d53ac741fa4691128066 | 880 | js | JavaScript | src/components/MsgBox.js | rayman22201/parlons | ee5a38935124ce2905a12d43e39816d7273b8bbd | [
"MIT"
] | 2 | 2019-06-26T12:50:26.000Z | 2019-08-16T02:48:44.000Z | src/components/MsgBox.js | rayman22201/parlons | ee5a38935124ce2905a12d43e39816d7273b8bbd | [
"MIT"
] | null | null | null | src/components/MsgBox.js | rayman22201/parlons | ee5a38935124ce2905a12d43e39816d7273b8bbd | [
"MIT"
] | 1 | 2019-06-26T12:50:58.000Z | 2019-06-26T12:50:58.000Z | import React, {Component} from 'react';
import {list, textarea, element} from 'react-blessed';
export class MsgBox extends Component {
constructor(props) {
super(props);
}
componentDidMount() {
if(this.props.readInput) {
this.refs.element.readInput(() => {
this.props.onSubmit(this.refs.ele... | 22 | 54 | 0.545455 |
992e4a424780534d602edff78ea5aa77fc77b7dc | 1,433 | js | JavaScript | templates/renderjs-templates.js | fullrange-interactive/oss-social-wall-client | ae7109a0c7ab7a8cf71a6d331caa53fb6eb740df | [
"MIT"
] | null | null | null | templates/renderjs-templates.js | fullrange-interactive/oss-social-wall-client | ae7109a0c7ab7a8cf71a6d331caa53fb6eb740df | [
"MIT"
] | null | null | null | templates/renderjs-templates.js | fullrange-interactive/oss-social-wall-client | ae7109a0c7ab7a8cf71a6d331caa53fb6eb740df | [
"MIT"
] | null | null | null | var renderJsTemplates = {};
String.prototype.replaceLinks = function(){
var urlRegex =/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;
return this.replace(urlRegex, '<a href="$1">$1</a>');
};
String.prototype.smartLinks = function(){
var urlRegex =/www\.([^ ]+)/ig;
return this.... | 34.119048 | 186 | 0.584089 |
992e5fdaf8180259469f2f2ea507fa11217cd1ce | 734 | js | JavaScript | src/tweens/builders/GetBoolean.js | acz13/phaser | 9a21b4c7f40894804806f15402834f3055837b42 | [
"MIT"
] | 1 | 2019-04-16T19:51:12.000Z | 2019-04-16T19:51:12.000Z | src/tweens/builders/GetBoolean.js | acz13/phaser | 9a21b4c7f40894804806f15402834f3055837b42 | [
"MIT"
] | null | null | null | src/tweens/builders/GetBoolean.js | acz13/phaser | 9a21b4c7f40894804806f15402834f3055837b42 | [
"MIT"
] | null | null | null | /**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* [description]
*
* @function Phaser.Tweens.Builders.GetBoolean
* @since 3.0.0
*
* @param {object} source - ... | 20.388889 | 98 | 0.617166 |
992f2765c5086663d72805ce9ea5424cab807450 | 2,203 | js | JavaScript | src/components/loan.js | DanielAdek/Finance-Palace | a3a4e2af9b577b5fb3dacd8bdea622855c8e7ab8 | [
"MIT"
] | null | null | null | src/components/loan.js | DanielAdek/Finance-Palace | a3a4e2af9b577b5fb3dacd8bdea622855c8e7ab8 | [
"MIT"
] | 4 | 2021-03-10T05:08:05.000Z | 2022-02-26T22:39:54.000Z | src/components/loan.js | DanielAdek/Finance-Palace | a3a4e2af9b577b5fb3dacd8bdea622855c8e7ab8 | [
"MIT"
] | null | null | null | import React, { Fragment, useState } from 'react';
import { useHistory } from 'react-router-dom';
import { useDispatch, useSelector } from 'react-redux';
import * as Loading from './spinner';
import * as Style from '../Styles/loan';
import { Alert } from '../store/utils/helpers';
import { requestLoan } from '../store/... | 36.716667 | 129 | 0.672265 |
992f6224a36216154202a1f0948b523be7c07f35 | 499 | js | JavaScript | resources/assets/js/custom.min.js | aungkokhantace/ros | 23acb39928e68cb0851deff1a7f4507bd4452a2c | [
"MIT"
] | 2 | 2021-02-15T19:39:25.000Z | 2021-02-15T19:40:26.000Z | resources/assets/js/custom.min.js | aungkokhantace/ros | 23acb39928e68cb0851deff1a7f4507bd4452a2c | [
"MIT"
] | null | null | null | resources/assets/js/custom.min.js | aungkokhantace/ros | 23acb39928e68cb0851deff1a7f4507bd4452a2c | [
"MIT"
] | null | null | null |
function HandleBrowseClick()
{
//var textinput = document.getElementById("filename");
var fileinput = document.getElementById("browse");
fileinput.click();
//textinput.value = fileinput.value;
}
function test(){
var fileinput = document.getElementById("browse"... | 27.722222 | 65 | 0.569138 |
9930ee62ba1e4bbc4ea0a50c1f6db79a0a73883a | 2,727 | js | JavaScript | events/message.js | naksudev/zenaii | fe2b369835a07afa66d742e9c6acc3595cdf1dbd | [
"MIT"
] | null | null | null | events/message.js | naksudev/zenaii | fe2b369835a07afa66d742e9c6acc3595cdf1dbd | [
"MIT"
] | null | null | null | events/message.js | naksudev/zenaii | fe2b369835a07afa66d742e9c6acc3595cdf1dbd | [
"MIT"
] | null | null | null | // Dependencies
const Discord = require('discord.js');
// Collection of users in cooldown
const cooldowns = new Discord.Collection();
module.exports = class Message {
constructor (bot) {
this.bot = bot;
}
async run (message) {
let bot = this.bot;
// Don't res... | 37.875 | 242 | 0.558489 |
9930f6d47e5ccefcd398fc90f890a0af689ae883 | 866 | js | JavaScript | stats/base/dmidrange.js | stdlib-js/esm | e40d9dc228b49c18a94973ffdfdf4d64e1698d1b | [
"Apache-2.0"
] | 12 | 2020-12-20T20:16:45.000Z | 2022-01-30T03:08:18.000Z | stats/base/dmidrange.js | stdlib-js/esm | e40d9dc228b49c18a94973ffdfdf4d64e1698d1b | [
"Apache-2.0"
] | 1 | 2021-05-24T16:42:11.000Z | 2021-05-24T17:51:24.000Z | stats/base/dmidrange.js | stdlib-js/esm | e40d9dc228b49c18a94973ffdfdf4d64e1698d1b | [
"Apache-2.0"
] | null | null | null | // This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0
import r from"./../../utils/define-nonenumerable-read-only-property.js";import e from"./../../math/base/assert/is-positive-zero.js";import t from"./../../math/base/assert/is-negative-zero.js";import a from"./../../math/b... | 288.666667 | 728 | 0.608545 |
9931aa6145580f0858d52674b1652435b9c85a03 | 471 | js | JavaScript | server/config/routes.js | Atanas9708/Credit-Manager-0.1 | 13c2b19cc14ba2603fbcb8339e325a71e3a8d2f7 | [
"MIT"
] | null | null | null | server/config/routes.js | Atanas9708/Credit-Manager-0.1 | 13c2b19cc14ba2603fbcb8339e325a71e3a8d2f7 | [
"MIT"
] | null | null | null | server/config/routes.js | Atanas9708/Credit-Manager-0.1 | 13c2b19cc14ba2603fbcb8339e325a71e3a8d2f7 | [
"MIT"
] | null | null | null | const controllers = require('../controllers');
module.exports = app => {
app.post('/register', controllers.user.registerPost);
app.post('/login', controllers.user.loginPost);
app.get('/credits/:page', controllers.credit.getPage);
app.post('/create', controllers.credit.createCredit);
app.get('/credit/:id', c... | 39.25 | 62 | 0.719745 |
99322f04e424d43ef447a5d61a3ab44e177f64ad | 872 | js | JavaScript | website/src/parsers/html/svelte.js | Learn-form-Zakas/astexplorer | a786db682516280ec19a7dac61077ff107304c00 | [
"MIT"
] | 4,526 | 2015-12-08T06:26:24.000Z | 2022-03-31T09:21:39.000Z | website/src/parsers/html/svelte.js | Learn-form-Zakas/astexplorer | a786db682516280ec19a7dac61077ff107304c00 | [
"MIT"
] | 476 | 2015-12-08T06:13:55.000Z | 2022-03-27T08:04:15.000Z | website/src/parsers/html/svelte.js | Learn-form-Zakas/astexplorer | a786db682516280ec19a7dac61077ff107304c00 | [
"MIT"
] | 643 | 2015-12-12T18:38:51.000Z | 2022-03-30T16:17:13.000Z | import defaultParserInterface from '../utils/defaultParserInterface';
import pkg from 'svelte/package.json';
const ID = 'svelte';
export default {
...defaultParserInterface,
id: ID,
displayName: ID,
version: pkg.version,
homepage: pkg.homepage,
locationProps: new Set(['start', 'end']),
typeProps: new S... | 18.956522 | 69 | 0.634174 |
99329dee62553f96c8e11b16192788a08e8ee0a4 | 3,336 | js | JavaScript | src/migrations/20210217195834-rbac-tables.js | dmitrylebedev/unleash | 10dd4b753e423361c98adf74fdb534d083c47fe1 | [
"Apache-2.0"
] | 2 | 2021-06-22T05:58:42.000Z | 2021-06-22T07:56:11.000Z | src/migrations/20210217195834-rbac-tables.js | dmitrylebedev/unleash | 10dd4b753e423361c98adf74fdb534d083c47fe1 | [
"Apache-2.0"
] | 6 | 2021-09-01T00:30:31.000Z | 2022-02-27T16:10:18.000Z | src/migrations/20210217195834-rbac-tables.js | yinonavraham/unleash | 38266f5918a718463415f39cb43d60cc5ceddd8d | [
"Apache-2.0"
] | 3 | 2021-06-22T05:45:55.000Z | 2021-07-19T05:28:48.000Z | exports.up = function(db, cb) {
db.runSql(
`CREATE TABLE IF NOT EXISTS roles
(
id SERIAL PRIMARY KEY,
name text not null,
description text,
type text not null default 'custom',
project text,
created_at TIMESTAMP W... | 40.682927 | 320 | 0.618405 |
99339d2b82bd5f46d9f7542fb6afc83e96b49a4f | 5,696 | js | JavaScript | test/directory.js | imyufu/connect | 59e853a293d614720e6c256fc26aaeedf5ca9f85 | [
"MIT"
] | null | null | null | test/directory.js | imyufu/connect | 59e853a293d614720e6c256fc26aaeedf5ca9f85 | [
"MIT"
] | null | null | null | test/directory.js | imyufu/connect | 59e853a293d614720e6c256fc26aaeedf5ca9f85 | [
"MIT"
] | null | null | null |
var connect = require('..');
var app = connect();
app.use(connect.directory('test/fixtures'));
describe('directory()', function(){
describe('when given Accept: header', function () {
describe('of application/json', function () {
it('should respond with json', function (done) {
app.request()
... | 30.459893 | 99 | 0.528968 |
9933c0a4a9a09ac31cbeaa706232f528da75b7a2 | 210 | js | JavaScript | src/__tests__/uva-00100-the-3n1-problem.test.js | taylor1791/programming-training | 2384def9c78d60c6adb125a0be5acb68b40a80ae | [
"MIT"
] | null | null | null | src/__tests__/uva-00100-the-3n1-problem.test.js | taylor1791/programming-training | 2384def9c78d60c6adb125a0be5acb68b40a80ae | [
"MIT"
] | null | null | null | src/__tests__/uva-00100-the-3n1-problem.test.js | taylor1791/programming-training | 2384def9c78d60c6adb125a0be5acb68b40a80ae | [
"MIT"
] | null | null | null | var uva00100 = require("../uva-00100-the-3n1-problem");
describe("UVA 00100: The 3n + 1 Problem", () => {
it("returns 20 for sample 1: i = 1, j = 10", () => {
expect(uva00100(1, 10)).toBe(20);
});
});
| 26.25 | 55 | 0.557143 |
9933d9899f504c12990084bd942376ffaf68d5ab | 901 | js | JavaScript | src/noto_emoji_regular/u1F343.js | danielkov/react-icons-kit | 160bc967ed1ba9cad75a86fb40a449e1f79d1fe0 | [
"MIT"
] | 372 | 2017-01-07T01:54:27.000Z | 2022-03-02T10:16:01.000Z | src/noto_emoji_regular/u1F343.js | danielkov/react-icons-kit | 160bc967ed1ba9cad75a86fb40a449e1f79d1fe0 | [
"MIT"
] | 72 | 2016-12-17T04:04:02.000Z | 2022-02-26T03:35:19.000Z | src/noto_emoji_regular/u1F343.js | qza7849467chensh5/react-icons-kit | 09aeaf39d13e33c45bd032cc1b42a64c5a334dd9 | [
"MIT"
] | 66 | 2017-05-14T21:52:41.000Z | 2021-12-08T12:15:09.000Z | export const u1F343 = {"viewBox":"0 0 2600 2760.837","children":[{"name":"path","attribs":{"d":"M1765 2103q4 0 8-1 24 0 43.5 24t19.5 53q0 33-15.5 50t-73.5 17q-64 0-161 24t-157 78-171 95.5-231 41.5q-224 0-386-135t-254.5-343.5T294 1602l1-34q0-43 5-62.5t14-19.5q11 0 19 13.5t57 37.5 127 24q35 0 71-4l71-7q35-4 71-7.5t72-3.5... | 901 | 901 | 0.72697 |
99343183c8dda0b7f966f73df6b55c2e6fb2c0a8 | 415 | js | JavaScript | src/index.js | maikkoko/messenger-ui-kit | d1bca606cf1a57f690413a8bbea9066d843b119d | [
"MIT"
] | null | null | null | src/index.js | maikkoko/messenger-ui-kit | d1bca606cf1a57f690413a8bbea9066d843b119d | [
"MIT"
] | null | null | null | src/index.js | maikkoko/messenger-ui-kit | d1bca606cf1a57f690413a8bbea9066d843b119d | [
"MIT"
] | null | null | null | import UIKit from './UIKit'
import Container from './components/Container'
import {
CircularButton,
BottomButton,
Button
} from './components/Buttons'
import {
List,
ListItem,
ListHeader
} from './components/Lists'
import PageHeader from './components/PageHeader'
export {
Container,
CircularButton,
B... | 14.821429 | 48 | 0.725301 |
9934b34271baf1cade277b93a4b7140bc26527d3 | 439 | js | JavaScript | scripts/fix-stencil.js | antony/web-components-benchmark | 3c27275b7c08243a2eabcbdeac0e1a1b291f93a6 | [
"MIT"
] | null | null | null | scripts/fix-stencil.js | antony/web-components-benchmark | 3c27275b7c08243a2eabcbdeac0e1a1b291f93a6 | [
"MIT"
] | null | null | null | scripts/fix-stencil.js | antony/web-components-benchmark | 3c27275b7c08243a2eabcbdeac0e1a1b291f93a6 | [
"MIT"
] | null | null | null | const replace = require("replace");
replace({
regex: '/demos/pascal-triangle/stencil/build/app/',
replacement: '/web-components-benchmark/demos/pascal-triangle/stencil/build/app/',
paths: ['demos/pascal-triangle/stencil/index.html']
});
replace({
regex: '/demos/todomvc/stencil/build/app/',
replace... | 33.769231 | 86 | 0.708428 |
9934dca52335f5250c1f99cc33309eb5309d2b15 | 1,526 | js | JavaScript | js/generate.js | phetsims/binder | 6b9cdbafe1b3c16dfc7534516bccda6918f1e81e | [
"MIT"
] | null | null | null | js/generate.js | phetsims/binder | 6b9cdbafe1b3c16dfc7534516bccda6918f1e81e | [
"MIT"
] | 29 | 2018-05-09T22:57:53.000Z | 2021-05-10T23:05:28.000Z | js/generate.js | phetsims/binder | 6b9cdbafe1b3c16dfc7534516bccda6918f1e81e | [
"MIT"
] | 1 | 2020-03-14T05:06:56.000Z | 2020-03-14T05:06:56.000Z | // Copyright 2018-2021, University of Colorado Boulder
/**
* Main launch point for the documentation generation
*
* @author Michael Kauzmann (PhET Interactive Simulations)
*/
const createHTMLString = require( './createHTMLString' );
const fs = require( 'fs' );
const fsExtra = require( 'fs-extra' ); // eslint-dis... | 31.791667 | 107 | 0.695937 |
9935308c5f04e11a4da4298f871dca8245e0db06 | 783 | js | JavaScript | test/mocha/gtfs.get-feed-info.js | donovanrichardson/node-gtfs | 8e18ff9ce6a0b20373422a3842bd403673dc40f2 | [
"MIT"
] | null | null | null | test/mocha/gtfs.get-feed-info.js | donovanrichardson/node-gtfs | 8e18ff9ce6a0b20373422a3842bd403673dc40f2 | [
"MIT"
] | null | null | null | test/mocha/gtfs.get-feed-info.js | donovanrichardson/node-gtfs | 8e18ff9ce6a0b20373422a3842bd403673dc40f2 | [
"MIT"
] | 1 | 2020-09-11T02:03:14.000Z | 2020-09-11T02:03:14.000Z | /* eslint-env mocha */
const path = require('path');
const should = require('should');
const { openDb, closeDb } = require('../../lib/db');
const gtfs = require('../..');
const config = {
agencies: [{
agency_key: 'caltrain',
path: path.join(__dirname, '../fixture/caltrain_20160406.zip')
}],
verbose: fa... | 21.162162 | 66 | 0.609195 |
99365dc77d09e4d5f0001d7250cccec91f6ae879 | 486 | js | JavaScript | js/lib/lodash/cond.min.js | 1337GameDev/WordPressPluginExample | 73f86850f8ab4c7061bfcce0c30af00572e073c0 | [
"MIT"
] | null | null | null | js/lib/lodash/cond.min.js | 1337GameDev/WordPressPluginExample | 73f86850f8ab4c7061bfcce0c30af00572e073c0 | [
"MIT"
] | null | null | null | js/lib/lodash/cond.min.js | 1337GameDev/WordPressPluginExample | 73f86850f8ab4c7061bfcce0c30af00572e073c0 | [
"MIT"
] | null | null | null | var apply=require("./_apply"),arrayMap=require("./_arrayMap"),baseIteratee=require("./_baseIteratee"),baseRest=require("./_baseRest");var FUNC_ERROR_TEXT="Expected a function";function cond(c){var a=c==null?0:c.length,b=baseIteratee;c=!a?[]:arrayMap(c,function(d){if(typeof d[1]!="function"){throw new TypeError(FUNC_ERR... | 486 | 486 | 0.720165 |
9936800c162620f62cc0d06fe384d1aa3f889911 | 23,385 | js | JavaScript | CarManagement/car-management/target/car-management/js/sumcar.js | itastro/mycode | f386a58056704dabf1ca38c89fc7fa52963ee330 | [
"Apache-2.0"
] | 1 | 2019-11-13T08:20:33.000Z | 2019-11-13T08:20:33.000Z | CarManagement/car-management/target/car-management/js/sumcar.js | itastro/mycode | f386a58056704dabf1ca38c89fc7fa52963ee330 | [
"Apache-2.0"
] | null | null | null | CarManagement/car-management/target/car-management/js/sumcar.js | itastro/mycode | f386a58056704dabf1ca38c89fc7fa52963ee330 | [
"Apache-2.0"
] | null | null | null | // #checkpoint_cartype
if (window.islogin == undefined || window.islogin == null) {
$("#checkpoint_cartype").hide();
} else if (window.islogin.data.roles.length > 0) {
var userrole = [];
for (var i = 0; i < window.islogin.data.roles.length; i++) {
userrole.push(window.islogin.data.roles[i].name);
}
var u... | 28.693252 | 116 | 0.480051 |
99380ba49f049333b3b4a99881b5e3bc7138c33d | 3,297 | js | JavaScript | sundry_hacks/js_console_hacks/get_vm_account_tag_value.js | MitchellGerdisch/tbutil_scripts | 3f32ac75723481ff5975ea46ca3955ce940d1f71 | [
"MIT"
] | 1 | 2019-02-13T16:46:43.000Z | 2019-02-13T16:46:43.000Z | sundry_hacks/js_console_hacks/get_vm_account_tag_value.js | MitchellGerdisch/tbutil_scripts | 3f32ac75723481ff5975ea46ca3955ce940d1f71 | [
"MIT"
] | null | null | null | sundry_hacks/js_console_hacks/get_vm_account_tag_value.js | MitchellGerdisch/tbutil_scripts | 3f32ac75723481ff5975ea46ca3955ce940d1f71 | [
"MIT"
] | 1 | 2020-08-09T00:09:46.000Z | 2020-08-09T00:09:46.000Z | /*
* INPUTS:
* - VM Group name
* - One or two VM Tag Key names for which to return value
*
* OUTPUTS:
* - CSV where each row has:
* - VM Name
* - VM UUID
* - VM Account name
* - VM Tag Value for identified tag key
*/
async function getGroupVMsAcctTag(group_name, tag_key_name, optional_tag_key_name)... | 26.58871 | 111 | 0.641492 |
993810f9cbd7b2543b469b9a24695dc029d8a900 | 97 | js | JavaScript | bower_components/jscover/src/test-integration/resources/data/javascript/javascript-special-characters.js | v0lkan/o2.js | d835204184570bcd8f2fe3713d3dc8ecf2464c3a | [
"MIT"
] | 16 | 2015-05-25T06:43:23.000Z | 2021-06-03T18:47:24.000Z | bower_components/jscover/src/test-integration/resources/data/javascript/javascript-special-characters.js | v0lkan/o2.js | d835204184570bcd8f2fe3713d3dc8ecf2464c3a | [
"MIT"
] | 1 | 2016-12-06T04:12:10.000Z | 2016-12-06T04:12:10.000Z | bower_components/jscover/src/test-integration/resources/data/javascript/javascript-special-characters.js | v0lkan/o2.js | d835204184570bcd8f2fe3713d3dc8ecf2464c3a | [
"MIT"
] | 5 | 2015-05-07T19:04:12.000Z | 2016-12-05T23:25:20.000Z | function f() {
return '\'';
}
function g() {
return "\"";
}
function h() {
return '\\';
}
| 8.083333 | 14 | 0.463918 |
993859fc10087ad1949231899c3977b95ecfd04c | 508 | js | JavaScript | login/static/js/login.js | NFuller721/TwitterClone | a56c2f2ccae7f071d6cf1e59a90aa951cc0bca2b | [
"MIT"
] | null | null | null | login/static/js/login.js | NFuller721/TwitterClone | a56c2f2ccae7f071d6cf1e59a90aa951cc0bca2b | [
"MIT"
] | null | null | null | login/static/js/login.js | NFuller721/TwitterClone | a56c2f2ccae7f071d6cf1e59a90aa951cc0bca2b | [
"MIT"
] | null | null | null | let Login = () => {
$.redirect("/login/", {'username': $("#username").val(), 'password': $("#password").val()});
};
$(document).ready(function() {
Requirements = [
'./static/js/Modules/loginBox.js',
'/static/js/Modules/inputBox.js',
]
var head = $("head");
Render(head, Requirements);
externalRequir... | 21.166667 | 94 | 0.606299 |
9938a902686e3b83f4ab7ca0b935cc43af49bde7 | 378 | js | JavaScript | blueocean-pipeline-editor/src/main/js/GitUtils.js | fengzhao-study-notes/blueocean-plugin | be654d88ab89ceff0f3fc9b216bde72a490d2c9b | [
"MIT"
] | 1 | 2022-03-10T03:27:12.000Z | 2022-03-10T03:27:12.000Z | blueocean-pipeline-editor/src/main/js/GitUtils.js | fengzhao-study-notes/blueocean-plugin | be654d88ab89ceff0f3fc9b216bde72a490d2c9b | [
"MIT"
] | 44 | 2018-11-26T04:44:19.000Z | 2019-06-04T19:17:34.000Z | blueocean-pipeline-editor/src/main/js/GitUtils.js | fengzhao-study-notes/blueocean-plugin | be654d88ab89ceff0f3fc9b216bde72a490d2c9b | [
"MIT"
] | 1 | 2020-04-20T11:09:12.000Z | 2020-04-20T11:09:12.000Z | /**
* Simple git utilties
*/
// FIXME centralize this, move credential creation into jenkins.credential.selection for git
export function isSshRepositoryUrl(url) {
if (!url || url.trim() === '') {
return false;
}
if (/^ssh:\/\/.*/.test(url)) {
return true;
}
if (/^[^@:]+@.*/.tes... | 18 | 92 | 0.539683 |
993926458330625c40e24a454c186dd7954e2d0b | 491 | js | JavaScript | node_modules/@material-ui/icons/es/Public.js | jlclementjr/material-dashboard | b747c01e60f86a5be1af425280e4b1539fcbfcbe | [
"MIT"
] | 1 | 2019-08-22T04:57:30.000Z | 2019-08-22T04:57:30.000Z | node_modules/@material-ui/icons/es/Public.js | jlclementjr/material-dashboard | b747c01e60f86a5be1af425280e4b1539fcbfcbe | [
"MIT"
] | 3 | 2020-09-07T12:00:40.000Z | 2022-02-12T22:02:40.000Z | node_modules/@material-ui/icons/es/Public.js | jlclementjr/material-dashboard | b747c01e60f86a5be1af425280e4b1539fcbfcbe | [
"MIT"
] | 1 | 2018-07-24T07:40:04.000Z | 2018-07-24T07:40:04.000Z | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement("g", null, React.createElement("path", {
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.9... | 98.2 | 307 | 0.668024 |
993926f5c5c1c3557f049ecae7c03f7a61af0a5c | 1,217 | js | JavaScript | src/products/custormManager/views/sysInfo/businessManager/serviceLog/tableTitle.js | kinglong127124/puzzle | f618cdb5903c65281e68814cf48e17d6608e27dc | [
"MIT"
] | null | null | null | src/products/custormManager/views/sysInfo/businessManager/serviceLog/tableTitle.js | kinglong127124/puzzle | f618cdb5903c65281e68814cf48e17d6608e27dc | [
"MIT"
] | null | null | null | src/products/custormManager/views/sysInfo/businessManager/serviceLog/tableTitle.js | kinglong127124/puzzle | f618cdb5903c65281e68814cf48e17d6608e27dc | [
"MIT"
] | null | null | null | export default {
indexTitle: [
{
text: '审核状态',
value: 'validateStatus',
width: '80',
align: 'center'
}, {
text: '单据编号',
value: 'code',
width: '130',
align: 'center',
showOverflowTooltip: true
}, {
text: '服务名称',
value: 'name',
minWidth... | 20.627119 | 31 | 0.506984 |
993978998d580d5ffee973333e04042a7a8d3005 | 6,722 | js | JavaScript | js/datapicker-separate/time.js | Ikaros-521/boa_cgi_SMS | 194c79c34f6a27588a85ea9d2f51866310e55eef | [
"Apache-2.0"
] | 3 | 2021-12-15T10:21:27.000Z | 2022-02-02T16:33:15.000Z | js/datapicker-separate/time.js | Ikaros-521/boa_cgi_SMS | 194c79c34f6a27588a85ea9d2f51866310e55eef | [
"Apache-2.0"
] | null | null | null | js/datapicker-separate/time.js | Ikaros-521/boa_cgi_SMS | 194c79c34f6a27588a85ea9d2f51866310e55eef | [
"Apache-2.0"
] | null | null | null | /*==============BEGIN TIME============*/
// 时分秒
function Time(picker) {
this.picker = picker;
this.init();
}
$.extend(Time.prototype, {
init: function () {
},
event: function () {
// 时分秒取消
this.picker.$container.on('click', '.c-datepicker-time-panel__btn.cancel', function () {
var _this = API.... | 34.829016 | 101 | 0.575275 |
9939a4347d2caed4710aef3ad994218387b668f9 | 990 | js | JavaScript | online-workouts/w3resource/Fundamentals-ES6-II/js-program-254.js | ivenpoker/Learning-JS | 7c81b9ab5224bb844692e6d0d7e8a799bb7c875d | [
"MIT"
] | null | null | null | online-workouts/w3resource/Fundamentals-ES6-II/js-program-254.js | ivenpoker/Learning-JS | 7c81b9ab5224bb844692e6d0d7e8a799bb7c875d | [
"MIT"
] | null | null | null | online-workouts/w3resource/Fundamentals-ES6-II/js-program-254.js | ivenpoker/Learning-JS | 7c81b9ab5224bb844692e6d0d7e8a799bb7c875d | [
"MIT"
] | null | null | null | // #######################################################################################################
// # #
// # Program Purpose: Generate a UUID in Node.JS. #
// # Program Author: Happi Yvan <... | 47.142857 | 106 | 0.261616 |