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
2265c65ca9888a3dc59bf44a5c4382240ceaa434
2,042
js
JavaScript
public/js/driverScript.js
thelyaa/BuildingGame
2d690f7b4d74079823b091507aaf102d109588c8
[ "Apache-2.0" ]
null
null
null
public/js/driverScript.js
thelyaa/BuildingGame
2d690f7b4d74079823b091507aaf102d109588c8
[ "Apache-2.0" ]
null
null
null
public/js/driverScript.js
thelyaa/BuildingGame
2d690f7b4d74079823b091507aaf102d109588c8
[ "Apache-2.0" ]
null
null
null
function setCookie(name,value,days) { var expires = ""; if (days) { var date = new Date(); date.setTime(date.getTime() + (days*24*60*60*1000)); expires = "; expires=" + date.toUTCString(); } document.cookie = name + "=" + (value || "") + expires + "; path=/"; } function getCook...
32.935484
109
0.497062
2265de1260bb1f4b44b71f3e594184f8dbf90e51
103
js
JavaScript
data/theme/admin/assets/js/pages/admin/Category/Edit.js
webx-top/blog
a3f94333ec3d47b89a1fd1f284d344fcce474b5f
[ "Apache-2.0" ]
11
2016-01-19T06:53:07.000Z
2017-04-13T14:00:12.000Z
data/theme/admin/assets/js/pages/admin/Category/Edit.js
webx-top/blog
a3f94333ec3d47b89a1fd1f284d344fcce474b5f
[ "Apache-2.0" ]
null
null
null
data/theme/admin/assets/js/pages/admin/Category/Edit.js
webx-top/blog
a3f94333ec3d47b89a1fd1f284d344fcce474b5f
[ "Apache-2.0" ]
null
null
null
$(function(){ webx.includes('select.js'); select('#select-rcategeries',100,'.prettySelector'); });
25.75
53
0.660194
2266051edb5b85211a3160814c719d001a1edd35
412
js
JavaScript
dist/module/invoices/dto/update-invoice.dto.js
quandd1792000/cored-backend
adf8d8962ba6415e51cc259279161bca0259a79e
[ "MIT" ]
null
null
null
dist/module/invoices/dto/update-invoice.dto.js
quandd1792000/cored-backend
adf8d8962ba6415e51cc259279161bca0259a79e
[ "MIT" ]
null
null
null
dist/module/invoices/dto/update-invoice.dto.js
quandd1792000/cored-backend
adf8d8962ba6415e51cc259279161bca0259a79e
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateInvoiceDto = void 0; const swagger_1 = require("@nestjs/swagger"); const create_invoice_dto_1 = require("./create-invoice.dto"); class UpdateInvoiceDto extends (0, swagger_1.PartialType)(create_invoice_dto_1.CreateInvoiceDto) { }...
45.777778
98
0.791262
226788c609656bb1800345b08a1a998d74ddbafe
908
js
JavaScript
languages/c/templates/function.js
BuggyOrg/codegen
63607266a2e44e0c14063651cb9f6ed261d6ae64
[ "MIT" ]
null
null
null
languages/c/templates/function.js
BuggyOrg/codegen
63607266a2e44e0c14063651cb9f6ed261d6ae64
[ "MIT" ]
null
null
null
languages/c/templates/function.js
BuggyOrg/codegen
63607266a2e44e0c14063651cb9f6ed261d6ae64
[ "MIT" ]
null
null
null
module.exports = { Function: { definition: (data) => t('Function.begin')(data) + data.content + t('Function.end')(data), declare: (data) => t('Function.declaration')(data) + ';', declaration: (data) => `void ${data.prefix}${data.name} (${t('Function.arguments')(data)})`, begin: (d...
27.515152
85
0.527533
22685dc098270aa8eba230f0633b48459c8a424b
463
js
JavaScript
test/config.js
jesusvilla/knext
12f65c9d05d14d3c0103f913c44260842f8fcf01
[ "MIT" ]
2
2019-12-06T13:25:54.000Z
2019-12-07T14:37:16.000Z
test/config.js
jesusvilla/knext
12f65c9d05d14d3c0103f913c44260842f8fcf01
[ "MIT" ]
null
null
null
test/config.js
jesusvilla/knext
12f65c9d05d14d3c0103f913c44260842f8fcf01
[ "MIT" ]
1
2019-12-06T14:23:23.000Z
2019-12-06T14:23:23.000Z
export const config = { postgres: { client: 'postgres', connection: { host: '127.0.0.1', user: 'postgres', password: 'admin', database: 'test', port: 5432 } }, firebird: { client: 'firebird', connection: { host: '127.0.0.1', user: 'sysdb...
21.045455
76
0.49892
2269013bdd6cf5ed3d878b25fc5703e260562103
1,058
js
JavaScript
private/js/01-Config.js
Spb8Lighting/FixturesFinder
bf506ca3ae665b39485ac66173b13d29228d78e7
[ "CC0-1.0" ]
1
2018-08-18T17:38:07.000Z
2018-08-18T17:38:07.000Z
private/js/01-Config.js
Spb8Lighting/FixturesFinder
bf506ca3ae665b39485ac66173b13d29228d78e7
[ "CC0-1.0" ]
3
2018-01-20T21:56:35.000Z
2022-03-25T18:21:07.000Z
private/js/01-Config.js
Spb8Lighting/FixturesFinder
bf506ca3ae665b39485ac66173b13d29228d78e7
[ "CC0-1.0" ]
null
null
null
const electron = require('electron') , config = require('../../config') , remote = electron.remote , ipcRenderer = electron.ipcRenderer , RunMode = (process.env.NODE_ENV !== undefined) ? false : true , Icon = { max: `<svg viewBox="0 0 20 20"> <path d="M 1 1 V19 H19 V1 H1 z M19 19 H1 V4 H...
37.785714
77
0.600189
22694d1f3021b268d2656d4fe35a4c709e0d41a4
1,405
js
JavaScript
src/tournamentEngine/governors/tournamentGovernor/getContainedStructures.js
CourtHive/competitionFactory
dee35b7f93e29b2cc6f3dd0307622e548ffb4005
[ "MIT" ]
5
2021-01-04T15:24:21.000Z
2022-03-01T13:59:30.000Z
src/tournamentEngine/governors/tournamentGovernor/getContainedStructures.js
CourtHive/competitionFactory
dee35b7f93e29b2cc6f3dd0307622e548ffb4005
[ "MIT" ]
41
2020-11-25T10:23:49.000Z
2022-03-30T13:55:13.000Z
src/tournamentEngine/governors/tournamentGovernor/getContainedStructures.js
CourtHive/competitionFactory
dee35b7f93e29b2cc6f3dd0307622e548ffb4005
[ "MIT" ]
2
2021-08-22T18:03:20.000Z
2022-03-06T11:02:32.000Z
/** * Finds all container structures within a tournament object and returns a mapping of container structureIds to arrays of contained structureIds * * @param {object} tournamentRecord - TODS tournament object * @param {object} drawDefinition - TODS draw object * @param {object} event - TODS event object * @retur...
29.270833
144
0.671886
2269e0071abca0578ba3723cc4d73a40f57918af
377
js
JavaScript
client/src/services/lab5/ExerciseService.js
all-rit/ALL
43614dcdd9b914c87c20019f99ddf9ae8dd9956c
[ "MIT" ]
4
2021-09-30T23:52:10.000Z
2022-01-31T02:55:39.000Z
client/src/services/lab5/ExerciseService.js
all-rit/ALL
43614dcdd9b914c87c20019f99ddf9ae8dd9956c
[ "MIT" ]
34
2020-12-23T19:02:32.000Z
2022-03-27T18:14:49.000Z
client/src/services/lab5/ExerciseService.js
all-rit/ALL
43614dcdd9b914c87c20019f99ddf9ae8dd9956c
[ "MIT" ]
null
null
null
import API from '../API'; const endpoints = { SUBMIT_CHOICE: '/lab5/exercise/choice', }; const ExerciseService = { submitChoice: (correct, question,selectedoption, options) => { return API.postWithBody(process.env.REACT_APP_SERVER_URL + endpoints.SUBMIT_CHOICE, { correct, question, selectedoption,...
18.85
87
0.70557
226a6e66642161ea80c521634db307318e56ee2f
430
js
JavaScript
src/Routes.js
maritzuhcom/city
6a553132e5aa3f4730d72591bd2102ad33ef87dc
[ "MIT" ]
null
null
null
src/Routes.js
maritzuhcom/city
6a553132e5aa3f4730d72591bd2102ad33ef87dc
[ "MIT" ]
null
null
null
src/Routes.js
maritzuhcom/city
6a553132e5aa3f4730d72591bd2102ad33ef87dc
[ "MIT" ]
null
null
null
import React from 'react'; import { HashRouter, Switch, Route } from 'react-router-dom'; import Home from './components/home/Home'; import NoMatch from './components/common/NoMatch'; // NOTE this is where we add screens and their routes const Routes = () => ( <HashRouter> <Switch> <Route exact path="/" com...
25.294118
61
0.669767
226a7076cdcd91788871cab8804b82730380588b
956
js
JavaScript
main/preload.js
elenamik/qvault
bece7958504f4d9a0b403386f8bd90de98fe0232
[ "MIT" ]
4
2020-04-18T17:59:09.000Z
2020-05-12T18:09:49.000Z
main/preload.js
elenamik/qvault
bece7958504f4d9a0b403386f8bd90de98fe0232
[ "MIT" ]
null
null
null
main/preload.js
elenamik/qvault
bece7958504f4d9a0b403386f8bd90de98fe0232
[ "MIT" ]
1
2020-08-28T12:32:55.000Z
2020-08-28T12:32:55.000Z
const fs = require('fs'); const crypto = require('crypto'); const {type} = require('os'); const electron = require('electron'); // Expose select NodeJS functionality for the renderer process const nodeAPI = { Buffer: Buffer, fs: { existsSync: fs.existsSync, readFileSync: fs.readFileSync, writeFileSync:...
22.232558
62
0.6841
226a91dfe75eeacbb563767d59584157dc61ecb6
18,369
js
JavaScript
public/jsinline/sanalFabrika_products.js
kuisatz/b2argebilisim
643239185f57f87f79213557dc3037b1c073726e
[ "BSD-3-Clause" ]
null
null
null
public/jsinline/sanalFabrika_products.js
kuisatz/b2argebilisim
643239185f57f87f79213557dc3037b1c073726e
[ "BSD-3-Clause" ]
null
null
null
public/jsinline/sanalFabrika_products.js
kuisatz/b2argebilisim
643239185f57f87f79213557dc3037b1c073726e
[ "BSD-3-Clause" ]
null
null
null
$(document).ready(function () { window.i = 0; window.lang = new Lang(); lang.dynamic($('#langCode').val(), '/plugins/jquery-lang-js-master/langpack/' + $('#langCode').val() + '.json'); lang.init({ defaultLang: 'en' }); lang.change($('#langCode').val()); $('#header_company_name').e...
40.82
182
0.412652
226b1b9f5ee98587a1de0179c5083a00d47b8196
5,640
js
JavaScript
robot/install/share/gennodejs/ros/intera_core_msgs/msg/IODataStatus.js
satvu/TeachBot
5888aea544fea952afa36c097a597c5d575c8d6d
[ "BSD-3-Clause" ]
null
null
null
robot/install/share/gennodejs/ros/intera_core_msgs/msg/IODataStatus.js
satvu/TeachBot
5888aea544fea952afa36c097a597c5d575c8d6d
[ "BSD-3-Clause" ]
null
null
null
robot/install/share/gennodejs/ros/intera_core_msgs/msg/IODataStatus.js
satvu/TeachBot
5888aea544fea952afa36c097a597c5d575c8d6d
[ "BSD-3-Clause" ]
null
null
null
// Auto-generated. Do not edit! // (in-package intera_core_msgs.msg) "use strict"; const _serializer = _ros_msg_utils.Serialize; const _arraySerializer = _serializer.Array; const _deserializer = _ros_msg_utils.Deserialize; const _arrayDeserializer = _deserializer.Array; const _finder = _ros_msg_utils.Find; const _g...
30.486486
98
0.579787
226b2e21320a963e0b1653b9e9547a33f8cb5d1e
537
js
JavaScript
v1/helpers/jwtAuthHelper.js
itsUk45/nodejs-boilerspot
8178f6713d03e29ab5b5361dba2fc3adeb3f1f51
[ "MIT" ]
null
null
null
v1/helpers/jwtAuthHelper.js
itsUk45/nodejs-boilerspot
8178f6713d03e29ab5b5361dba2fc3adeb3f1f51
[ "MIT" ]
3
2020-09-07T08:38:33.000Z
2021-05-10T15:02:57.000Z
v1/helpers/jwtAuthHelper.js
kosekaku/nodejs-boilerspot
8178f6713d03e29ab5b5361dba2fc3adeb3f1f51
[ "MIT" ]
null
null
null
import jwt from 'jsonwebtoken'; import dotenv from 'dotenv'; dotenv.config(); // generate tokens const GenerateTokens = (email) => { const token = jwt.sign( { email }, 'secretKeys', { expiresIn: '1hr', }, ); return token; }; // user verification helper function const verifyUser = (tokens, res)...
19.178571
60
0.629423
0614543ea408fc7c65ce50e8b85053d2526998d5
5,841
js
JavaScript
src/Core/assets/js/Backend/BlockEditor/Blocks/Button.js
justcarakas/forkcms
68db876bb1711ed9bf31a4607e1d5585e598e4d5
[ "MIT" ]
null
null
null
src/Core/assets/js/Backend/BlockEditor/Blocks/Button.js
justcarakas/forkcms
68db876bb1711ed9bf31a4607e1d5585e598e4d5
[ "MIT" ]
58
2021-11-01T04:48:46.000Z
2022-03-31T04:24:44.000Z
src/Core/assets/js/Backend/BlockEditor/Blocks/Button.js
justcarakas/forkcms
68db876bb1711ed9bf31a4607e1d5585e598e4d5
[ "MIT" ]
1
2017-10-05T14:27:24.000Z
2017-10-05T14:27:24.000Z
import { StringUtil } from '../../Components/StringUtil' class Button { constructor ({data}) { this.data = { url: data.url, text: data.text, style: data.style, targetBlank: data.targetBlank !== undefined ? data.targetBlank : false } this.settings = [ { name: 'targetB...
29.5
460
0.610341
06149264c8f12492479fcb6cacc00794b60f9902
2,133
js
JavaScript
tests/gagarin/RolesTests.js
clinical-meteor/clinical-roles
f2d2c44b8422f97173c4515bdeb4d5883672317a
[ "MIT" ]
null
null
null
tests/gagarin/RolesTests.js
clinical-meteor/clinical-roles
f2d2c44b8422f97173c4515bdeb4d5883672317a
[ "MIT" ]
null
null
null
tests/gagarin/RolesTests.js
clinical-meteor/clinical-roles
f2d2c44b8422f97173c4515bdeb4d5883672317a
[ "MIT" ]
null
null
null
describe('clinical:roles', function () { var server = meteor(); var client = browser(server); var newUserId = null; afterEach(function () { server.execute(function () { Roles.remove({}); Meteor.users.remove({}); }); }); it('Roles should exist on the client', function () { return c...
27.701299
83
0.558837
0614ab82900a4781e720996ed5e5707614958fa7
11,178
js
JavaScript
profile-server/client/src/utils/ruleContentValidation.js
adlnet/profile-server
9452ce0eea3cf6413f499f83d30752b5b27a4655
[ "Apache-2.0" ]
1
2021-09-21T09:41:34.000Z
2021-09-21T09:41:34.000Z
profile-server/client/src/utils/ruleContentValidation.js
adlnet/profile-server
9452ce0eea3cf6413f499f83d30752b5b27a4655
[ "Apache-2.0" ]
1
2021-04-02T19:15:54.000Z
2021-05-04T13:02:08.000Z
profile-server/client/src/utils/ruleContentValidation.js
adlnet/profile-server
9452ce0eea3cf6413f499f83d30752b5b27a4655
[ "Apache-2.0" ]
1
2021-12-14T13:38:53.000Z
2021-12-14T13:38:53.000Z
/** *************************************************************** * Copyright 2020 Advanced Distributed Learning (ADL) * * 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.apa...
51.75
200
0.688316
0615d3a09b45407f8e123eeb31c56809fd08f7f4
268
js
JavaScript
jest.config.js
fegos/fego-rn
d7ccc9016e14e6696ab1bfa9c864f4c084ca9104
[ "MIT" ]
21
2017-12-28T03:08:58.000Z
2021-08-06T09:43:54.000Z
jest.config.js
fegos/fego-rn
d7ccc9016e14e6696ab1bfa9c864f4c084ca9104
[ "MIT" ]
2
2018-01-16T09:00:24.000Z
2018-03-09T08:00:19.000Z
jest.config.js
fegos/fego-rn
d7ccc9016e14e6696ab1bfa9c864f4c084ca9104
[ "MIT" ]
7
2017-12-29T02:13:33.000Z
2018-09-07T03:57:27.000Z
module.exports = { preset: 'react-native', setupFiles: [ './__tests__/enzyme.setup.js', ], moduleFileExtensions: [ 'js', 'jsx', ], testPathIgnorePatterns: [ 'node_modules', 'example', ], testRegex: '(/components/.*test)\\.js?$', };
16.75
43
0.570896
061614bfa89d309f1bc10ecf87bec085424565d9
538
js
JavaScript
initializers/associations.js
gcoonrod/rainbarrel
fb0fc1bbc8db8c89773645bd541a9d18cb5c8188
[ "MIT" ]
null
null
null
initializers/associations.js
gcoonrod/rainbarrel
fb0fc1bbc8db8c89773645bd541a9d18cb5c8188
[ "MIT" ]
null
null
null
initializers/associations.js
gcoonrod/rainbarrel
fb0fc1bbc8db8c89773645bd541a9d18cb5c8188
[ "MIT" ]
null
null
null
'use strict' const ActionHero = require('actionhero') module.exports = class AssociationsInitializer extends ActionHero.Initializer { constructor () { super() this.name = 'associations' this.loadPriority = 1000 this.startPriority = 1002 this.stopPriority = 1000 } async initialize () {} as...
22.416667
79
0.659851
0616335979c204c054f0253062c9b656be1e1f50
948
js
JavaScript
server/database/index.js
imagineLife/saywhat-api
22251256d25d16e4657c938a3759a003ebd5fe92
[ "MIT" ]
null
null
null
server/database/index.js
imagineLife/saywhat-api
22251256d25d16e4657c938a3759a003ebd5fe92
[ "MIT" ]
null
null
null
server/database/index.js
imagineLife/saywhat-api
22251256d25d16e4657c938a3759a003ebd5fe92
[ "MIT" ]
null
null
null
const { MongoClient } = require('mongodb'); const { GLOBAL_STATE } = require('../global') const { DB } = require('../models') function makeConnectionString({ username, pw, host, port, authDB }){ // Error Handling if(typeof host === 'undefined' || typeof port === 'undefined'){ console.log(`missi...
22.571429
77
0.610759
06166d19cbe1b098b0828e35c10c8c9a147e48ff
750
js
JavaScript
web-content/src/app/pod/members/model/LocalPodMember.js
cyclic-reference/spring-webflux
9bedc43511b5f1ab3770ba502f1aab6f38221b7a
[ "MIT" ]
null
null
null
web-content/src/app/pod/members/model/LocalPodMember.js
cyclic-reference/spring-webflux
9bedc43511b5f1ab3770ba502f1aab6f38221b7a
[ "MIT" ]
1
2018-12-29T21:32:26.000Z
2018-12-29T21:32:26.000Z
web-content/src/app/pod/members/model/LocalPodMember.js
cyclic-reference/event-sourcing-workshop
f7741fca5eb9e17b449d5c87544600d73e436e33
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var PersonalInformation_1 = require("./PersonalInformation"); var rxjs_1 = require("rxjs"); var LocalPodMember = /** @class */ (function () { function LocalPodMember(id, avatar) { this.personalInformation = rxjs_1.Observable.of(new...
37.5
105
0.694667
0617c6d8dd5078922c8bc3bb78be17f9618d4189
49
js
JavaScript
packages/dapp/src/components/molecules/Amount/index.js
RigoBlock/rigoblock-monorepo
e1fdc30407c1d1599219916e46c3c00177971d4c
[ "Apache-2.0" ]
2
2019-05-18T13:28:28.000Z
2019-09-26T09:17:15.000Z
packages/dapp/src/components/molecules/Amount/index.js
RigoBlock/rigoblock-monorepo
e1fdc30407c1d1599219916e46c3c00177971d4c
[ "Apache-2.0" ]
143
2019-01-16T18:46:24.000Z
2022-03-31T19:23:48.000Z
packages/dapp/src/components/molecules/Amount/index.js
RigoBlock/rigoblock-monorepo
e1fdc30407c1d1599219916e46c3c00177971d4c
[ "Apache-2.0" ]
1
2019-04-26T11:48:02.000Z
2019-04-26T11:48:02.000Z
export { default, AMOUNT_SIZES } from './Amount'
24.5
48
0.714286
061828358dc1761628353faac4810d565b63bcc8
5,365
js
JavaScript
routes/restaurant.js
ivishalydv/web_d
98e327289a2538d5eb7720dea9d2e1f68324adb2
[ "MIT" ]
1
2021-07-18T10:32:07.000Z
2021-07-18T10:32:07.000Z
routes/restaurant.js
Atul-saini/Restaurant-App
07c1e2f3cb72890f17397fe674b3c9f8fba8f0ee
[ "MIT" ]
1
2021-05-09T00:25:34.000Z
2021-05-09T00:25:34.000Z
routes/restaurant.js
Atul-saini/Restaurant-App
07c1e2f3cb72890f17397fe674b3c9f8fba8f0ee
[ "MIT" ]
null
null
null
var express = require("express"); var router = express.Router({ mergeParams: true }); var User = require("../models/user"); var Order = require("../models/order"); var Info = require("../models/info"); var methodOverride = require("method-override"); var flash = require("connect-flash"); var sendgrid = require("@sendgr...
27.512821
106
0.430382
0618d1360ce04753e3d9fa4a2524d409f2431542
4,234
js
JavaScript
ExampleVue/example-vue/src/http.js
stone-info/OCTemplate
bb8c1c6f2adc414a50526a1cf5f57ab580b80c6f
[ "MIT" ]
null
null
null
ExampleVue/example-vue/src/http.js
stone-info/OCTemplate
bb8c1c6f2adc414a50526a1cf5f57ab580b80c6f
[ "MIT" ]
4
2021-10-05T22:36:32.000Z
2022-02-26T11:38:20.000Z
ExampleVue/example-vue/src/http.js
stone-info/OCTemplate
bb8c1c6f2adc414a50526a1cf5f57ab580b80c6f
[ "MIT" ]
null
null
null
import axios from 'axios' import {dlog, Info} from './lib/dlog.js' function startLoading(req) { hGroupBegin('GROUP BEGIN /////////////////////////////////////////////////////////////////////////////////', `'req拦截器 BEGIN'`, 'http.js:5', 0) hNormalLog(req.url, `req.url`, 'http.js:66', 0) hNormalLog(req.meth...
41.920792
223
0.555975
061a816856807f32df5c02112a96af02af3ae94e
2,528
js
JavaScript
modules/promises/userPromises.js
collinnolen/CollinsBlog_Nodejs
bc3a63036703e1f9fecd0c0b647c549a598e6bf4
[ "MIT" ]
1
2019-11-23T04:16:53.000Z
2019-11-23T04:16:53.000Z
modules/promises/userPromises.js
collinnolen/CollinsBlog_Nodejs
bc3a63036703e1f9fecd0c0b647c549a598e6bf4
[ "MIT" ]
1
2017-09-20T04:17:36.000Z
2017-09-20T23:56:04.000Z
modules/promises/userPromises.js
collinnolen/CollinsBlog_Nodejs
bc3a63036703e1f9fecd0c0b647c549a598e6bf4
[ "MIT" ]
null
null
null
const User = require('../../models/user.js'); const UnverifiedUser = require('../../models/unverifiedUser.js'); module.exports = { followUserByUsername: function(userToFollow, userFollowing){ return new Promise(function(resolve, reject){ User.followUserByUsername(userToFollow, userFollowing, function(err)...
24.784314
81
0.594937
061b43d2ffd1daca9d896f77d8744368c51b7704
23,892
js
JavaScript
esp8266_wifi_duck/html/files/new/main.js
samdenty99/wifi_ducky
b6cfb7b4ba1183d0626de265ea3bd51aa92246f5
[ "MIT" ]
14
2017-09-07T23:49:20.000Z
2018-09-03T13:55:51.000Z
esp8266_wifi_duck/html/files/new/main.js
samdenty99/wifi_ducky
b6cfb7b4ba1183d0626de265ea3bd51aa92246f5
[ "MIT" ]
null
null
null
esp8266_wifi_duck/html/files/new/main.js
samdenty99/wifi_ducky
b6cfb7b4ba1183d0626de265ea3bd51aa92246f5
[ "MIT" ]
3
2018-04-04T06:01:45.000Z
2018-06-19T09:41:07.000Z
function $(e){ return document.getElementById(e); }; var version = "9.0", sL = $('spinner-container'), notification = $("notification"), themeColor = getComputedStyle(document.body), saveStatus = $('spinner-container'), autoExec = $('autoExec'), execContainer = $('execContainer'), main = document.getElementsByTa...
41.989455
5,985
0.647874
061b7348d6b39a53d088ca6d8dff1129e56f79dd
4,921
js
JavaScript
src/Environment.js
alexantom/live
9469a4f1a9ce3fd211572feccad6bad3521640ff
[ "MIT" ]
null
null
null
src/Environment.js
alexantom/live
9469a4f1a9ce3fd211572feccad6bad3521640ff
[ "MIT" ]
null
null
null
src/Environment.js
alexantom/live
9469a4f1a9ce3fd211572feccad6bad3521640ff
[ "MIT" ]
null
null
null
// @flow import {Environment, Network, RecordSource, Store} from 'relay-runtime'; import Cookies from 'universal-cookie'; import config from './config'; import PreloadCache from './preloadQueryCache'; import OneGraphAuth from 'onegraph-auth'; class AuthDummy { isLoggedIn(x: any) { return Promise.resolve(false)...
25.365979
87
0.61959
061c21a74bdded4a2ae8ee09db05b58af217ac26
3,079
js
JavaScript
src/controller/contact.controller.js
vanduc1102/nodejs-course-api-sample
7b63d4e422fc90e15865f19ff4e659e7427c3a96
[ "MIT" ]
null
null
null
src/controller/contact.controller.js
vanduc1102/nodejs-course-api-sample
7b63d4e422fc90e15865f19ff4e659e7427c3a96
[ "MIT" ]
null
null
null
src/controller/contact.controller.js
vanduc1102/nodejs-course-api-sample
7b63d4e422fc90e15865f19ff4e659e7427c3a96
[ "MIT" ]
null
null
null
'use strict'; /** * Module dependencies */ const mongoose = require('mongoose'), fs = require('fs'), Contact = mongoose.model('Contact'), authorization= require('../service/authorization.service'); /** * Create an Contact */ exports.createByFormData = function (req, res) { req.body.avatarUrl = req.file.pat...
20.256579
99
0.580383
061d2bdfe4b7ed7cd619c24d011e2e840baccb0c
53,716
js
JavaScript
proton-c/bindings/javascript/data.js
stewnorriss/https-github.com-apache-qpid-proton
4d25d88f5c96165c7c6aa24c28d214ad599caff8
[ "Apache-2.0" ]
2
2020-04-28T13:33:06.000Z
2020-06-01T14:51:05.000Z
proton-c/bindings/javascript/data.js
stewnorriss/https-github.com-apache-qpid-proton
4d25d88f5c96165c7c6aa24c28d214ad599caff8
[ "Apache-2.0" ]
null
null
null
proton-c/bindings/javascript/data.js
stewnorriss/https-github.com-apache-qpid-proton
4d25d88f5c96165c7c6aa24c28d214ad599caff8
[ "Apache-2.0" ]
4
2015-10-17T20:44:45.000Z
2021-06-08T19:00:56.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 ...
33.933039
109
0.642453
061ea5a4a94123e07d1716731337b3143837983b
2,264
js
JavaScript
src/components/EventsIndex.js
budougumi0617/sandbox-react
4271013ea126e7be3be01e4322cbb888c05ef62c
[ "MIT" ]
null
null
null
src/components/EventsIndex.js
budougumi0617/sandbox-react
4271013ea126e7be3be01e4322cbb888c05ef62c
[ "MIT" ]
null
null
null
src/components/EventsIndex.js
budougumi0617/sandbox-react
4271013ea126e7be3be01e4322cbb888c05ef62c
[ "MIT" ]
null
null
null
// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table'; import FloatingActionButton from 'material-ui/FloatingActionButt...
24.608696
89
0.605124
061f080577643c481e46335a20b581415f4c1233
136
js
JavaScript
gulp-tasks/tasks/build/build.js
leonkyr/jsshop
f36df2ba7bd44febebd7e6a3ad51d51082d33808
[ "Apache-2.0" ]
2
2015-06-09T09:20:50.000Z
2016-02-19T20:16:59.000Z
gulp-tasks/tasks/build/build.js
leonkyr/jsshop
f36df2ba7bd44febebd7e6a3ad51d51082d33808
[ "Apache-2.0" ]
null
null
null
gulp-tasks/tasks/build/build.js
leonkyr/jsshop
f36df2ba7bd44febebd7e6a3ad51d51082d33808
[ "Apache-2.0" ]
null
null
null
var gulp = require('gulp-help')(require('gulp')); gulp.task('build', 'Builds both development and production version', ['build:prod']);
45.333333
85
0.705882
061f16133da4ceb9c2bfa67aa5868a02eef83d40
490
js
JavaScript
api/resources/userPost/post.router.js
codingknite/hackbuddy
3fa6279437b6f0551e4c9e10de799d1c0efaf1f3
[ "MIT" ]
null
null
null
api/resources/userPost/post.router.js
codingknite/hackbuddy
3fa6279437b6f0551e4c9e10de799d1c0efaf1f3
[ "MIT" ]
1
2021-09-27T11:56:59.000Z
2021-09-27T11:56:59.000Z
api/resources/userPost/post.router.js
codingknite/hackbuddy
3fa6279437b6f0551e4c9e10de799d1c0efaf1f3
[ "MIT" ]
null
null
null
const { Router } = require('express'); const { getAllPosts, createPost, getPost, updatePost, deletePost, queryPosts, } = require('./post.controller'); const { checkJwt } = require('../../middleware/auth.middleware'); const router = Router(); router.route('/').get(getAllPosts).post(checkJwt, createPost); ...
18.846154
65
0.681633
061f252d0bcfb34171e9e7030bf364edce64435d
3,189
js
JavaScript
spec/cypress/support/step_definitions/common-navigation.js
DFE-Digital/ecf-engage-and-learn
397eca2cbd8d06b686b75abd377819ccbf96acad
[ "MIT" ]
null
null
null
spec/cypress/support/step_definitions/common-navigation.js
DFE-Digital/ecf-engage-and-learn
397eca2cbd8d06b686b75abd377819ccbf96acad
[ "MIT" ]
246
2021-02-10T12:06:49.000Z
2022-02-28T11:17:02.000Z
spec/cypress/support/step_definitions/common-navigation.js
DFE-Digital/ecf-engage-and-learn
397eca2cbd8d06b686b75abd377819ccbf96acad
[ "MIT" ]
1
2021-04-10T21:44:15.000Z
2021-04-10T21:44:15.000Z
import { Given, When, Then } from "cypress-cucumber-preprocessor/steps"; import { parseArgs } from "./database"; Given("scenario {string} has been ran", (scenario) => cy.appScenario(scenario)); const pagePaths = { cookie: "/cookies", start: "/", "guidance speedbump": "/guidance-question", accessibility: "/acc...
33.925532
80
0.661336
061f320189eece022c93057bc88919968508d094
605
js
JavaScript
02-write-file/index.js
Dimas-worker/HTML-builder
8c93dd19758524f0e869a792e5ba44402187ecee
[ "MIT" ]
null
null
null
02-write-file/index.js
Dimas-worker/HTML-builder
8c93dd19758524f0e869a792e5ba44402187ecee
[ "MIT" ]
null
null
null
02-write-file/index.js
Dimas-worker/HTML-builder
8c93dd19758524f0e869a792e5ba44402187ecee
[ "MIT" ]
null
null
null
const fs = require('fs'); const path = require('path'); const { stdin: input, stdout: output } = require('process'); fs.createWriteStream(path.join(__dirname, 'input.txt')); output.write('please, enter some text\n'); input.on('data', (data) => { if (data.toString().trim().toLowerCase() === 'exit') { pr...
30.25
93
0.601653
061fd18873ab238eca1f3f22420833793b430ca7
18,444
js
JavaScript
Bamboo/atlassian-bamboo-5.4.3/atlassian-bamboo/scripts/build-decorator.js
EdoardoVignati/java-deserialization-of-untrusted-data-poc
6cea9bd35bc03bef802519dda88fdfdd69a3ec2b
[ "CC0-1.0" ]
25
2019-05-22T14:18:02.000Z
2022-03-08T21:56:49.000Z
Bamboo/atlassian-bamboo-5.4.3/atlassian-bamboo/scripts/build-decorator.js
EdoardoVignati/Java-untrusted-deserialization-poc
6cea9bd35bc03bef802519dda88fdfdd69a3ec2b
[ "CC0-1.0" ]
null
null
null
Bamboo/atlassian-bamboo-5.4.3/atlassian-bamboo/scripts/build-decorator.js
EdoardoVignati/Java-untrusted-deserialization-poc
6cea9bd35bc03bef802519dda88fdfdd69a3ec2b
[ "CC0-1.0" ]
4
2020-12-07T01:54:45.000Z
2021-11-15T18:33:54.000Z
(function ($, BAMBOO) { BAMBOO.BUILDRESULT = {}; BAMBOO.PLAN = {}; BAMBOO.BUILDRESULT.StatusRibbon = function (opts) { var defaults = { ribbonSelector: null, key: null, progressBarContainerSelector: '.status-ribbon-progress-bar' }, ...
45.995012
249
0.439493
0621c5deb89a62d3ff9e04d10d42ac291261e9db
3,360
js
JavaScript
exercises/58 - Gallery/gallery-prototype-FINISHED.js
krtb/js-review-and-notes
73dc8b9f7d9fdbc5d1d5690547ebe3be3c27ae77
[ "MIT" ]
1
2020-10-05T09:15:41.000Z
2020-10-05T09:15:41.000Z
exercises/58 - Gallery/gallery-prototype-FINISHED.js
krtb/js-review-and-notes
73dc8b9f7d9fdbc5d1d5690547ebe3be3c27ae77
[ "MIT" ]
12
2021-03-10T14:32:18.000Z
2022-02-13T10:51:39.000Z
exercises/58 - Gallery/gallery-prototype-FINISHED.js
krtb/js-review-and-notes
73dc8b9f7d9fdbc5d1d5690547ebe3be3c27ae77
[ "MIT" ]
null
null
null
function Gallery(gallery) { if (!gallery) { throw new Error('No Gallery Found!'); } this.gallery = gallery; // select the elements we need this.images = Array.from(gallery.querySelectorAll('img')); this.modal = document.querySelector('.modal'); this.prevButton = this.modal.querySelector('.prev'); th...
32
77
0.704762
06242672d10612386fc1526976d0e71d99d97a88
1,081
js
JavaScript
lib/impl/pdfGeneration/createPhantomSession.js
feedhenry/fh-forms
87df586b9589e3c636e1e607163862cfb64872dd
[ "Apache-2.0" ]
null
null
null
lib/impl/pdfGeneration/createPhantomSession.js
feedhenry/fh-forms
87df586b9589e3c636e1e607163862cfb64872dd
[ "Apache-2.0" ]
53
2016-11-30T11:23:29.000Z
2018-09-27T16:46:21.000Z
lib/impl/pdfGeneration/createPhantomSession.js
feedhenry/fh-forms
87df586b9589e3c636e1e607163862cfb64872dd
[ "Apache-2.0" ]
14
2017-01-03T14:15:35.000Z
2018-05-01T09:48:09.000Z
var logger = require('../../common/logger.js').getLogger(); var phantom = require('phantom'); var getNextPhantomPort = require('./getNextPhantomPort'); /** * Getting/Creating A new phantom session * @param cb * @returns {*} * @private */ module.exports = function createPhantomSession(cb) { var port = getNextPha...
32.757576
99
0.636448
062562f4fe7ce39ee23a847dae7c1cdb09faf65f
1,064
js
JavaScript
AV/Graph/MCSTCON.js
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
200
2015-02-08T05:27:52.000Z
2022-03-23T02:44:38.000Z
AV/Graph/MCSTCON.js
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
119
2015-03-22T22:38:21.000Z
2022-03-15T04:38:52.000Z
AV/Graph/MCSTCON.js
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
105
2015-01-03T08:55:00.000Z
2022-03-19T00:51:45.000Z
$(document).ready(function () { "use strict"; var av = new JSAV("MCSTCON", {"animationMode": "none"}); var g = av.ds.graph({width: 500, height: 250, layout: "manual", directed: false}); var vA = g.addNode("A", {"left": 20, "top": 0}); var vB = g.addNode("B", {"left": 250, "top": ...
44.333333
71
0.528195
0626598aacd6f1f5fd36a9f3053001017654b162
1,325
js
JavaScript
src/components/Success.js
lucasmoraismt/projeto-Cineflex
9452f1ee8b0b570f21d5a3a9d1e73cbc8a61132a
[ "MIT" ]
null
null
null
src/components/Success.js
lucasmoraismt/projeto-Cineflex
9452f1ee8b0b570f21d5a3a9d1e73cbc8a61132a
[ "MIT" ]
1
2021-05-19T18:21:36.000Z
2021-05-19T18:21:36.000Z
src/components/Success.js
lucasmoraismt/projeto-Cineflex
9452f1ee8b0b570f21d5a3a9d1e73cbc8a61132a
[ "MIT" ]
2
2021-05-14T22:15:53.000Z
2021-05-19T18:18:05.000Z
import { useHistory } from "react-router-dom"; export default function Success(props) { const { setInputName, setCpf, setSuccessData } = props; const { name, cpf, title, date, hour, seats } = props.purchaseData; let history = useHistory(); const orderedSeats = seats .map((i) => parseInt(i)) .sort(funct...
28.804348
69
0.576604
0628835faf7309e4b841bc2eeecc6761b1df52c3
2,211
js
JavaScript
js/demo/chart-pie-repair-replace.js
derekmadden/lespwaAMS
50333519b122c98b2d9462c6923f833362aace53
[ "MIT" ]
1
2021-04-20T16:28:36.000Z
2021-04-20T16:28:36.000Z
js/demo/chart-pie-repair-replace.js
derekmadden/lespwaAMS
50333519b122c98b2d9462c6923f833362aace53
[ "MIT" ]
null
null
null
js/demo/chart-pie-repair-replace.js
derekmadden/lespwaAMS
50333519b122c98b2d9462c6923f833362aace53
[ "MIT" ]
null
null
null
// Set new default font family and font color to mimic Bootstrap's default styling Chart.defaults.global.defaultFontFamily = 'Nunito', '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'; Chart.defaults.global.defaultFontColor = '#858796'; testAjax(function(output){ // a...
24.566667
149
0.588874
0629bb4ffae7187b820d6f93d074f829113a8919
4,159
js
JavaScript
src/components/welcomePage.js
arnaudambro/atd-site
dc2c73fc37a717b1e9d5dc7c1ad4564d345fe40d
[ "MIT" ]
1
2021-12-20T15:27:13.000Z
2021-12-20T15:27:13.000Z
src/components/welcomePage.js
arnaudambro/atd-site
dc2c73fc37a717b1e9d5dc7c1ad4564d345fe40d
[ "MIT" ]
11
2019-08-28T18:10:58.000Z
2022-02-26T02:36:40.000Z
src/components/welcomePage.js
arnaudambro/atd-site
dc2c73fc37a717b1e9d5dc7c1ad4564d345fe40d
[ "MIT" ]
null
null
null
import React from "react" import styled, { keyframes } from "styled-components" import SEO from "./seo" import Img from "gatsby-image/withIEPolyfill" import { getImageFromSrc } from "../helpers/selectors" // import logo from "../images/logo.svg" import ajap from "../images/LOGO_AJAP.png" import { media } from "../styl...
25.359756
211
0.633566
062aba3db3034999a76ddb426149507fb9b97ff5
3,278
js
JavaScript
Actors/VisualObjects/src/VisualObjects.WebService/wwwroot/Scripts/visualobjects.js
waleed99877/service-fabric-java-getting-started
d62ebc81530f3b93b9c78e64df39bf9276164f80
[ "MIT" ]
61
2016-12-07T12:54:53.000Z
2021-08-10T00:49:10.000Z
Actors/VisualObjects/src/VisualObjects.WebService/wwwroot/Scripts/visualobjects.js
waleed99877/service-fabric-java-getting-started
d62ebc81530f3b93b9c78e64df39bf9276164f80
[ "MIT" ]
7
2017-06-22T09:39:51.000Z
2019-03-02T16:46:24.000Z
Actors/VisualObjects/src/VisualObjects.WebService/wwwroot/Scripts/visualobjects.js
waleed99877/service-fabric-java-getting-started
d62ebc81530f3b93b9c78e64df39bf9276164f80
[ "MIT" ]
36
2016-11-11T02:43:10.000Z
2022-03-09T10:45:34.000Z
var nodeBuffersUpdated = false; var nodesToRender = new Array(); var triangles = new Array(); var triangleHistories = new Array(); function updateNodeBuffers(nodes) { for (var incomingNodes = 0; incomingNodes < nodes.length; ++incomingNodes) { var node = nodes[incomingNodes]; nodesToRender[incomin...
28.754386
106
0.604942
062b00ec658c071e7cb760dfcf82797b2e68bb7a
843
js
JavaScript
src/index.test.js
509dave16/startwars-names
8df13e4f0dfd5ccaaa8646675b5f4c150a622885
[ "MIT" ]
null
null
null
src/index.test.js
509dave16/startwars-names
8df13e4f0dfd5ccaaa8646675b5f4c150a622885
[ "MIT" ]
3
2016-05-26T22:57:16.000Z
2016-05-26T23:37:16.000Z
src/index.test.js
509dave16/starwars-names
8df13e4f0dfd5ccaaa8646675b5f4c150a622885
[ "MIT" ]
null
null
null
import starWars from './index'; import {expect} from 'chai'; describe('starwars-names', () => { describe('all', () => { it('should be an array of strings', () => expect(starWars.all).to.satisfy( array => array.every(item => typeof item === 'string') ) ); it('should contain `Luke Skyw...
30.107143
93
0.596679
062b74f7ff3bb47144990d7b40c2ade3e134fa2e
1,563
js
JavaScript
demos/tabs/index.js
CH0918/web-learning
c444771ddd2c29f7e702b43109f26648d5e110b1
[ "MIT" ]
null
null
null
demos/tabs/index.js
CH0918/web-learning
c444771ddd2c29f7e702b43109f26648d5e110b1
[ "MIT" ]
null
null
null
demos/tabs/index.js
CH0918/web-learning
c444771ddd2c29f7e702b43109f26648d5e110b1
[ "MIT" ]
null
null
null
// var oLis = document.getElementsByClassName('tab-item'), // contentItems = document.getElementsByClassName('content-item'), // lisLen = oLis.length; // for (var i = 0; i < lisLen; i++) { // (function(i) { // oLis[i].addEventListener('click', function() { // for (var j = 0; j < lisLen; j++) { // ...
30.647059
72
0.539987
062b8842a0295ade84cdeaed6d753de4f206bbec
1,511
js
JavaScript
web.client/src/app/component/Button/index.js
ErcoFeatures/Queue_Dashboard_web_client
937d6d17b0794c42e86817617ed8cc74c7088036
[ "MIT" ]
null
null
null
web.client/src/app/component/Button/index.js
ErcoFeatures/Queue_Dashboard_web_client
937d6d17b0794c42e86817617ed8cc74c7088036
[ "MIT" ]
8
2018-11-07T15:44:59.000Z
2019-03-26T20:04:45.000Z
web.client/src/app/component/Button/index.js
ErcoFeatures/Queue_Dashboard_web_client
937d6d17b0794c42e86817617ed8cc74c7088036
[ "MIT" ]
null
null
null
import React from 'react' import PropTypes from 'prop-types' import './styles.css' export const TextButtonWithIcon = (props) => { let activeState = props.activeClientID && props.activeClientID === props.id?"active":"" return ( <div onClick={props.onclick} className={"textButtonWithIcon "+props.classNa...
25.610169
119
0.600927
062c3898e99c820dd2bd24dd5e93363499bd8659
43
js
JavaScript
test/configuration/files/tables/child/table3.js
mikejohanson/azure-mobile-apps-node
17339b46f6631fd56fbbc7fb5b7e870f144ee764
[ "MIT" ]
null
null
null
test/configuration/files/tables/child/table3.js
mikejohanson/azure-mobile-apps-node
17339b46f6631fd56fbbc7fb5b7e870f144ee764
[ "MIT" ]
2
2016-01-29T21:44:23.000Z
2016-03-31T19:07:39.000Z
test/configuration/files/tables/child/table3.js
mikejohanson/azure-mobile-apps-node
17339b46f6631fd56fbbc7fb5b7e870f144ee764
[ "MIT" ]
1
2021-02-03T13:23:49.000Z
2021-02-03T13:23:49.000Z
module.exports = { softDelete: true }
10.75
20
0.627907
062c62e6e9d4d0461d68c345f862a273bb0be304
5,679
js
JavaScript
chorus/webapp/src/main/webapp/WEB-INF/resources/script/util/table-operations-util.js
InfoClinika/chorus-opensource
d0da23026aeaf3ac5c513b514224d537db98d551
[ "Apache-2.0" ]
1
2018-03-22T06:54:50.000Z
2018-03-22T06:54:50.000Z
chorus/webapp/src/main/webapp/WEB-INF/resources/script/util/table-operations-util.js
InfoClinika/chorus-opensource
d0da23026aeaf3ac5c513b514224d537db98d551
[ "Apache-2.0" ]
11
2018-03-28T14:02:13.000Z
2019-05-07T09:17:33.000Z
chorus/webapp/src/main/webapp/WEB-INF/resources/script/util/table-operations-util.js
InfoClinika/chorus-opensource
d0da23026aeaf3ac5c513b514224d537db98d551
[ "Apache-2.0" ]
3
2018-02-26T18:55:45.000Z
2018-11-09T12:13:25.000Z
/*** Utility operations for the so called tabular data. E.g. multiple Excel-like cells organized into rows and columns. ***/ "use strict"; //todo[tymchenko]: Discuss if we need to have object-based params (e.g. {getWidth: function() {...}, ...}) //and callback to process cell after its contents is changed (to highlig...
38.114094
126
0.440571
062cd2814db182ca33fd2ac0a7cd999fcf103e2e
1,734
js
JavaScript
server.js
AllenHunn/discord-ufs-card-bot
9539c42a665f0d97b2fbba418773c1e61c7968ff
[ "MIT" ]
null
null
null
server.js
AllenHunn/discord-ufs-card-bot
9539c42a665f0d97b2fbba418773c1e61c7968ff
[ "MIT" ]
null
null
null
server.js
AllenHunn/discord-ufs-card-bot
9539c42a665f0d97b2fbba418773c1e61c7968ff
[ "MIT" ]
null
null
null
var Discord = require("discord.io"); var logger = require("winston"); var auth = require("./auth.json"); var request = require("request"); var cheerio = require("cheerio"); // Configure logger settings logger.remove(logger.transports.Console); logger.add(logger.transports.Console, { colorize: true }); logger.level...
27.52381
90
0.530565
062dc8075501f680818b4d87dc9a408dc6a80943
397
js
JavaScript
dist/js/resources.js
allenlili/arcade-game
83abe6d4985d970b657a074eb0cb754094e06751
[ "MIT" ]
null
null
null
dist/js/resources.js
allenlili/arcade-game
83abe6d4985d970b657a074eb0cb754094e06751
[ "MIT" ]
null
null
null
dist/js/resources.js
allenlili/arcade-game
83abe6d4985d970b657a074eb0cb754094e06751
[ "MIT" ]
null
null
null
!function(){var r={},t=[];function o(n){if(r[n])return r[n];var o=new Image;o.onload=function(){r[n]=o,a()&&t.forEach(function(n){n()})},r[n]=!1,o.src=n}function a(){var n=!0;for(var o in r)r.hasOwnProperty(o)&&!r[o]&&(n=!1);return n}window.Resources={load:function(n){n instanceof Array?n.forEach(function(n){o(n)}):o(n...
397
397
0.649874
062e8adf0a2fce25fd6e566b05b5549ff39b75f2
2,074
js
JavaScript
react/src/views/ClientesLista/components/Results/Results.js
allandemiranda/doucemaria
a0ba6c7acb3b49633c7b23d2bdf3a123468ea227
[ "MIT" ]
null
null
null
react/src/views/ClientesLista/components/Results/Results.js
allandemiranda/doucemaria
a0ba6c7acb3b49633c7b23d2bdf3a123468ea227
[ "MIT" ]
null
null
null
react/src/views/ClientesLista/components/Results/Results.js
allandemiranda/doucemaria
a0ba6c7acb3b49633c7b23d2bdf3a123468ea227
[ "MIT" ]
null
null
null
/* eslint-disable react/display-name */ /* eslint-disable react/no-multi-comp */ /* eslint-disable react/jsx-closing-bracket-location */ /* eslint-disable react/jsx-no-undef */ import React from 'react'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import { makeStyles } from '@material-ui/styles'; impo...
22.543478
55
0.535198
062ead074d164fc2f802c8c51c4ead0b9b2941ac
3,511
js
JavaScript
animation.js
phoenixstormcrow/trees
b5eca066dde9dcbce17d86a9947f6e9e368c48b1
[ "MIT" ]
1
2018-12-02T21:20:46.000Z
2018-12-02T21:20:46.000Z
animation.js
phoenixstormcrow/trees
b5eca066dde9dcbce17d86a9947f6e9e368c48b1
[ "MIT" ]
null
null
null
animation.js
phoenixstormcrow/trees
b5eca066dde9dcbce17d86a9947f6e9e368c48b1
[ "MIT" ]
null
null
null
/* animation.js the animation logic for our trees animation */ module.exports = function animation(canvas, model) { return { model: model, displayCanvas: canvas, displayContext: canvas.getContext('2d'), init: function () { this.paused = true; /* set up th...
37.752688
103
0.545998
0630337caed5e02c98fa661aef1e543bd1b95efe
831
js
JavaScript
landing/src/components/layout.js
williamlagos/boxer
e96edbc309139e7398915635bdecead21c35f605
[ "MIT" ]
null
null
null
landing/src/components/layout.js
williamlagos/boxer
e96edbc309139e7398915635bdecead21c35f605
[ "MIT" ]
1
2020-04-24T22:36:22.000Z
2020-04-24T22:36:22.000Z
landing/src/components/layout.js
efforia/boxer
e96edbc309139e7398915635bdecead21c35f605
[ "MIT" ]
null
null
null
import React from "react" import "../styles/normalize.css" import "../styles/skeleton.css" import "../styles/landing.css" import Footer from "./Footer"; class Template extends React.Component { constructor(props) { super(props); this.state = { loading: 'is-loading' } } componen...
19.785714
86
0.535499
0630461f39e01e57b98e724b395bc11548ccf6b0
16,369
js
JavaScript
o2server/servers/webServer/x_component_service_AgentDesigner/Agent.js
huangxinping/o2oa
0193f18595e0c5be054c21742b62c8fa477f350f
[ "Apache-2.0" ]
null
null
null
o2server/servers/webServer/x_component_service_AgentDesigner/Agent.js
huangxinping/o2oa
0193f18595e0c5be054c21742b62c8fa477f350f
[ "Apache-2.0" ]
null
null
null
o2server/servers/webServer/x_component_service_AgentDesigner/Agent.js
huangxinping/o2oa
0193f18595e0c5be054c21742b62c8fa477f350f
[ "Apache-2.0" ]
null
null
null
MWF.xApplication = MWF.xApplication || {}; MWF.xApplication.service = MWF.xApplication.service || {}; MWF.xApplication.service.AgentDesigner = MWF.xApplication.service.AgentDesigner || {}; MWF.SRVAD = MWF.xApplication.service.AgentDesigner; MWF.require("MWF.widget.Common", null, false); MWF.xDesktop.requireApp("service...
41.971795
163
0.531187
06319c3ada3760fcfbcf149f2bfadc142cc083f1
12,299
js
JavaScript
ismApp/app/controllers/AdvReaction2.js
wemakefocus/ismApp
b92392141e08f140a0f402cfc75608cdf71f597d
[ "Apache-2.0" ]
null
null
null
ismApp/app/controllers/AdvReaction2.js
wemakefocus/ismApp
b92392141e08f140a0f402cfc75608cdf71f597d
[ "Apache-2.0" ]
null
null
null
ismApp/app/controllers/AdvReaction2.js
wemakefocus/ismApp
b92392141e08f140a0f402cfc75608cdf71f597d
[ "Apache-2.0" ]
null
null
null
/** * Created by think on 2016/11/3. */ 'use strict'; angular.module('app').controller('AdvReaction2',AdvReaction2 ); function AdvReaction2($scope,$http, $rootScope, $location) { var vm = $scope.vm = {}; $rootScope.pageLoading = false; // 供页面中使用的函数 //$http.get("http://202.117.54.88:9999/adr/getD...
37.611621
163
0.337507
0631cd57a2546b9b48336a02981380e443288dd0
412
js
JavaScript
index.js
Richienb/get-url-title
13ece4146f336e52f88480fd33333ba79c2215cf
[ "MIT" ]
2
2020-01-06T07:56:06.000Z
2020-04-07T02:03:07.000Z
index.js
Richienb/get-url-title
13ece4146f336e52f88480fd33333ba79c2215cf
[ "MIT" ]
22
2020-01-26T23:16:11.000Z
2020-09-12T11:58:03.000Z
index.js
Richienb/get-url-title
13ece4146f336e52f88480fd33333ba79c2215cf
[ "MIT" ]
null
null
null
"use strict" const isUrl = require("is-url-superb") const metascraper = require("metascraper")([ require("metascraper-title")() ]) const ky = require("ky-universal").create({ throwHttpErrors: false }) module.exports = async url => { if (!isUrl(url)) { throw new TypeError("A valid url must be provided!") } con...
17.913043
54
0.665049
0635032e92eb5f5d8c3f24abca3c8dbeb414c667
516
js
JavaScript
mobile/src/components/UpdatedProduct/styles.js
costadaniel/tbnb-test
a84ef99a022fed8eda1ba5a614775f2362f6d84d
[ "MIT" ]
null
null
null
mobile/src/components/UpdatedProduct/styles.js
costadaniel/tbnb-test
a84ef99a022fed8eda1ba5a614775f2362f6d84d
[ "MIT" ]
null
null
null
mobile/src/components/UpdatedProduct/styles.js
costadaniel/tbnb-test
a84ef99a022fed8eda1ba5a614775f2362f6d84d
[ "MIT" ]
null
null
null
import styled from "styled-components/native"; export const Container = styled.TouchableOpacity` background-color: #fff; margin-top: 10px; margin-left: 10px; margin-right: 10px; padding: 10px; `; export const ProductName = styled.Text` font-size: 18px; font-weight: bold; `; export const ProductDescript...
18.428571
49
0.717054
0636bba6e72589527c1b52e02b7db55032e1229d
883
js
JavaScript
tests/flow/react/proptype_shape.js
fuelingtheweb/prettier
53edfeb1ded1e2729e3f226f1a3fcc3b42516776
[ "MIT" ]
40,139
2017-02-20T22:01:11.000Z
2022-03-31T19:56:19.000Z
tests/flow/react/proptype_shape.js
fuelingtheweb/prettier
53edfeb1ded1e2729e3f226f1a3fcc3b42516776
[ "MIT" ]
9,185
2017-02-20T22:02:24.000Z
2022-03-31T20:45:07.000Z
tests/flow/react/proptype_shape.js
fuelingtheweb/prettier
53edfeb1ded1e2729e3f226f1a3fcc3b42516776
[ "MIT" ]
4,365
2017-02-21T16:30:33.000Z
2022-03-31T02:49:26.000Z
/* Shape should be a sealed, inexact object just like a type annotation. The * below component's `foo` property should be equivalent to `{ bar: string }`, * which would forbid reads/writes on an unknown `baz` property. * * If you see a single "number incompatible with string" error instead of two * separate "prope...
24.527778
80
0.655719
0636db33b89af54edbca9879ef1a966a4844c53b
466
js
JavaScript
src/components/shared/Notifier/redux/reducer.js
SuarezValenciaSebastian/FastShoppingApp-front
9e173eb4178b20ec604da9d1f99c1efb516ac538
[ "MIT" ]
null
null
null
src/components/shared/Notifier/redux/reducer.js
SuarezValenciaSebastian/FastShoppingApp-front
9e173eb4178b20ec604da9d1f99c1efb516ac538
[ "MIT" ]
null
null
null
src/components/shared/Notifier/redux/reducer.js
SuarezValenciaSebastian/FastShoppingApp-front
9e173eb4178b20ec604da9d1f99c1efb516ac538
[ "MIT" ]
null
null
null
import { NOTIFIER_NOTIFICATION__PUSH, NOTIFIER_NOTIFICATION__DISMISS, } from "./actions"; const initialState = { notifications: [], }; export default (state = initialState, { type, payload }) => { switch (type) { case NOTIFIER_NOTIFICATION__PUSH: return { ...state, notifications: [...state.notificat...
22.190476
76
0.667382
06372631c69e92c4ae9308b0f71aa746edf56b4c
101
js
JavaScript
node_modules/react-bootstrap/esm/NavItem.js
NFT-Genders/GenderCats-front
0b2302c1566cec15270e9fe0ddbd3f20a003b379
[ "MIT" ]
2
2021-11-17T04:27:26.000Z
2022-01-20T06:17:17.000Z
node_modules/react-bootstrap/esm/NavItem.js
NFT-Genders/GenderCats-front
0b2302c1566cec15270e9fe0ddbd3f20a003b379
[ "MIT" ]
42
2022-02-12T15:34:10.000Z
2022-02-15T22:23:30.000Z
node_modules/react-bootstrap/esm/NavItem.js
NFT-Genders/GenderCats-front
0b2302c1566cec15270e9fe0ddbd3f20a003b379
[ "MIT" ]
3
2021-08-05T00:51:37.000Z
2021-09-01T03:20:17.000Z
import createWithBsPrefix from './createWithBsPrefix'; export default createWithBsPrefix('nav-item');
50.5
54
0.831683
063736945efdaf581d0a5c175e962ff01d6a770e
2,578
js
JavaScript
src/main/webapp/assets/js/base/base-notice.js
zcy-fover/CTMS
ca3a9452e4ca159fc6d45982f3ff5c5e01979f7e
[ "BSD-2-Clause" ]
null
null
null
src/main/webapp/assets/js/base/base-notice.js
zcy-fover/CTMS
ca3a9452e4ca159fc6d45982f3ff5c5e01979f7e
[ "BSD-2-Clause" ]
null
null
null
src/main/webapp/assets/js/base/base-notice.js
zcy-fover/CTMS
ca3a9452e4ca159fc6d45982f3ff5c5e01979f7e
[ "BSD-2-Clause" ]
1
2020-05-22T06:42:00.000Z
2020-05-22T06:42:00.000Z
/** * 该 JS 实现了两个功能:showAlert 和 showTip * @type {*|jQuery|HTMLElement} */ var alert = $('#alert'); // alert 默认弹出的速度 var animation_speed = 'normal'; // alert 默认消失时间 var dismiss_time = 2000; // alert 默认样式 var reset_style = { 'margin': '0 auto', 'display': 'table', 'z-index': '2000' }; $(function (){ //...
24.552381
88
0.541893
063a4bccee440cc48c9dac8ab3494a9c30eafd6e
610
js
JavaScript
frontend/node_modules/.pnpm/@rsuite+icons@1.0.2_react-dom@17.0.2+react@17.0.2/node_modules/@rsuite/icons/lib/icons/legacy/ArrowsV.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/lib/icons/legacy/ArrowsV.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/lib/icons/legacy/ArrowsV.js
koenw/fullstack-hello
6a2317b7e6ace4b97134e7cc2bb5b1159b556d78
[ "Apache-2.0", "MIT" ]
null
null
null
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports["default"] = void 0; var _createSvgIcon = _interopRequireDefault(require("../../createSvgIcon")); var _ArrowsV = _interopRequireDefault(require("@rsuite/icon-font/lib/legacy/ArrowsV...
29.047619
87
0.732787
063b5355d36d3d9b6b57bb1c4257e1738bf9abf3
2,174
js
JavaScript
WebContent/js/adBar.js
LZJavaweb/xMeituan
777d9fe4bae99f36b9d0fc89ace591a020fa9cc5
[ "MIT" ]
null
null
null
WebContent/js/adBar.js
LZJavaweb/xMeituan
777d9fe4bae99f36b9d0fc89ace591a020fa9cc5
[ "MIT" ]
1
2018-06-19T13:58:20.000Z
2018-06-19T13:58:20.000Z
WebContent/js/adBar.js
LZJavaweb/xMeituan
777d9fe4bae99f36b9d0fc89ace591a020fa9cc5
[ "MIT" ]
null
null
null
var adpage = 1; function adBar(speed){ //增加广告按钮 var adBox = document.getElementById("main-top-ad"); var imgsBox = document.getElementById("top-ad-img"); var imgs = imgsBox.getElementsByTagName("a"); for (var i = 0; i < imgs.length; i++) { var j = i+1; var a = document.createElement("a"); a.inne...
23.12766
96
0.622815
063c469befbdca4355cca00613543abf8cb68039
2,012
js
JavaScript
packages/veritone-client-js/apis/widget.spec.js
jerry-li-dev/veritone-sdk
c81c571297c38ce4545d4cadceae89d6462c48a7
[ "Apache-2.0" ]
16
2017-09-30T00:17:34.000Z
2020-11-12T22:56:11.000Z
packages/veritone-client-js/apis/widget.spec.js
jerry-li-dev/veritone-sdk
c81c571297c38ce4545d4cadceae89d6462c48a7
[ "Apache-2.0" ]
172
2017-10-03T00:44:05.000Z
2022-03-15T19:52:02.000Z
packages/veritone-client-js/apis/widget.spec.js
jerry-li-dev/veritone-sdk
c81c571297c38ce4545d4cadceae89d6462c48a7
[ "Apache-2.0" ]
7
2017-11-08T06:32:53.000Z
2021-05-11T21:24:46.000Z
import { expect } from 'chai'; import { endpoints } from './config'; import { assertMatches } from '../apis/helper/test-util'; import widgetHandlers from './widget'; describe('Widgets', function() { describe('createWidget', function() { it('posts to the collectionId with the widget', function() { const da...
23.952381
73
0.571074
063d9daff5cfd4d34a5d0d2358989f40012c34cc
64
js
JavaScript
src/components/Monitoring/index.js
tombenke/monitoring-react-component
4eb4d39d966726afff8d447d16e3c13f28bec7f7
[ "MIT" ]
null
null
null
src/components/Monitoring/index.js
tombenke/monitoring-react-component
4eb4d39d966726afff8d447d16e3c13f28bec7f7
[ "MIT" ]
null
null
null
src/components/Monitoring/index.js
tombenke/monitoring-react-component
4eb4d39d966726afff8d447d16e3c13f28bec7f7
[ "MIT" ]
null
null
null
import Monitoring from './Monitoring' export default Monitoring
21.333333
37
0.828125
063e68c8285a9b1570e38e6185651e2aa9ac488e
2,913
js
JavaScript
src/index.js
zainsadaqat/todo-list
d7c563fc991d6a8b605186b9f3cf82b5e834fa9f
[ "MIT" ]
1
2021-08-22T00:56:06.000Z
2021-08-22T00:56:06.000Z
src/index.js
zainsadaqat/todo-list
d7c563fc991d6a8b605186b9f3cf82b5e834fa9f
[ "MIT" ]
5
2021-08-19T07:12:21.000Z
2022-01-23T18:35:15.000Z
src/index.js
zainsadaqat/todo-list
d7c563fc991d6a8b605186b9f3cf82b5e834fa9f
[ "MIT" ]
null
null
null
import Todo from './todo.js'; import './style.css'; const TODO_LIST_KEY = 'TODO_LIST_KEY'; const template = document.querySelector('#list-item-template'); const todoListContainer = document.querySelector('#list'); const form = document.querySelector('.form'); const inputField = document.querySelector('#todo-input'); c...
33.482759
90
0.710608
063ea979c89c1fdde21680e3a06b37fb9208f268
40
js
JavaScript
packages/sdk/src/VERSION.js
nduplessis/flow-js-sdk
62df41544ccc78b062560ae6072acb03a16dcfc6
[ "Apache-2.0" ]
null
null
null
packages/sdk/src/VERSION.js
nduplessis/flow-js-sdk
62df41544ccc78b062560ae6072acb03a16dcfc6
[ "Apache-2.0" ]
null
null
null
packages/sdk/src/VERSION.js
nduplessis/flow-js-sdk
62df41544ccc78b062560ae6072acb03a16dcfc6
[ "Apache-2.0" ]
null
null
null
export const VERSION = "0.0.51-alpha.1"
20
39
0.7
063ea9dc0b4d2bd0b0b35371a9dbd10543d7b96c
579
js
JavaScript
const.js
isijolatosin/luxEmpire
01eb76733979d85941a502954cdcd75d84227685
[ "RSA-MD" ]
null
null
null
const.js
isijolatosin/luxEmpire
01eb76733979d85941a502954cdcd75d84227685
[ "RSA-MD" ]
null
null
null
const.js
isijolatosin/luxEmpire
01eb76733979d85941a502954cdcd75d84227685
[ "RSA-MD" ]
null
null
null
export const AUTHORIZED_ID_1 = "isijolatosin2210@gmail.com" export const AUTHORIZED_ID_2 = "bandgluxuryinternal@gmail.com" export const AUTHORIZED_ID_3 = "bandgluxuryinternal@gmail.com" export const SHIPPING_COST = { canada: 6.99, usa: 20.99, london: 20.99, } export const CANADA = "canada" export const USERS = "u...
32.166667
62
0.768566
063f5c8b829f65edcad979942b69ab428dd0c11e
264
js
JavaScript
server/controllers/pageController.js
Dugbatey-Blossom20/Restaurant_Website
f673851fdcf6856d09e29369cbc9fabfd9752ea9
[ "MIT" ]
null
null
null
server/controllers/pageController.js
Dugbatey-Blossom20/Restaurant_Website
f673851fdcf6856d09e29369cbc9fabfd9752ea9
[ "MIT" ]
null
null
null
server/controllers/pageController.js
Dugbatey-Blossom20/Restaurant_Website
f673851fdcf6856d09e29369cbc9fabfd9752ea9
[ "MIT" ]
null
null
null
require('../models/mongooseConnection') exports.home = async(req,res) => { //rendering the home page await res.render('pages/home', {title : "Home"}) } exports.ourStory = async (req,res) => { await res.render('pages/ourStory', {title: "Our Story"}) }
26.4
60
0.647727
063f8d987d11d208238638210fee6b28a585e656
288
js
JavaScript
javascript/nodejs/udemy/filesystem/pipe.js
marcusbalbi/study
43abfd3e0d7d0eba10623bcb6f0d45f92d8e3ce2
[ "MIT" ]
null
null
null
javascript/nodejs/udemy/filesystem/pipe.js
marcusbalbi/study
43abfd3e0d7d0eba10623bcb6f0d45f92d8e3ce2
[ "MIT" ]
32
2020-07-19T16:35:23.000Z
2022-03-02T04:38:27.000Z
javascript/nodejs/udemy/filesystem/pipe.js
marcusbalbi/study
43abfd3e0d7d0eba10623bcb6f0d45f92d8e3ce2
[ "MIT" ]
null
null
null
const fs = require('fs') const zlib = require('zlib') const stream = fs.createReadStream(__dirname + '/bigtextfile.txt') const compressed = fs.createWriteStream(__dirname + '/copybigtextfile.txt.gz') const gzippedStream = zlib.createGzip() stream.pipe(gzippedStream).pipe(compressed)
28.8
78
0.763889
063fc9dc135febf45c0e345ccb4e1a27a24bf850
37,312
js
JavaScript
fishing-frenzy/setWeight.js
P3orn/blooket-hack
7ac8bce5a405e69f603ac24827e6091af20fe0a2
[ "MIT" ]
null
null
null
fishing-frenzy/setWeight.js
P3orn/blooket-hack
7ac8bce5a405e69f603ac24827e6091af20fe0a2
[ "MIT" ]
null
null
null
fishing-frenzy/setWeight.js
P3orn/blooket-hack
7ac8bce5a405e69f603ac24827e6091af20fe0a2
[ "MIT" ]
null
null
null
function _0x31aa(_0x3cdeeb, _0x2ede77) { var _0x498eb5 = _0x178c(); return _0x31aa = function (_0x52d904, _0x208bd4) { _0x52d904 = _0x52d904 - (-0x19cb + -0x221 * 0x8 + 0x2cc1); var _0x344514 = _0x498eb5[_0x52d904]; return _0x344514; }, _0x31aa(_0x3cdeeb, _0x2ede77); } (function (_0x...
424
33,573
0.763722
06400f95a4858d8cc1cac1e554757961449567a6
2,074
js
JavaScript
index.js
IsraelRamirez/airport_dataset_from_csv_to_json
891ad1a51b607e19899336987438b6bcd866c465
[ "MIT" ]
null
null
null
index.js
IsraelRamirez/airport_dataset_from_csv_to_json
891ad1a51b607e19899336987438b6bcd866c465
[ "MIT" ]
null
null
null
index.js
IsraelRamirez/airport_dataset_from_csv_to_json
891ad1a51b607e19899336987438b6bcd866c465
[ "MIT" ]
null
null
null
const fs = require('fs') const exitFileName = '2017.json' const charDelimited = ',' const inputFileName = './2017.csv' const cantidadDeFilas = 1000 class data { constructor(items) { this.FL_DATE = items[0] this.OP_CARRIER = items[1] this.OP_CARRIER_FL_NUM = parseInt(items[2]) ...
38.407407
113
0.62054
0640973bd3e50199b726f989192eb58b0fa4ef45
1,580
js
JavaScript
step-04-plugins/webpack/webpack.dev.js
pvnkumar17/webpack
5e73b80ea715e8c01fcafafdbde4eb74edf0d624
[ "MIT" ]
12
2017-04-27T12:55:42.000Z
2019-03-25T21:01:33.000Z
step-04-plugins/webpack/webpack.dev.js
pvnkumar17/webpack
5e73b80ea715e8c01fcafafdbde4eb74edf0d624
[ "MIT" ]
null
null
null
step-04-plugins/webpack/webpack.dev.js
pvnkumar17/webpack
5e73b80ea715e8c01fcafafdbde4eb74edf0d624
[ "MIT" ]
3
2018-03-20T09:38:46.000Z
2019-01-27T16:03:22.000Z
const webpackMerge = require('webpack-merge'); // used to merge webpack configs const commonConfig = require('./webpack.common.js'); // the settings that are common to prod and dev const DefinePlugin = require('webpack/lib/DefinePlugin'); // Uncomment for DLL Plugin demo - part 1 /* const webpackMergeDll = webpackMer...
31.6
100
0.622785
064169fbd992532ce49651f3b6e31d14acdbe603
2,512
js
JavaScript
react-ui/src/components/Offcanvas/AbstractNavItem.js
shageenderan/Tamahelpchi
4a6c769daecce663e01509c61c6e45383953a9eb
[ "MIT" ]
null
null
null
react-ui/src/components/Offcanvas/AbstractNavItem.js
shageenderan/Tamahelpchi
4a6c769daecce663e01509c61c6e45383953a9eb
[ "MIT" ]
null
null
null
react-ui/src/components/Offcanvas/AbstractNavItem.js
shageenderan/Tamahelpchi
4a6c769daecce663e01509c61c6e45383953a9eb
[ "MIT" ]
null
null
null
import classNames from 'classnames' import * as React from 'react' import { useContext } from 'react' import useEventCallback from '@restart/hooks/useEventCallback' import warning from 'warning' import NavContext from './NavContext' import SelectableContext, { makeEventKey } from './SelectableContext' import { jsx as _...
38.060606
165
0.653264
0642d46d913ba7ed22549876858589f45ddc1f84
1,195
js
JavaScript
source/components/Editor.react.js
fedosejev/youtube-annotation
85a897f199fdfeabd56397067f679922ef2d295c
[ "MIT" ]
null
null
null
source/components/Editor.react.js
fedosejev/youtube-annotation
85a897f199fdfeabd56397067f679922ef2d295c
[ "MIT" ]
null
null
null
source/components/Editor.react.js
fedosejev/youtube-annotation
85a897f199fdfeabd56397067f679922ef2d295c
[ "MIT" ]
null
null
null
var React = require('react'); var Editor = React.createClass({ editor: null, createEditor: function () { var opts = { container: 'epiceditor', textarea: null, basePath: '/vendor/epiceditor/', clientSideStorage: true, localStorageName: 'epiceditor', useNativeFullscreen: tru...
19.916667
46
0.538912
0642d919552dbe227200dfb07c9f132948d53b63
420
js
JavaScript
javascript/alookup/src/components/SearchBar.js
iovar/experiments
d923fb39ff68dc9e0cb60ed7df7f75e0a07c6d6a
[ "MIT" ]
1
2020-07-29T16:55:27.000Z
2020-07-29T16:55:27.000Z
javascript/alookup/src/components/SearchBar.js
iovar/exp-old
d923fb39ff68dc9e0cb60ed7df7f75e0a07c6d6a
[ "MIT" ]
null
null
null
javascript/alookup/src/components/SearchBar.js
iovar/exp-old
d923fb39ff68dc9e0cb60ed7df7f75e0a07c6d6a
[ "MIT" ]
null
null
null
import React from 'react'; export function SearchBar({ query, onChange, className }) { return ( <React.Fragment> <div className={`${className ? className : '' }`}> <input type="text" className="w-100 form-control p-3 h-auto" placeholder="type artist name" value={query}...
24.705882
59
0.566667
064504bed6256664d4ad861e957ec611d9ef0971
261
js
JavaScript
src/nextIcon.js
cjnaude/react-easy-coverflow
70cb99b572062fd8bbfc60f205684a52da66dbbd
[ "MIT" ]
1
2020-06-07T00:15:30.000Z
2020-06-07T00:15:30.000Z
src/nextIcon.js
cjnaude/react-easy-coverflow
70cb99b572062fd8bbfc60f205684a52da66dbbd
[ "MIT" ]
1
2021-05-10T18:39:29.000Z
2021-05-10T18:39:29.000Z
src/nextIcon.js
cjnaude/react-easy-coverflow
70cb99b572062fd8bbfc60f205684a52da66dbbd
[ "MIT" ]
null
null
null
import React from "react"; const Icon = (props) => ( <svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/><path d="M0 0h24v24H0z" fill="none"/> </svg> ); export default Icon;
29
99
0.62069
0645c0a69bbe11437c2764bc0373f42f46c72390
619
js
JavaScript
app/src/main/assets/js/shooting.js
ricohapi/theta-automatic-face-blur-plugin
32cbcee341953be24c80b0f120c5868222ac7de0
[ "Apache-2.0" ]
14
2018-09-26T10:53:01.000Z
2021-10-06T13:27:17.000Z
app/src/main/assets/js/shooting.js
ricohapi/theta-automatic-face-blur-plugin
32cbcee341953be24c80b0f120c5868222ac7de0
[ "Apache-2.0" ]
null
null
null
app/src/main/assets/js/shooting.js
ricohapi/theta-automatic-face-blur-plugin
32cbcee341953be24c80b0f120c5868222ac7de0
[ "Apache-2.0" ]
3
2018-09-14T13:28:11.000Z
2019-01-30T17:42:19.000Z
function takePicture() { disableShutterButton(); var command = {}; command.name = "camera.takePicture"; var xmlHttpRequest = new XMLHttpRequest(); xmlHttpRequest.onreadystatechange = function() { var READYSTATE_COMPLETED = 4; var HTTP_STATUS_OK = 200; if (this.readyState == READYSTATE_COMPLETED ...
30.95
70
0.704362
06463c337d8f5790925856503e0b1541e6c5e697
198
js
JavaScript
app/javascript/utils/form.js
SMores/mutual-aid
2c65c58e826447c627eb0ab71c538a5138d63930
[ "MIT" ]
49
2020-09-01T18:49:46.000Z
2021-12-05T20:42:44.000Z
app/javascript/utils/form.js
SMores/mutual-aid
2c65c58e826447c627eb0ab71c538a5138d63930
[ "MIT" ]
422
2020-09-01T13:54:52.000Z
2022-03-30T21:59:24.000Z
app/javascript/utils/form.js
SMores/mutual-aid
2c65c58e826447c627eb0ab71c538a5138d63930
[ "MIT" ]
64
2020-09-03T21:58:15.000Z
2021-11-19T18:08:55.000Z
export function fieldNameWithPrefix(prefix, name) { if (!prefix || !prefix.length) return name return name.endsWith('[]') ? `${prefix}[${name.slice(0, -2)}][]` : `${prefix}[${name}]` }
24.75
51
0.59596
064651416c0409e6f480e0e529f89bc8a8a82277
10,287
js
JavaScript
organic_shop/www/organic-cart/js/index.js
jigneshpshah/organic_shop
30973b383581b9d5f3216e95fffb9d82fd42152f
[ "MIT" ]
null
null
null
organic_shop/www/organic-cart/js/index.js
jigneshpshah/organic_shop
30973b383581b9d5f3216e95fffb9d82fd42152f
[ "MIT" ]
null
null
null
organic_shop/www/organic-cart/js/index.js
jigneshpshah/organic_shop
30973b383581b9d5f3216e95fffb9d82fd42152f
[ "MIT" ]
null
null
null
$(document).ready(function () { /* Session Function */ var cart = []; var session_cart = sessionStorage.getItem("cart"); var total = sessionStorage.getItem("total"); var cart_count = frappe.get_cookie("cart_count"); if(cart_count) { $('#view_cart').removeAttr('hidden'); set_cart() } console.log(to...
33.399351
173
0.514436
06476ee4f3ef7bf63b236cc7346b741a563af8fd
2,061
js
JavaScript
js/zonas.js
vmeloni/Trabajo_Final_CoderHouse_Js
98070cfefe4278a378d40ea9b24d0a228eda01d7
[ "MIT" ]
null
null
null
js/zonas.js
vmeloni/Trabajo_Final_CoderHouse_Js
98070cfefe4278a378d40ea9b24d0a228eda01d7
[ "MIT" ]
null
null
null
js/zonas.js
vmeloni/Trabajo_Final_CoderHouse_Js
98070cfefe4278a378d40ea9b24d0a228eda01d7
[ "MIT" ]
null
null
null
class Zonas { constructor (zona,precio,entrega){ this.zona = zona; this.precio = precio; this.entrega = entrega; } agregarZona_lista (div_id){ let div = document.createElement("li"); div.innerHTML = ` <div class="row"> <div class="col-4 zona-items"> ${this.zona}</div> <div class="col...
29.442857
83
0.628821
0647c0f6b13923944dbbb99a3df08a1faf5c4993
5,742
js
JavaScript
client/public/js/demo.min.js
mmarchois/topflop
fcb447c4ad0c776fc182a9d77df18b8135eb2f64
[ "MIT" ]
9
2019-10-08T08:30:45.000Z
2021-05-27T17:09:27.000Z
client/public/js/demo.min.js
mmarchois/topflop
fcb447c4ad0c776fc182a9d77df18b8135eb2f64
[ "MIT" ]
8
2020-08-19T17:18:44.000Z
2022-02-26T18:32:03.000Z
client/public/js/demo.min.js
mmarchois/topflop
fcb447c4ad0c776fc182a9d77df18b8135eb2f64
[ "MIT" ]
2
2019-10-14T07:10:52.000Z
2019-10-21T21:47:27.000Z
/*! * Tabler v0.9.0 (https://tabler.io) * Copyright 2018-2019 codecalm * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE) */'use strict';function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function _defineProperties(a,b){for(var c,...
820.285714
5,551
0.761059
0647e7625f7941001ac3b7020861a2c93d8a4d6f
39
js
JavaScript
crates/swc_ecma_minifier/tests/terser/compress/harmony/classes_can_have_computed_generators/output.terser.js
mengxy/swc
bcc3ae86ae0732979f9fbfef370ae729ba9af080
[ "Apache-2.0" ]
21,008
2017-04-01T04:06:55.000Z
2022-03-31T23:11:05.000Z
ecmascript/minifier/tests/terser/compress/harmony/classes_can_have_computed_generators/output.terser.js
sventschui/swc
cd2a2777d9459ba0f67774ed8a37e2b070b51e81
[ "Apache-2.0", "MIT" ]
2,309
2018-01-14T05:54:44.000Z
2022-03-31T15:48:40.000Z
ecmascript/minifier/tests/terser/compress/harmony/classes_can_have_computed_generators/output.terser.js
sventschui/swc
cd2a2777d9459ba0f67774ed8a37e2b070b51e81
[ "Apache-2.0", "MIT" ]
768
2018-01-14T05:15:43.000Z
2022-03-30T11:29:42.000Z
class C4 { *["constructor"]() {} }
9.75
25
0.461538
0648f19ee4eabfe64e165d126ad19c5daa4c22db
1,691
js
JavaScript
src/layouts/Main/components/Sidebar/components/UserInfo/UserInfo.js
tuevo/Hero-Academy-Client
7af621afdc45c48b31a83b0f1233d5809a3b5ec7
[ "MIT" ]
null
null
null
src/layouts/Main/components/Sidebar/components/UserInfo/UserInfo.js
tuevo/Hero-Academy-Client
7af621afdc45c48b31a83b0f1233d5809a3b5ec7
[ "MIT" ]
null
null
null
src/layouts/Main/components/Sidebar/components/UserInfo/UserInfo.js
tuevo/Hero-Academy-Client
7af621afdc45c48b31a83b0f1233d5809a3b5ec7
[ "MIT" ]
null
null
null
import { Avatar, Typography } from '@material-ui/core'; import { makeStyles } from '@material-ui/styles'; import clsx from 'clsx'; import { availablePages } from 'constants/global.constant'; import { userRole } from 'constants/user-role.constant'; import * as _ from 'lodash'; import PropTypes from 'prop-types'; import ...
23.816901
79
0.628031
0649d0754bdb38c6f530e6694a535127f9e1da56
896
js
JavaScript
src/components/loader/LoadingIndicator.js
hashnir007/ita
646e41f2577769fc34dd04216b635c2c35721c66
[ "MIT" ]
null
null
null
src/components/loader/LoadingIndicator.js
hashnir007/ita
646e41f2577769fc34dd04216b635c2c35721c66
[ "MIT" ]
null
null
null
src/components/loader/LoadingIndicator.js
hashnir007/ita
646e41f2577769fc34dd04216b635c2c35721c66
[ "MIT" ]
1
2020-06-11T11:06:42.000Z
2020-06-11T11:06:42.000Z
import React from "react"; import Loader from "react-loader-spinner"; import tableHeader from "../constantvalues/tableHeaders"; //Generic Loading Component - for both initial as well as component loading function LoadingIndicator({ loaderType = tableHeader.DEFAULT_LOADER }) { const loaderStyle = loaderType === ...
23.578947
75
0.571429
0649ea2692df9b4da11256c0f2901bd01e583308
1,172
js
JavaScript
assets/documentation/Documentation/html/search/files_3.js
TechSupportSparky/TechSupportSparky.github.io
82015d1ebce3ad3c6d488eae18a3fc61353cd241
[ "CC-BY-3.0" ]
null
null
null
assets/documentation/Documentation/html/search/files_3.js
TechSupportSparky/TechSupportSparky.github.io
82015d1ebce3ad3c6d488eae18a3fc61353cd241
[ "CC-BY-3.0" ]
null
null
null
assets/documentation/Documentation/html/search/files_3.js
TechSupportSparky/TechSupportSparky.github.io
82015d1ebce3ad3c6d488eae18a3fc61353cd241
[ "CC-BY-3.0" ]
null
null
null
var searchData= [ ['doxygendata_2eh_1527',['Doxygendata.h',['../_doxygendata_8h.html',1,'']]], ['drawable_2ecpp_1528',['Drawable.cpp',['../_drawable_8cpp.html',1,'']]], ['drawable_2eh_1529',['Drawable.h',['../_drawable_8h.html',1,'']]], ['drawableattorney_2eh_1530',['DrawableAttorney.h',['../_drawable_attorney_...
78.133333
140
0.740614
064a0b7d9f1611f28c128d0162292484ff5dea93
14,650
js
JavaScript
js/mag.js
robdunne-uom/mag-demaa
ee3ddaddabe758fd49bc8b820ce4e72f3732dedc
[ "MIT" ]
null
null
null
js/mag.js
robdunne-uom/mag-demaa
ee3ddaddabe758fd49bc8b820ce4e72f3732dedc
[ "MIT" ]
null
null
null
js/mag.js
robdunne-uom/mag-demaa
ee3ddaddabe758fd49bc8b820ce4e72f3732dedc
[ "MIT" ]
null
null
null
/** * Data visualisations for MAG eye tracking project * August 2015 * @author rob.dunne@manchester.ac.uk */ var app = angular.module('app', []); app.controller('dataImage', function($scope, $http, $sce) { // Set vars // Data for the different views $scope.data = { 'images': { 1: { 'image': 'art/19...
50.517241
1,391
0.693788
064a46cf01aa2c615ba7a4ae1c8d050115efc3eb
6,178
js
JavaScript
src/main/resources/static/admin/js/chunk-2d0afa5f.41cd4019.js
BSGZ123/nxtframework
1ac407fc3b8ba52bd9a19f45006675e785a9fad4
[ "Apache-2.0" ]
148
2020-10-02T11:38:23.000Z
2022-03-30T05:07:08.000Z
src/main/resources/static/admin/js/chunk-2d0afa5f.41cd4019.js
BSGZ123/nxtframework
1ac407fc3b8ba52bd9a19f45006675e785a9fad4
[ "Apache-2.0" ]
11
2020-11-10T06:38:59.000Z
2022-01-19T03:26:05.000Z
src/main/resources/static/admin/js/chunk-2d0afa5f.41cd4019.js
BSGZ123/nxtframework
1ac407fc3b8ba52bd9a19f45006675e785a9fad4
[ "Apache-2.0" ]
67
2020-11-01T08:48:23.000Z
2022-03-31T11:37:41.000Z
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0afa5f"],{"0ee9":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-row",[a("el-button",{attrs:{type:"primary"},on:{click:e.handleCreate}},[e._v("创建")])...
6,178
6,178
0.68922
064a49935c1f0244479a562e89f5188554ad35c3
4,395
js
JavaScript
index.js
strikertanmay/event-triggers
897c329e8f4585e7248eb32638a37e58733a5316
[ "MIT" ]
4
2019-06-28T08:07:49.000Z
2021-11-07T20:18:25.000Z
index.js
strikertanmay/event-triggers
897c329e8f4585e7248eb32638a37e58733a5316
[ "MIT" ]
7
2019-05-14T14:02:56.000Z
2021-05-08T19:55:57.000Z
index.js
strikertanmay/event-triggers
897c329e8f4585e7248eb32638a37e58733a5316
[ "MIT" ]
4
2019-05-15T06:44:14.000Z
2019-07-01T07:49:55.000Z
const express = require("express"); const bodyParser = require("body-parser"); const app = express(); const nodemailer = require("nodemailer"), transporter = nodemailer.createTransport({ host: "smtp.zoho.in", port: 465, secure: true, auth: { user: "hello@cynthesize.co", pass: process.env.E...
26.160714
115
0.555859
064a5cbd2c7c44dae1854582190be5885e8d9408
1,786
js
JavaScript
utils/FontStyles.js
furkankyildirim/sucheduleApp
476803c8032a0f81d5d0bbeff9c851f4b88f5973
[ "MIT" ]
1
2021-10-04T18:59:56.000Z
2021-10-04T18:59:56.000Z
utils/FontStyles.js
furkankyildirim/sucheduleApp
476803c8032a0f81d5d0bbeff9c851f4b88f5973
[ "MIT" ]
null
null
null
utils/FontStyles.js
furkankyildirim/sucheduleApp
476803c8032a0f81d5d0bbeff9c851f4b88f5973
[ "MIT" ]
null
null
null
import { StyleSheet } from 'react-native'; import Colors from './Colors'; const defaultColor = Colors.white const fontStyles = StyleSheet.create({ largeTitle:{ fontSize: 30, color: defaultColor, fontWeight: '600', }, largeIcons:{ fontSize: 40, color: defaultColor, opacity: 0.75, font...
17.339806
42
0.599104
064a964b12a7d70cb14b90413fba908cc44f061a
1,303
js
JavaScript
src/components/titleBar/titleBarActions.js
zenitheesc/ZenView
d46fda3accb35650a233958231f479ac17ea3ffe
[ "MIT" ]
8
2021-03-10T03:31:30.000Z
2021-09-13T02:19:13.000Z
src/components/titleBar/titleBarActions.js
zenitheesc/ZenView
d46fda3accb35650a233958231f479ac17ea3ffe
[ "MIT" ]
38
2021-04-08T13:15:06.000Z
2022-02-28T22:50:52.000Z
src/components/titleBar/titleBarActions.js
Math-42/ZenView
cc5a49bb478b1a3b6b539323fe47bc4331ab321e
[ "MIT" ]
null
null
null
const ipcRenderer = require('electron').ipcRenderer; const remote = require('electron').remote; module.exports = class TitleBarActions { constructor(x, y) { this.x = x; this.y = y; this.browserWindow = remote.getCurrentWindow(); } openMenu() { ipcRenderer.send('display-...
15.890244
73
0.537989
064b540a62b601b2e8edf4bbdf65624dac926cdf
6,001
js
JavaScript
scripts/adminpanel/purchase/lists.js
mawei/colderp
fb6c53e0d64705fbde634764447a9970a17d3f13
[ "Apache-2.0" ]
null
null
null
scripts/adminpanel/purchase/lists.js
mawei/colderp
fb6c53e0d64705fbde634764447a9970a17d3f13
[ "Apache-2.0" ]
null
null
null
scripts/adminpanel/purchase/lists.js
mawei/colderp
fb6c53e0d64705fbde634764447a9970a17d3f13
[ "Apache-2.0" ]
null
null
null
define(function (require) { var $ = require('jquery'); var aci = require('aci'); require('bootstrap'); require('bootstrapValidator'); $(function () { $("#vendor_id").on("change",function(e) { var vendor_id = $("#vendor_id").val(); $("#brand").empty(); ...
33.52514
135
0.431428
064de584341cd5bab869439ac8d3ee77448caa50
1,119
js
JavaScript
packages/translator-default/test/fixtures/white-space-test/snapshots/translated-html.expected.js
jfan04/x
00f6a7f8ebcd47fc234aca449d0fd5fc2f044846
[ "MIT" ]
null
null
null
packages/translator-default/test/fixtures/white-space-test/snapshots/translated-html.expected.js
jfan04/x
00f6a7f8ebcd47fc234aca449d0fd5fc2f044846
[ "MIT" ]
null
null
null
packages/translator-default/test/fixtures/white-space-test/snapshots/translated-html.expected.js
jfan04/x
00f6a7f8ebcd47fc234aca449d0fd5fc2f044846
[ "MIT" ]
null
null
null
const _marko_template = _t(__filename); export default _marko_template; import { x as _marko_escapeXml } from "marko/src/runtime/html/helpers"; import { r as _marko_renderer, c as _marko_defineComponent, rc as _marko_registerComponent } from "marko/src/runtime/components/helpers"; import { t as _t } from "marko/src/ru...
41.444444
162
0.720286
064df8ba76281e2566aee9b22610ee71b9fd8868
647
js
JavaScript
lib/chaos.js
jieserver/Jies
85946bc0da6242604880ac72383c196a68ecfb13
[ "MIT" ]
null
null
null
lib/chaos.js
jieserver/Jies
85946bc0da6242604880ac72383c196a68ecfb13
[ "MIT" ]
null
null
null
lib/chaos.js
jieserver/Jies
85946bc0da6242604880ac72383c196a68ecfb13
[ "MIT" ]
null
null
null
'use strict'; const net = require('net') const http = require('http') const dgram = require('dgram') const path = require('path') const {spawn} = require('child_process') const log = console.log.bind(console) const {parse,stringify} = JSON const EventEmitter = require('events') const Yin = require('./yin') const Yang ...
23.107143
68
0.697063
064e685beada5c537f99c9a594e277e995bfd5c3
1,375
js
JavaScript
examples/war/src/constants.js
amelieelibh/phaser-zombies
62d48370ab121e5c2209fe8aa4acc4501ece5306
[ "MIT" ]
null
null
null
examples/war/src/constants.js
amelieelibh/phaser-zombies
62d48370ab121e5c2209fe8aa4acc4501ece5306
[ "MIT" ]
null
null
null
examples/war/src/constants.js
amelieelibh/phaser-zombies
62d48370ab121e5c2209fe8aa4acc4501ece5306
[ "MIT" ]
null
null
null
var constants = {}; var __cons_params = { "π": 3.141592653589793 , "e": 2.718281828459045 , "i": Math.sqrt(-1), //GAME CONFIG "PLAYER_HEALTH" : 100, "PLAYER_MAX_HEALTH" : 100, "ENEMY_HEALTH" : 20, "START_ALIVE" : true, "GUN_AMMO_CARTIGE": 50, "GUN_DAMAGE" : 25, ...
26.442308
57
0.577455
064f9a30cbaab1461ce09a7b859e85f93ac2c662
95
js
JavaScript
GQA-FRONTEND/src/store/tabMenu/state.js
Junvary/gin-quasar-admin
fd3b675e37ea7bd93ad2b8fde5a88a05c836cf1d
[ "Apache-2.0" ]
28
2020-12-25T13:31:26.000Z
2022-03-23T02:01:47.000Z
GQA-FRONTEND/src/store/tabMenu/state.js
quanpower/gin-quasar-admin
1cf8567ca6ee2cdcb751f6a8f9ab273c509fbd8d
[ "Apache-2.0" ]
3
2021-11-14T05:44:25.000Z
2021-12-22T02:37:51.000Z
GQA-FRONTEND/src/store/tabMenu/state.js
quanpower/gin-quasar-admin
1cf8567ca6ee2cdcb751f6a8f9ab273c509fbd8d
[ "Apache-2.0" ]
10
2021-11-13T10:36:24.000Z
2022-03-30T07:56:40.000Z
export default function () { return { tabMenus: [], currentTab: {}, } }
15.833333
28
0.473684
065039e9696d9f924bd74001e1b3f530c6900e0c
268
js
JavaScript
build/modules/mode/escapeStringRegexp.js
lancetipton/react-gherkin-editor
9f6be943a3bca94fb421038f38273151247d7985
[ "MIT" ]
null
null
null
build/modules/mode/escapeStringRegexp.js
lancetipton/react-gherkin-editor
9f6be943a3bca94fb421038f38273151247d7985
[ "MIT" ]
null
null
null
build/modules/mode/escapeStringRegexp.js
lancetipton/react-gherkin-editor
9f6be943a3bca94fb421038f38273151247d7985
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.escapeStringRegexp = void 0; const escapeStringRegexp = str => str.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); exports.escapeStringRegexp = escapeStringRegexp;
26.8
100
0.656716
065043367a93cf111a759d9e3bdd07f4b1d30729
1,441
js
JavaScript
website/playground-src/samples/guide/custom-geometry.playground.js
Vabular/G3D
0f51448933e8254828473f2a3e2583fee02b3150
[ "Apache-2.0" ]
1
2019-10-31T01:48:48.000Z
2019-10-31T01:48:48.000Z
website/playground-src/samples/guide/custom-geometry.playground.js
Vabular/G3D
0f51448933e8254828473f2a3e2583fee02b3150
[ "Apache-2.0" ]
null
null
null
website/playground-src/samples/guide/custom-geometry.playground.js
Vabular/G3D
0f51448933e8254828473f2a3e2583fee02b3150
[ "Apache-2.0" ]
null
null
null
function run(G3D, canvas) { const engine = new G3D.Engine(canvas); const scene = new G3D.Scene(engine); const camera = new G3D.ArcRotateCamera(scene); camera.alpha = 45; camera.beta = 30; camera.radius = 5; camera.fov = 60; camera.near = 0.0001; const light1 = new G3D.DirectionalL...
25.732143
84
0.544761
06506e7e5426ffea2c955c54e81b80bf1dfa79de
952
js
JavaScript
src/app/controllers/DeliveryEndController.js
thalestestoni/bootcamp-gostack-desafio-02
e94a6241b256b338632b9690f942b811a6591b7c
[ "MIT" ]
null
null
null
src/app/controllers/DeliveryEndController.js
thalestestoni/bootcamp-gostack-desafio-02
e94a6241b256b338632b9690f942b811a6591b7c
[ "MIT" ]
1
2021-05-11T02:17:22.000Z
2021-05-11T02:17:22.000Z
src/app/controllers/DeliveryEndController.js
thalestestoni/fastfeet
e94a6241b256b338632b9690f942b811a6591b7c
[ "RSA-MD" ]
null
null
null
import * as Yup from 'yup'; import Delivery from '../models/Delivery'; import File from '../models/File'; class DeliveryEndController { async update(req, res) { const schema = Yup.object().shape({ end_date: Yup.date().required(), signature_id: Yup.number(), }); if (!(await schema.isValid(req...
24.410256
73
0.636555
06507af1ddecb222694ac98a8aeda8245a12238f
6,103
js
JavaScript
lib/transactions/errorHandlers/submittedHandler.js
OpenST/saas-api
bc6390e8ec6694fb3fa6b0539ffa5f3472e00744
[ "MIT" ]
6
2020-09-15T15:09:22.000Z
2021-06-28T02:26:59.000Z
lib/transactions/errorHandlers/submittedHandler.js
OpenST/saas-api
bc6390e8ec6694fb3fa6b0539ffa5f3472e00744
[ "MIT" ]
3
2020-11-13T10:33:49.000Z
2021-08-17T11:56:37.000Z
lib/transactions/errorHandlers/submittedHandler.js
OpenST/saas-api
bc6390e8ec6694fb3fa6b0539ffa5f3472e00744
[ "MIT" ]
5
2020-09-15T13:38:03.000Z
2021-09-01T19:22:25.000Z
'use strict'; /** * This script handles the transactions which are in submitted status in transaction_meta table for a long time. * It has two responsibilities: * 1. If a transaction in table is not found on geth, it resubmits the transaction and updates the specific transaction * entry in the table. * 2. If a...
30.515
119
0.659184
0652873be9feeefa554200da6d2a2359d49c09e2
423
js
JavaScript
src/utils/tab.js
Lucky-clovers/my-ConodeJS
930251d6415e9e67afe610f4b277d92c2c8550a8
[ "CC0-1.0" ]
1
2020-06-23T10:16:17.000Z
2020-06-23T10:16:17.000Z
src/utils/tab.js
Lucky-clovers/my-ConodeJS
930251d6415e9e67afe610f4b277d92c2c8550a8
[ "CC0-1.0" ]
4
2021-03-10T20:43:06.000Z
2022-02-27T05:56:15.000Z
src/utils/tab.js
Lucky-clovers/my-ConodeJS
930251d6415e9e67afe610f4b277d92c2c8550a8
[ "CC0-1.0" ]
null
null
null
/* * @Author: QIYE * @Date: 2020-06-02 14:33:50 * @LastEditors: qiye * @LastEditTime: 2020-06-03 16:53:44 */ /** * 帖子的tab字典,因为有好几个地方都要用到,所以单独提取出来 */ export default { good: { name: '精华', type: 'success' }, share: { name: '分享', type: 'info' }, ask: { name: '问答', type: 'warning' ...
13.21875
37
0.491726
0652b5c39e862ef19051243654f46c56fe36cf0a
761
js
JavaScript
src/graph/processors/tree.order.js
cstefanache/smart-graph
ce3547f495e312b14eea238274839534778b0cc9
[ "MIT" ]
null
null
null
src/graph/processors/tree.order.js
cstefanache/smart-graph
ce3547f495e312b14eea238274839534778b0cc9
[ "MIT" ]
null
null
null
src/graph/processors/tree.order.js
cstefanache/smart-graph
ce3547f495e312b14eea238274839534778b0cc9
[ "MIT" ]
null
null
null
import lo from 'lodash'; import uuid4 from 'uuid4'; export default function (instance) { const {nodes, links, tree, nodesMap} = instance; const orderedNodes = []; const visitId = uuid4(); let childIndex = 0; const stepInto = collection => { collection.forEach(node => { const {__sg} = node; ...
21.138889
82
0.604468