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
012aa08782cc27ec9da6e2ae779ba6e1216520e1
3,031
js
JavaScript
src/js/particleData.js
nerdmanship/WeCon
dffbf6bced08828d782c987e23b1e4ddfd767359
[ "MIT" ]
null
null
null
src/js/particleData.js
nerdmanship/WeCon
dffbf6bced08828d782c987e23b1e4ddfd767359
[ "MIT" ]
null
null
null
src/js/particleData.js
nerdmanship/WeCon
dffbf6bced08828d782c987e23b1e4ddfd767359
[ "MIT" ]
null
null
null
// Particle data var p = [ { name: "particle0", bp: { xMax: random(-125, -175), yMax: random(0,40), sMax: random(0.5,1), fill: colors.successGreen }, sp: { xMax: random(-125, -175), yMax: random(30,50), sMax: random(0.5,1), fill: colors.dataBlue }, ...
20.206667
31
0.47839
012b926946716b98431d601969352b02871b77e8
242
js
JavaScript
tests/utils/loadAddressShares.js
miklt/lido-subgraph
c2d74cac02d803288fe66f35ce242c04f9f704c5
[ "MIT" ]
4
2021-05-19T20:40:03.000Z
2021-09-15T09:58:23.000Z
tests/utils/loadAddressShares.js
miklt/lido-subgraph
c2d74cac02d803288fe66f35ce242c04f9f704c5
[ "MIT" ]
3
2021-04-21T13:56:12.000Z
2021-10-19T22:05:16.000Z
tests/utils/loadAddressShares.js
miklt/lido-subgraph
c2d74cac02d803288fe66f35ce242c04f9f704c5
[ "MIT" ]
2
2021-08-01T22:59:11.000Z
2021-11-14T20:30:56.000Z
import { subgraphFetch, gql } from '.' export const loadAddressShares = async (address) => { const query = gql` { shares(id: "${address}") { shares } } ` return (await subgraphFetch(query)).shares.shares }
17.285714
53
0.582645
012ccef29d358327ed0f150c67628bff61b1ea80
12,067
js
JavaScript
src/vuex/state/index.js
Voorsie/moontography
4cdb6c0b984fd0b6d619d91ccd3e219c1787817a
[ "MIT" ]
null
null
null
src/vuex/state/index.js
Voorsie/moontography
4cdb6c0b984fd0b6d619d91ccd3e219c1787817a
[ "MIT" ]
null
null
null
src/vuex/state/index.js
Voorsie/moontography
4cdb6c0b984fd0b6d619d91ccd3e219c1787817a
[ "MIT" ]
null
null
null
import airdropper from "./airdropper"; import asaas from "./asaas"; import faas from "./faas"; import kether from "./kether"; import passwordManager from "./passwordManager"; import trustedTimestamping from "./trustedTimestamping"; export default { ...airdropper, ...asaas, ...faas, ...kether, ...passwordMana...
31.342857
173
0.547692
012ce79ad235d67ad07dbbb5b3051e8751bd151d
815
js
JavaScript
config.js
Atlas-2005/discord-bot
98801a8bd700e3e769cf27afea3cd78ea7598aaf
[ "MIT" ]
null
null
null
config.js
Atlas-2005/discord-bot
98801a8bd700e3e769cf27afea3cd78ea7598aaf
[ "MIT" ]
null
null
null
config.js
Atlas-2005/discord-bot
98801a8bd700e3e769cf27afea3cd78ea7598aaf
[ "MIT" ]
null
null
null
// Uncomment settings that you want enabled // Fill discord token in if you are not using github secrets. Otherwise keep it as "0" var discord_token = "0"; // Set your prefix for the deploy command below var prefix = "?"; // Use the following section to setup your discord bot status, fill what you want the bot t...
23.970588
167
0.64908
012ce8302d8a44163bd045eaac0bbca1765ac517
320
js
JavaScript
src/actions/UserDataActions.js
haughank/regulus
241c35264816aca6c655276ab08d4ad662aef98d
[ "MIT" ]
null
null
null
src/actions/UserDataActions.js
haughank/regulus
241c35264816aca6c655276ab08d4ad662aef98d
[ "MIT" ]
null
null
null
src/actions/UserDataActions.js
haughank/regulus
241c35264816aca6c655276ab08d4ad662aef98d
[ "MIT" ]
null
null
null
import * as types from '../constants/UserDataActionTypes'; export function updateUserData(data) { console.log('about to create action to update user data:' + data); return { type: types.UPDATE_USER_DATA, uid: data.uid, firstName: data.firstName, lastName: data.lastName, email: data.email }; }
26.666667
68
0.696875
012d13a078258c71310e6cca64b32682d4e01abb
2,051
js
JavaScript
Source/Utility/PlatformHelper.js
thiscouldbebetter/GameFrameworkTS
096501b98415077b0f76b21380237ca7e1da7fb6
[ "MIT" ]
4
2020-11-09T10:30:52.000Z
2021-12-22T01:30:08.000Z
Source/Utility/PlatformHelper.js
thiscouldbebetter/GameFrameworkTS
096501b98415077b0f76b21380237ca7e1da7fb6
[ "MIT" ]
null
null
null
Source/Utility/PlatformHelper.js
thiscouldbebetter/GameFrameworkTS
096501b98415077b0f76b21380237ca7e1da7fb6
[ "MIT" ]
null
null
null
"use strict"; var ThisCouldBeBetter; (function (ThisCouldBeBetter) { var GameFramework; (function (GameFramework) { class PlatformHelper { platformableAdd(platformable) { var platformableAsDomElement = platformable.toDomElement(this); if (platformableAsDomElem...
43.638298
98
0.531936
012d1e4c46b8f5e152b3937e33d493ed9a23028e
224
js
JavaScript
vendor/RxJS/add/operator/takeUntil.js
mgechev/closure-compiler-angular-bundling
0887631ec6bf8423ecc245e523b023f06bb6d7ee
[ "MIT" ]
9
2016-08-22T21:16:00.000Z
2018-11-27T20:09:49.000Z
vendor/RxJS/add/operator/takeUntil.js
mgechev/closure-compiler-angular-bundling
0887631ec6bf8423ecc245e523b023f06bb6d7ee
[ "MIT" ]
null
null
null
vendor/RxJS/add/operator/takeUntil.js
mgechev/closure-compiler-angular-bundling
0887631ec6bf8423ecc245e523b023f06bb6d7ee
[ "MIT" ]
7
2016-08-22T21:16:03.000Z
2020-05-15T11:49:31.000Z
goog.module('rxjs$add$operator$takeUntil'); var Observable_1 = goog.require('rxjs$Observable'); var takeUntil_1 = goog.require('rxjs$operator$takeUntil'); Observable_1.Observable.prototype.takeUntil = takeUntil_1.takeUntil;
44.8
68
0.803571
012da57c5f6a359de8a3f8ce6c37fd3decaf8de1
2,706
js
JavaScript
src/vigenere-cipher.js
polivodichka/basic-js
e5fe44bf0c3274b9ae8c523428b915acc89c5d01
[ "MIT" ]
null
null
null
src/vigenere-cipher.js
polivodichka/basic-js
e5fe44bf0c3274b9ae8c523428b915acc89c5d01
[ "MIT" ]
null
null
null
src/vigenere-cipher.js
polivodichka/basic-js
e5fe44bf0c3274b9ae8c523428b915acc89c5d01
[ "MIT" ]
null
null
null
const { NotImplementedError } = require('../extensions/index.js'); /** * Implement class VigenereCipheringMachine that allows us to create * direct and reverse ciphering machines according to task description * * @example * * const directMachine = new VigenereCipheringMachine(); * * const reverseMachine = n...
31.835294
117
0.613452
012ddbad2943906e47113bb1a65f6363c89453c4
5,796
js
JavaScript
consumer-service/app/lib/sync-task.js
benjay10/app-poc-diff
13e4ab68bd5408317ec9cd46b24acc470c4056d3
[ "MIT" ]
null
null
null
consumer-service/app/lib/sync-task.js
benjay10/app-poc-diff
13e4ab68bd5408317ec9cd46b24acc470c4056d3
[ "MIT" ]
null
null
null
consumer-service/app/lib/sync-task.js
benjay10/app-poc-diff
13e4ab68bd5408317ec9cd46b24acc470c4056d3
[ "MIT" ]
null
null
null
import fs from 'fs-extra'; import { querySudo as query, updateSudo as update } from '@lblod/mu-auth-sudo'; import mu, { sparqlEscapeDateTime, uuid } from 'mu'; const TASK_NOT_STARTED_STATUS = 'http://mu.semte.ch/services/poc-diff-consumer-service/sync-task-statuses/not-started'; const TASK_ONGOING_STATUS = 'http:/...
30.829787
173
0.618875
012f7e3d66e62352c59eacc123490bf03361a643
991
js
JavaScript
src/engine-actions/unlock-wallet.spec.js
crypdex/sparkswap-lnd-engine
6ea450eecfb190032a7b10fcc9d3bea137e54f36
[ "MIT" ]
1
2020-04-12T09:38:30.000Z
2020-04-12T09:38:30.000Z
src/engine-actions/unlock-wallet.spec.js
crypdex/sparkswap-lnd-engine
6ea450eecfb190032a7b10fcc9d3bea137e54f36
[ "MIT" ]
null
null
null
src/engine-actions/unlock-wallet.spec.js
crypdex/sparkswap-lnd-engine
6ea450eecfb190032a7b10fcc9d3bea137e54f36
[ "MIT" ]
null
null
null
const path = require('path') const { expect, rewire, sinon } = require('test/test-helper') const unlockWallet = rewire(path.resolve(__dirname, 'unlock-wallet')) describe('unlock-wallet', () => { const walletPassword = 'mypassword' let lndUnlockWalletStub let engine let bufferStub let buffer beforeEach((...
24.775
98
0.673058
0130d8a77734ae07aa2fd60ceecce0e69d6bf5ae
245
js
JavaScript
dashboard/src/store/TemplateStore.js
qaiserlab/oshop
e8846baa62ef2852f2d0d591488b8edac4a96542
[ "MIT" ]
null
null
null
dashboard/src/store/TemplateStore.js
qaiserlab/oshop
e8846baa62ef2852f2d0d591488b8edac4a96542
[ "MIT" ]
4
2021-01-06T06:20:39.000Z
2022-02-13T17:28:41.000Z
dashboard/src/store/TemplateStore.js
qaiserlab/oshop
e8846baa62ef2852f2d0d591488b8edac4a96542
[ "MIT" ]
null
null
null
export default { namespaced: true, state: { rs: [ { id: 'Default' }, { id: 'Profile' }, { id: 'InfoLayanan' }, { id: 'Contact' }, ], }, getters: { rs(state) { return state.rs; }, }, }
11.136364
28
0.412245
0130e3af283faa5cb65829a76cb909093085178f
629
js
JavaScript
src/components/options/dimension-selection.js
kylebarron/landsat8.earth
dbe94b105cc41ae0679f81e90a7438b71b0db0e7
[ "MIT" ]
31
2020-07-13T08:16:54.000Z
2022-03-28T02:48:01.000Z
src/components/options/dimension-selection.js
kylebarron/landsat8.earth
dbe94b105cc41ae0679f81e90a7438b71b0db0e7
[ "MIT" ]
8
2020-07-13T05:54:09.000Z
2020-09-11T03:43:15.000Z
src/components/options/dimension-selection.js
kylebarron/landsat8.earth
dbe94b105cc41ae0679f81e90a7438b71b0db0e7
[ "MIT" ]
3
2020-09-09T05:55:05.000Z
2021-04-24T07:17:49.000Z
import React from 'react'; import {Button} from 'semantic-ui-react'; export default function DimensionSelection(props) { const {map3d, onChange, viewState} = props; return ( <Button.Group> <Button active={!map3d} onClick={() => onChange({ map3d: false, vi...
20.966667
71
0.494436
013249731110d98be94b2c74ec46558d9c462f5c
3,613
js
JavaScript
source/ContentScript/language/javascript.js
CoolRice/git-outline
d8c72915fbdcdda2f084288da637e0887a321871
[ "MIT" ]
1
2020-11-29T12:05:14.000Z
2020-11-29T12:05:14.000Z
source/ContentScript/language/javascript.js
CoolRice/Git-Outline
d8c72915fbdcdda2f084288da637e0887a321871
[ "MIT" ]
null
null
null
source/ContentScript/language/javascript.js
CoolRice/Git-Outline
d8c72915fbdcdda2f084288da637e0887a321871
[ "MIT" ]
null
null
null
import {parse} from '@babel/parser'; import traverse from '@babel/traverse'; const JSImpl = {}; const presetPlugins = [ 'classPrivateProperties', 'classPrivateMethods', 'classStaticBlock', 'decimal', ['decorators', {decoratorsBeforeExport: true}], 'doExpressions', 'exportDefaultFrom', 'functionBind', ...
24.746575
75
0.591198
013267d9ea8945b10403ac7e6e98b13b263c188a
88,140
js
JavaScript
software/js/splitflapjs/src/proto_gen/splitflap_proto.js
nintando64/nintando-splitflap
1440aba54d5b0d822ec5da68762431879988d7ef
[ "Apache-2.0" ]
null
null
null
software/js/splitflapjs/src/proto_gen/splitflap_proto.js
nintando64/nintando-splitflap
1440aba54d5b0d822ec5da68762431879988d7ef
[ "Apache-2.0" ]
null
null
null
software/js/splitflapjs/src/proto_gen/splitflap_proto.js
nintando64/nintando-splitflap
1440aba54d5b0d822ec5da68762431879988d7ef
[ "Apache-2.0" ]
null
null
null
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ (function(global, factory) { /* global define, require, module */ /* AMD */ if (typeof define === 'function' && define.amd) define(["protobufjs/minimal"], fa...
45.76324
167
0.491389
0133274ab14b93965d1907aacb996fe345726d45
2,178
js
JavaScript
public/js/dev.js
amitjans/Eva
4a438213a571dd9056c29a5e50f991fe16ca7c6c
[ "MIT" ]
2
2021-02-01T10:19:14.000Z
2021-03-24T00:19:39.000Z
public/js/dev.js
amitjans/Eva
4a438213a571dd9056c29a5e50f991fe16ca7c6c
[ "MIT" ]
10
2021-03-06T00:43:49.000Z
2022-02-27T19:50:46.000Z
public/js/dev.js
amitjans/Eva
4a438213a571dd9056c29a5e50f991fe16ca7c6c
[ "MIT" ]
2
2021-11-18T18:51:46.000Z
2022-03-15T18:35:12.000Z
function newlocale(target, source = 'es') { $.ajax({ method: "POST", url: `dev/locale/?target=${target}&source=${source}`, dataType: "json", contentType: 'application/json', data: JSON.stringify(lang[source]) }) .done(function (msg) { notify('Ok'); }); } ...
30.676056
157
0.518825
0133a737b9379e317ae5e88a65843c19e9d94619
944
js
JavaScript
api/user-router.js
bw-deforestationdashboard/back-end
7aa2bc9b5804ac91e5b4b3e7070f44bf6642bab2
[ "MIT" ]
null
null
null
api/user-router.js
bw-deforestationdashboard/back-end
7aa2bc9b5804ac91e5b4b3e7070f44bf6642bab2
[ "MIT" ]
2
2021-05-10T09:58:45.000Z
2021-09-01T21:27:43.000Z
api/user-router.js
bw-deforestationdashboard/back-end
7aa2bc9b5804ac91e5b4b3e7070f44bf6642bab2
[ "MIT" ]
null
null
null
const router = require('express').Router(); const Users = require('./user-model.js'); const restricted = require('./restricted-middleware.js'); router.get('/users', restricted, (req, res) => { Users.get() .then(users => { res.json({ users, decodedToken: req.decodedToken }); }) ...
23.02439
64
0.51589
01372c7783448da0a137937c6442839db4adb386
1,216
js
JavaScript
qbot/ui/appContainer.js
dennisdunn/botlab
b0ff58e89658d6ebf884a42b919ceb7251609f26
[ "MIT" ]
null
null
null
qbot/ui/appContainer.js
dennisdunn/botlab
b0ff58e89658d6ebf884a42b919ceb7251609f26
[ "MIT" ]
null
null
null
qbot/ui/appContainer.js
dennisdunn/botlab
b0ff58e89658d6ebf884a42b919ceb7251609f26
[ "MIT" ]
null
null
null
import React from 'react' import { connect } from 'react-redux' import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider' import Surface from './components/surface' import Shape from './components/shape' import Arc from './components/arc' import ActionFactory from './lib/actionCreators' import * as Actions fro...
32
101
0.578947
013739aa443528eaca9a0a03910e9ee5db8e4b59
286
js
JavaScript
src/wrap/render.js
ParasolJS/parasol-es
31fcdaeb2358873d473f5aa8a08eb94bc232f8d8
[ "MIT" ]
21
2019-04-09T09:42:35.000Z
2021-07-28T04:05:49.000Z
src/wrap/render.js
joshhjacobson/ParaSol
31fcdaeb2358873d473f5aa8a08eb94bc232f8d8
[ "MIT" ]
16
2018-09-27T23:13:25.000Z
2018-11-29T04:35:05.000Z
src/wrap/render.js
joshhjacobson/ParaSol
31fcdaeb2358873d473f5aa8a08eb94bc232f8d8
[ "MIT" ]
4
2019-03-21T04:19:36.000Z
2020-05-11T18:01:06.000Z
// parcoords wrapper: render and update charts, maintain config const render = (config, ps, flags) => function() { ps.charts.forEach((pc, i) => { pc.hideAxis(config.partition[i]) .render() .updateAxes(0); }); return this; }; export default render;
23.833333
63
0.604895
0138e0a0c03cbbe36cf7ba684b3df86cda4bdadc
603
js
JavaScript
src/Task.js
shooksm/rbd-eggheadio-course
75590e991da208d83734d94fca27beda59a1807e
[ "MIT" ]
null
null
null
src/Task.js
shooksm/rbd-eggheadio-course
75590e991da208d83734d94fca27beda59a1807e
[ "MIT" ]
5
2021-09-02T05:38:15.000Z
2022-02-26T22:47:22.000Z
src/Task.js
shooksm/rbd-eggheadio-course
75590e991da208d83734d94fca27beda59a1807e
[ "MIT" ]
null
null
null
import React from 'react'; import styled from 'styled-components/macro'; import { Draggable } from 'react-beautiful-dnd'; const Container = styled.div` background-color: white; border: 1px solid lightgrey; border-radius: 2px; padding: 8px; margin-bottom: 8px; `; const Task = ({ task, index }) => ( <Dragga...
21.535714
49
0.630182
013a3d652ad0bf20edb30857d1482071a67c1217
377
js
JavaScript
src/pages/collection/styles.js
fhalbiero/crwn-clothing
a40e621b62e739d9d14218c1a8de9b41ba71b4a2
[ "MIT" ]
1
2020-09-14T11:59:43.000Z
2020-09-14T11:59:43.000Z
src/pages/collection/styles.js
fhalbiero/crwn-clothing
a40e621b62e739d9d14218c1a8de9b41ba71b4a2
[ "MIT" ]
7
2021-03-09T17:44:03.000Z
2022-02-26T17:50:22.000Z
src/pages/collection/styles.js
fhalbiero/crwn-clothing
a40e621b62e739d9d14218c1a8de9b41ba71b4a2
[ "MIT" ]
null
null
null
import styled from 'styled-components'; export const Container = styled.div` display: flex; flex-direction: column; .title { font-size: 38px; margin: 0 auto 30px; } .items { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 10px; & .collec...
17.952381
45
0.559682
013bc8bfde03380a98d1699014d4485c5862ee1e
829
js
JavaScript
src/tests/integration/operators.test.js
nerdo/alma
dbc8c40f4a1e2e332bbb982c2326b448f0b954cf
[ "MIT" ]
null
null
null
src/tests/integration/operators.test.js
nerdo/alma
dbc8c40f4a1e2e332bbb982c2326b448f0b954cf
[ "MIT" ]
null
null
null
src/tests/integration/operators.test.js
nerdo/alma
dbc8c40f4a1e2e332bbb982c2326b448f0b954cf
[ "MIT" ]
null
null
null
/* global describe, test, expect */ import { Engine } from '../../Engine' import { TestPresenter } from '../../adapters/TestPresenter' import { Counter } from './Counter' import { conformanceTests } from '../../interfaces/OperatorInterface.conformanceTests' describe('operators', () => { conformanceTests( { ...
24.382353
86
0.648975
013ccc8ec71d7b81d3148fce2151b653fa9763cf
4,471
js
JavaScript
src/layout.js
feldhaus/pixi-solitaire
1a068083620facae67d9ccb43fafa09e60453b84
[ "MIT" ]
1
2019-01-15T17:06:20.000Z
2019-01-15T17:06:20.000Z
src/layout.js
feldhaus/pixi-solitaire
1a068083620facae67d9ccb43fafa09e60453b84
[ "MIT" ]
null
null
null
src/layout.js
feldhaus/pixi-solitaire
1a068083620facae67d9ccb43fafa09e60453b84
[ "MIT" ]
1
2018-12-21T11:35:41.000Z
2018-12-21T11:35:41.000Z
import { CARD_WIDTH, CARD_HEIGHT } from './card'; const LANDSCAPE_COLS = 9; const LANDSCAPE_ROWS = 4; const PORTRAIT_COLS = 7; export const HUD_HEIGHT = 60; function setupDeck({ deck, cardSize, cardArea }) { deck.cards.forEach((card) => { card.resize(cardSize.width, cardSize.height); card.area.copyFrom(ca...
21.089623
62
0.638336
013cea46651c3bdbb1b3742437dc15dca48acafa
1,305
js
JavaScript
src/Categories.js
rafapaivadeandrade/Commit
b9d6c52d47bfec52be0f7ca56a89a282ba0d838b
[ "MIT" ]
null
null
null
src/Categories.js
rafapaivadeandrade/Commit
b9d6c52d47bfec52be0f7ca56a89a282ba0d838b
[ "MIT" ]
null
null
null
src/Categories.js
rafapaivadeandrade/Commit
b9d6c52d47bfec52be0f7ca56a89a282ba0d838b
[ "MIT" ]
null
null
null
import React from "react"; import HeaderInternal from "./HeaderInternal"; import Category from "./Category"; import Announce from "./Announce"; import { Link, Route } from "react-router-dom"; class Categories extends React.Component { render() { return ( <> <HeaderInternal /> <div className...
27.765957
67
0.434483
013d0e096f3c165c23492a73254b1829a4a9c6ca
128
js
JavaScript
api/main/card/index.js
531828014/lavas-webApp
9439d7e90c2f5d9266c8d053ad8f0f87bdfe5d6a
[ "MIT" ]
2
2019-03-28T09:26:28.000Z
2019-05-21T09:46:25.000Z
api/main/user-manage/index.js
531828014/lavas-webApp
9439d7e90c2f5d9266c8d053ad8f0f87bdfe5d6a
[ "MIT" ]
null
null
null
api/main/user-manage/index.js
531828014/lavas-webApp
9439d7e90c2f5d9266c8d053ad8f0f87bdfe5d6a
[ "MIT" ]
null
null
null
import Add from './add' import List from './list' import Remove from './remove' export default { Add, List, Remove }
16
29
0.640625
013d1eb7ba16fb6168a978064f99950ca3654e6a
2,464
js
JavaScript
ci/tests/puppeteer/scenarios/ticket-validation-cas-renew/script.js
zieka/cas
5b80fe06ea3810620c7938535ca48c0ca24ef908
[ "Apache-2.0" ]
null
null
null
ci/tests/puppeteer/scenarios/ticket-validation-cas-renew/script.js
zieka/cas
5b80fe06ea3810620c7938535ca48c0ca24ef908
[ "Apache-2.0" ]
1
2021-12-01T06:14:47.000Z
2021-12-01T06:14:47.000Z
ci/tests/puppeteer/scenarios/ticket-validation-cas-renew/script.js
zieka/cas
5b80fe06ea3810620c7938535ca48c0ca24ef908
[ "Apache-2.0" ]
1
2021-08-03T06:16:33.000Z
2021-08-03T06:16:33.000Z
const puppeteer = require('puppeteer'); const assert = require('assert'); const https = require('https'); const cas = require('../../cas.js'); (async () => { for (const endpoint of ["validate", "serviceValidate", "p3/serviceValidate"]) { console.log("Checking validation endpoint: " + endpoint); c...
34.222222
98
0.568182
013d2865e6100dedc3a52b4629087d5ce13d71eb
3,035
js
JavaScript
src/blk/ui/screens/gamescreen.js
thuhuong2k/blk-game
3c4b39f6227aa521ecd832795d5aebf417640265
[ "ECL-2.0", "Apache-2.0" ]
39
2015-03-14T04:07:52.000Z
2022-03-03T19:54:03.000Z
src/blk/ui/screens/gamescreen.js
thuhuong2k/blk-game
3c4b39f6227aa521ecd832795d5aebf417640265
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/blk/ui/screens/gamescreen.js
thuhuong2k/blk-game
3c4b39f6227aa521ecd832795d5aebf417640265
[ "ECL-2.0", "Apache-2.0" ]
31
2015-02-12T11:31:31.000Z
2022-03-17T23:26:05.000Z
/** * Copyright 2012 Google Inc. 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 applic...
23.527132
75
0.6771
013efedfac684c55dfc9a59efef622ea8264cd58
1,200
js
JavaScript
component/icons/save.js
quentin-sensome/xunit-viewer
3d7ed9d7641f395733542155d6e0d44597aa8649
[ "MIT" ]
1
2019-04-04T18:32:00.000Z
2019-04-04T18:32:00.000Z
component/icons/save.js
quentin-sensome/xunit-viewer
3d7ed9d7641f395733542155d6e0d44597aa8649
[ "MIT" ]
null
null
null
component/icons/save.js
quentin-sensome/xunit-viewer
3d7ed9d7641f395733542155d6e0d44597aa8649
[ "MIT" ]
1
2019-04-04T18:34:02.000Z
2019-04-04T18:34:02.000Z
import React from 'react' export default function anonymous(params /**/) { var evalColor = function () { if (typeof params.color === 'function') { return params.color; } else { return function () { return params.color; }; } }(); var _extends = Object.assign || functi...
46.153846
582
0.628333
013f0cb35a2d722deebf5f61df2d4da295bb774f
2,037
js
JavaScript
packages/js/api-core-tests/utils/request.js
bhrugesh96/woocommerce
bad34444382629e3889c8c327741b9f835a7c9e1
[ "Apache-2.0" ]
null
null
null
packages/js/api-core-tests/utils/request.js
bhrugesh96/woocommerce
bad34444382629e3889c8c327741b9f835a7c9e1
[ "Apache-2.0" ]
null
null
null
packages/js/api-core-tests/utils/request.js
bhrugesh96/woocommerce
bad34444382629e3889c8c327741b9f835a7c9e1
[ "Apache-2.0" ]
null
null
null
require( 'dotenv' ).config(); const { USER_KEY, USER_SECRET } = process.env; const request = require( 'supertest' )( API_PATH ); /** * Make a GET request. * * @param {string} requestPath The path of the request. * @param {Object} queryString Optional. An object of one or more `key: value` query string parameters. ...
28.690141
103
0.686303
013f55e83f2840d73de6f9ae116d4cf08374a497
1,994
js
JavaScript
src/script/ui/items/components/SelectableItem.js
brakkum/Track-OOT
ecb9f581d88c0f06ca72f64c66b510cd9a6e6215
[ "MIT" ]
null
null
null
src/script/ui/items/components/SelectableItem.js
brakkum/Track-OOT
ecb9f581d88c0f06ca72f64c66b510cd9a6e6215
[ "MIT" ]
null
null
null
src/script/ui/items/components/SelectableItem.js
brakkum/Track-OOT
ecb9f581d88c0f06ca72f64c66b510cd9a6e6215
[ "MIT" ]
null
null
null
import GlobalStyle from "/emcJS/util/GlobalStyle.js"; import ItemStates from "/script/state/ItemStates.js"; import iOSTouchHandler from "/script/util/iOSTouchHandler.js"; const STYLE = new GlobalStyle(` * { position: relative; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; ...
24.317073
80
0.55667
013f88183035ac52ca06a4f103cea623d88e1139
2,042
js
JavaScript
public/js/inquiry/result.js
smarttheater/legacy-reservation
467d3c2eea4fa77a6ce7d09e2d85cf068fb012bc
[ "FTL" ]
null
null
null
public/js/inquiry/result.js
smarttheater/legacy-reservation
467d3c2eea4fa77a6ce7d09e2d85cf068fb012bc
[ "FTL" ]
4
2021-10-20T22:43:02.000Z
2021-10-20T22:43:04.000Z
public/js/inquiry/result.js
smarttheater/legacy-reservation
467d3c2eea4fa77a6ce7d09e2d85cf068fb012bc
[ "FTL" ]
null
null
null
$(function() { if (!window.ttts.isCancellable) { return false; } var $modal_cancelreservation = $('#modal_cancelreservation'); /** * キャンセル(確定) * @function cancel * @returns {void} */ var cancel = function() { var $dfd = $.Deferred(); $('.btn-close').hide...
28.361111
84
0.484819
01416c0244aa27fc2d5556b580c7aa356df6bee6
3,786
js
JavaScript
tests/config/configUtil.js
esemeniuc/refocus
d05019795d837892c2049409f05ff9c310a97c41
[ "BSD-3-Clause" ]
131
2016-09-27T12:39:58.000Z
2021-12-21T08:36:12.000Z
tests/config/configUtil.js
esemeniuc/refocus
d05019795d837892c2049409f05ff9c310a97c41
[ "BSD-3-Clause" ]
1,146
2016-09-23T17:51:18.000Z
2022-02-15T00:49:14.000Z
tests/config/configUtil.js
esemeniuc/refocus
d05019795d837892c2049409f05ff9c310a97c41
[ "BSD-3-Clause" ]
50
2016-09-30T15:59:46.000Z
2021-11-18T17:32:56.000Z
/** * Copyright (c) 2016, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or * https://opensource.org/licenses/BSD-3-Clause */ /** * tests/config/configUtil.js * * Tests config utilities */ 'use strict'; con...
31.289256
80
0.548072
01426b7a8a8befe9a31593cdf6c0c85f41b9c576
518
js
JavaScript
src/hooks/useLocalStorage.js
ArzateCompany/comment-section
1addd2662b14f92884f4e9c26d7bf8105989db43
[ "MIT" ]
null
null
null
src/hooks/useLocalStorage.js
ArzateCompany/comment-section
1addd2662b14f92884f4e9c26d7bf8105989db43
[ "MIT" ]
null
null
null
src/hooks/useLocalStorage.js
ArzateCompany/comment-section
1addd2662b14f92884f4e9c26d7bf8105989db43
[ "MIT" ]
null
null
null
import { useEffect, useState } from 'react' export default function useLocalStorage(key) { const [storage, setStorage] = useState([]) const updateStorage = (items) => { window.localStorage.setItem(key, JSON.stringify(items)) } const getStorage = () => { try { const data = JSON.parse(window.localStorage.ge...
17.862069
66
0.650579
01443edf5d57957c7d30cf799e444e07b5f0f0ae
790
js
JavaScript
resources/assets/js/store/modules/actions.js
eagle7410/laravel-bank
db21d83f376ba168722739af7dd3cf7b7a4b16ec
[ "MIT" ]
15
2018-02-03T19:48:57.000Z
2022-03-03T16:04:03.000Z
resources/assets/js/store/modules/actions.js
eagle7410/laravel-bank
db21d83f376ba168722739af7dd3cf7b7a4b16ec
[ "MIT" ]
null
null
null
resources/assets/js/store/modules/actions.js
eagle7410/laravel-bank
db21d83f376ba168722739af7dd3cf7b7a4b16ec
[ "MIT" ]
3
2018-07-24T12:16:29.000Z
2020-04-16T13:45:50.000Z
export default { state: { items: [], isInit : false, }, mutations: { setActions(state, actions) { if (Array.isArray(actions) && actions.length) { state.items = actions; state.isInit = true; } }, addAction (state,...
23.939394
71
0.389873
01447b57b41d2cd0ba1349fb9d52104904f5f087
2,305
js
JavaScript
dev/_/components/js/workspaceEditView.js
Swarthmore/juxtaphor
fce918a68e2d82c15c7408432b0e9309664631d5
[ "BSD-3-Clause" ]
null
null
null
dev/_/components/js/workspaceEditView.js
Swarthmore/juxtaphor
fce918a68e2d82c15c7408432b0e9309664631d5
[ "BSD-3-Clause" ]
null
null
null
dev/_/components/js/workspaceEditView.js
Swarthmore/juxtaphor
fce918a68e2d82c15c7408432b0e9309664631d5
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // WorkspaceEditView is a view contained within a modal that // // allows the user to remove existing workspaces and add their own. // ////////////////////////////////////////////////////////////////////// AV.WorkspaceEditView = Backbone.Vie...
40.438596
77
0.529718
014522147ecfdc2fabafcd1183e96a3e50c42f48
594
js
JavaScript
data/train/js/0a44a3808950a9122b6d4301ca2cbc12b13816b8content-service-factory.js
aliostad/deep-learning-lang-detection
d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/js/0a44a3808950a9122b6d4301ca2cbc12b13816b8content-service-factory.js
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/js/0a44a3808950a9122b6d4301ca2cbc12b13816b8content-service-factory.js
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
(function () { 'use strict'; /** * @ngdoc service * @name home.factory:ContentService * * @description * */ angular .module('home') .factory('ContentService', ContentService); function ContentService(ConstantService) { var ContentServiceBase = { getContent: function (obj, ...
19.8
78
0.597643
0146350839336604778688a8f67a1a91ec596ab3
1,705
js
JavaScript
api/authorizer/handler.js
andreciornavei/serverless
8e7e50b19848ba9367199cdfb2763c5c483abe0a
[ "MIT" ]
null
null
null
api/authorizer/handler.js
andreciornavei/serverless
8e7e50b19848ba9367199cdfb2763c5c483abe0a
[ "MIT" ]
null
null
null
api/authorizer/handler.js
andreciornavei/serverless
8e7e50b19848ba9367199cdfb2763c5c483abe0a
[ "MIT" ]
null
null
null
// A simple token-based authorizer example to demonstrate how to use an authorization token // to allow or deny a request. In this example, the caller named 'user' is allowed to invoke // a request if the client-supplied token value is 'allow'. The caller is not allowed to invoke // the request if the token value is 'd...
38.75
95
0.720235
01465448b5c94505096be141eb86f56be1f5cc36
869
js
JavaScript
app/src/lib/debugger/client/fake_cri.js
oddui/webdriver-extension
251fd87b23f6a45ba1e38e05cec51d895b2728e5
[ "Apache-2.0" ]
1
2017-08-11T21:46:24.000Z
2017-08-11T21:46:24.000Z
app/src/lib/debugger/client/fake_cri.js
oddui/webdriver-extension
251fd87b23f6a45ba1e38e05cec51d895b2728e5
[ "Apache-2.0" ]
7
2016-06-10T09:23:45.000Z
2017-08-11T01:48:42.000Z
app/src/lib/debugger/client/fake_cri.js
oddui/webdriver-extension
251fd87b23f6a45ba1e38e05cec51d895b2728e5
[ "Apache-2.0" ]
null
null
null
const EventEmitter = require('events'); class Chrome extends EventEmitter { static List() { return Promise.resolve([]); } static New() { return Promise.resolve({ id: '1' }); } static Close() { return Promise.resolve(); } constructor(options) { super(); this.host_ = options.host;...
17.38
59
0.64672
0147e631a084f78b46a4345fe270d881a7f890bc
495
js
JavaScript
app/components/LogoutButton/LogoutButtonContainer.js
MogSogeking/CommandScreen
62fdbb403a71c451b8bb6f3909cc5628e18a7c61
[ "MIT" ]
null
null
null
app/components/LogoutButton/LogoutButtonContainer.js
MogSogeking/CommandScreen
62fdbb403a71c451b8bb6f3909cc5628e18a7c61
[ "MIT" ]
10
2020-09-04T17:39:03.000Z
2022-03-25T18:40:19.000Z
app/components/LogoutButton/LogoutButtonContainer.js
MogSogeking/CommandScreen
62fdbb403a71c451b8bb6f3909cc5628e18a7c61
[ "MIT" ]
null
null
null
import { connect } from 'react-redux' import LogoutButton from './LogoutButton' import { purgeProfile } from '../../redux/actions/global' import { purgeCart } from '../../redux/actions/command'; import { purgeAchievement } from '../../redux/actions/achievements'; const mapDispatchToProps = dispatch => ({ logout: () ...
27.5
68
0.69899
0149e932ac7f22838cb46e515abaca7786c093a3
402
js
JavaScript
addon/mixins/tooltip.js
BellGasp/ember-dashboard-controls
5271d59f9b39ba22c7f33f9892812f07ed82485c
[ "MIT" ]
5
2017-06-22T11:03:31.000Z
2019-06-05T16:33:32.000Z
addon/mixins/tooltip.js
BellGasp/ember-dashboard-controls
5271d59f9b39ba22c7f33f9892812f07ed82485c
[ "MIT" ]
6
2017-07-26T21:35:32.000Z
2021-05-06T16:33:08.000Z
addon/mixins/tooltip.js
BellGasp/ember-dashboard-controls
5271d59f9b39ba22c7f33f9892812f07ed82485c
[ "MIT" ]
null
null
null
import Mixin from '@ember/object/mixin'; import { on } from '@ember/object/evented'; import { observer } from '@ember/object'; import { schedule } from '@ember/runloop'; export default Mixin.create({ initTooltip: on('didInsertElement', observer('title', function () { schedule('afterRender', this, () => { t...
30.923077
69
0.644279
014a0073e8186b9cb9866b02c4f9395ad8bf10a7
500
js
JavaScript
lib/createVolumeNode.js
appgine/sound
472a92c05c018cc65ad997e2de2fb2d537cb1b59
[ "MIT" ]
null
null
null
lib/createVolumeNode.js
appgine/sound
472a92c05c018cc65ad997e2de2fb2d537cb1b59
[ "MIT" ]
null
null
null
lib/createVolumeNode.js
appgine/sound
472a92c05c018cc65ad997e2de2fb2d537cb1b59
[ "MIT" ]
null
null
null
export default function createVolumeNode() { let volume = 1.0; let connected = []; const gain = {}; Object.defineProperty(gain, 'value', { get() { return volume; }, set(_volume) { volume = Math.max(Math.min(_volume, 1.0), 0); connected.forEach(source => source.volume = volume); } }); return { ga...
17.241379
55
0.612
014c26d261f5c241f571de331540ef3e1ff49097
51,125
js
JavaScript
cards.js
SliceOfBread/tm-cards
cae188af9c974b966c4966fcf1743bf2f00a58f9
[ "MIT" ]
1
2020-12-29T18:31:47.000Z
2020-12-29T18:31:47.000Z
cards.js
SliceOfBread/tm-cards
cae188af9c974b966c4966fcf1743bf2f00a58f9
[ "MIT" ]
null
null
null
cards.js
SliceOfBread/tm-cards
cae188af9c974b966c4966fcf1743bf2f00a58f9
[ "MIT" ]
null
null
null
// all names have spaces, dashes, apostrophes removed // oAllCards[name] // .cardNum = card number string // .type = [corp|prel|proj] // .tags const oAllCards = { "CrediCor":{cardNum:"Z01",type:"corp",tags:[],resources:{mc:57},prod:{},color:"blue",cardExtra:"Effect:\n-20: 4\n(Effect: After you pay for a card or stan...
185.235507
444
0.680293
014db81d6b0d5687e39d01688fe091bbead9db43
246
js
JavaScript
packages/core/test/common/logger.js
antongolub/common-middlewares
011d8639eba9e3f520fe54a47fb78b8bebf6287e
[ "MIT" ]
1
2018-11-07T13:38:30.000Z
2018-11-07T13:38:30.000Z
packages/core/test/common/logger.js
antongolub/common-middlewares
011d8639eba9e3f520fe54a47fb78b8bebf6287e
[ "MIT" ]
95
2018-11-08T13:02:50.000Z
2022-03-18T15:39:33.000Z
packages/core/test/common/logger.js
antongolub/common-middlewares
011d8639eba9e3f520fe54a47fb78b8bebf6287e
[ "MIT" ]
2
2020-10-19T20:36:29.000Z
2021-11-24T23:03:27.000Z
import logger from '../../src/common/logger' describe('common/logger', () => { it('exposes standard console', () => { ['info', 'warn', 'error', 'debug'].forEach(method => { expect(logger[method]).toBe(console[method]) }) }) })
24.6
58
0.573171
015028601117d98a32c9360e0da1622f939011ea
2,126
js
JavaScript
App.js
Sudo-Aryan/Safe-Fi
797d784975de25c96dc62740ebc7d040bc093049
[ "MIT" ]
3
2021-11-14T05:47:44.000Z
2021-11-14T07:48:37.000Z
App.js
Sudo-Aryan/Safe-Fi
797d784975de25c96dc62740ebc7d040bc093049
[ "MIT" ]
null
null
null
App.js
Sudo-Aryan/Safe-Fi
797d784975de25c96dc62740ebc7d040bc093049
[ "MIT" ]
null
null
null
window.addEventListener("load", () => { let long; let lat; let tempretureDegree = document.querySelector('.tempreture-degree'); let tempretureLocation = document.querySelector('.tempreture-location'); let tempretureDescription = document.querySelector('.tempreture-description'); let de...
37.964286
137
0.514111
0152556fb991c543e975c3e7f33a0cc32e320232
517
js
JavaScript
src/template/routes.js
cforclown/CLDashboard
28eb6e8bc64db6158cc5dc71246fd0041e76b81f
[ "MIT" ]
null
null
null
src/template/routes.js
cforclown/CLDashboard
28eb6e8bc64db6158cc5dc71246fd0041e76b81f
[ "MIT" ]
null
null
null
src/template/routes.js
cforclown/CLDashboard
28eb6e8bc64db6158cc5dc71246fd0041e76b81f
[ "MIT" ]
null
null
null
import React from 'react' const Dashboard = React.lazy(() => import('../views/dashboard')); const Siswa = React.lazy(() => import('../views/siswa')); const TahunPelajaran = React.lazy(() => import('../views/tahun-pelajaran')); const routes = [ { path: '/', exact: true, name: 'Dashboard', component: Dashboard, }, ...
39.769231
99
0.646035
0152bd02bf6316924d0eea44de3c14250fe8ff96
1,542
js
JavaScript
public/assets/frontend/js/custom.js
shamimtpi/CHAMBER
db9b0468fa6a4f35225827d94b0ff13755d8295f
[ "MIT" ]
null
null
null
public/assets/frontend/js/custom.js
shamimtpi/CHAMBER
db9b0468fa6a4f35225827d94b0ff13755d8295f
[ "MIT" ]
null
null
null
public/assets/frontend/js/custom.js
shamimtpi/CHAMBER
db9b0468fa6a4f35225827d94b0ff13755d8295f
[ "MIT" ]
null
null
null
// 9. Gallery Slider $('.gellary-slider').owlCarousel({ responsiveClass:true, margin:30, dots: true, autoWidth:false, autoplay:true, autoplayTimeout: 3000, autoplayStopOnLast: false, responsive:{ 0:{ items:1 ...
20.025974
38
0.359922
0153cb58e1bf320b56e3c1c54643cc3ad10e5f1a
197
js
JavaScript
client/js/AppDispatcher.js
ruippeixotog/botarena
0c4ad0f1298c64a220744297715f27fc2b567290
[ "MIT" ]
1
2015-10-05T23:57:35.000Z
2015-10-05T23:57:35.000Z
client/js/AppDispatcher.js
ruippeixotog/botarena
0c4ad0f1298c64a220744297715f27fc2b567290
[ "MIT" ]
null
null
null
client/js/AppDispatcher.js
ruippeixotog/botarena
0c4ad0f1298c64a220744297715f27fc2b567290
[ "MIT" ]
null
null
null
import { Dispatcher } from "flux"; let dispatcher = new Dispatcher(); dispatcher.dispatchNext = function (obj) { setTimeout(() => { dispatcher.dispatch(obj); }); }; export default dispatcher;
19.7
50
0.695431
0153e7ae3eb78633011ed9e801bb24d9c0dee8bd
1,187
js
JavaScript
js/project/filter/filter_implicity_functions.js
AmandaCleto/courses
036f0d58c6f1ccfcefe4d18c1db35e24f6124256
[ "MIT" ]
1
2021-11-27T19:53:13.000Z
2021-11-27T19:53:13.000Z
js/project/filter/filter_implicity_functions.js
AmandaCleto/cod3r--javascript-funcional-e-reativo-pense-como-um-desenvolvedor-javascript
036f0d58c6f1ccfcefe4d18c1db35e24f6124256
[ "MIT" ]
null
null
null
js/project/filter/filter_implicity_functions.js
AmandaCleto/cod3r--javascript-funcional-e-reativo-pense-como-um-desenvolvedor-javascript
036f0d58c6f1ccfcefe4d18c1db35e24f6124256
[ "MIT" ]
null
null
null
const path = require("path"); const fn = require("./implicity_functions"); const caminho = path.join(__dirname, "../", "/data"); const simbolos = [ '.', '?', '-', ',', '"', '♪', '_', '<i>', '</i>', '\r', '[', ']', '(', ')', ] function agruparPalavras(palavras) { return Object.values(palavras.reduce((acc, pa...
30.435897
91
0.617523
0154104f5d102337ab55d7062154a4be0bdcf697
1,690
js
JavaScript
gatsby-config.js
nikhilasrani/blog
410409c0868ab6b28c35d3ca200c64fd7a978633
[ "MIT" ]
null
null
null
gatsby-config.js
nikhilasrani/blog
410409c0868ab6b28c35d3ca200c64fd7a978633
[ "MIT" ]
7
2021-03-09T01:06:03.000Z
2022-02-17T20:17:22.000Z
gatsby-config.js
nikhilasrani/blog
410409c0868ab6b28c35d3ca200c64fd7a978633
[ "MIT" ]
null
null
null
module.exports = { siteMetadata: { title: `Nikhil Asrani`, description: `I am a Frontend Developer based in Bangalore, India. This website is a portfolio of my work`, author: `Nikhil Asrani`, }, plugins: [ { resolve: "gatsby-plugin-google-analytics", options: { trackingId: "UA-...
24.852941
111
0.533728
0154eaa7e90e2b49adbb678ec1ab8c3548b4bb1d
157
js
JavaScript
demos/node_modules/vbjs/dist/1.3.5/min/extensions/HTMLElement/overflownY.js
vbilopav/vbjs
c4c7676200996c60dcd723184a68db4e0e816dea
[ "MIT" ]
9
2018-09-03T11:08:37.000Z
2021-12-06T21:43:14.000Z
demos/node_modules/vbjs/dist/1.3.5/min/extensions/HTMLElement/overflownY.js
vbilopav/vbjs
c4c7676200996c60dcd723184a68db4e0e816dea
[ "MIT" ]
4
2018-09-03T14:55:01.000Z
2018-09-05T03:52:47.000Z
src/vbjs/dist/1.3.5/min/extensions/HTMLElement/overflownY.js
vbilopav/vbjs
c4c7676200996c60dcd723184a68db4e0e816dea
[ "MIT" ]
1
2020-12-07T18:30:47.000Z
2020-12-07T18:30:47.000Z
define(["sys/models/test-proto"],e=>{e(HTMLElement,["overflownY"]),HTMLElement.prototype.overflownY=function(){return this.scrollHeight>this.clientHeight}});
157
157
0.783439
015be7213185d3ceea265beb6a836aea0739c5bc
1,871
js
JavaScript
frontend/src/store/index.js
Maqomed/coding-challenge-frontend
96c35b687a7bea76d34f8f3ab8f34dee4bc8d703
[ "MIT" ]
null
null
null
frontend/src/store/index.js
Maqomed/coding-challenge-frontend
96c35b687a7bea76d34f8f3ab8f34dee4bc8d703
[ "MIT" ]
null
null
null
frontend/src/store/index.js
Maqomed/coding-challenge-frontend
96c35b687a7bea76d34f8f3ab8f34dee4bc8d703
[ "MIT" ]
null
null
null
import axios from 'axios' import Vuex from 'vuex' import Vue from 'vue' Vue.use(Vuex); let BASE_URL = process.env.BASE_URL //to handle state const state = { agents: [], logs: [], resolutions: [], loadStatus: true } //to handle state const getters = {} //to handle actions const actions = { getAl...
24.298701
81
0.555852
015c0cc457d98b1811142a1b89bca43a0da50818
8,368
js
JavaScript
src/main/webapp/widgets/RelatedTableCharts/setting/LayerChooser.js
emkgth/clean-water
d333aae1487fd7b620521038acee4590801f2c45
[ "Apache-2.0" ]
null
null
null
src/main/webapp/widgets/RelatedTableCharts/setting/LayerChooser.js
emkgth/clean-water
d333aae1487fd7b620521038acee4590801f2c45
[ "Apache-2.0" ]
null
null
null
src/main/webapp/widgets/RelatedTableCharts/setting/LayerChooser.js
emkgth/clean-water
d333aae1487fd7b620521038acee4590801f2c45
[ "Apache-2.0" ]
null
null
null
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built require({cache:{"url:widgets/RelatedTableCharts/setting/LayerChooser.html":'\x3cdiv style\x3d"width: 1...
523
2,249
0.75239
015cc7c6048bc0d1e03bba35542686bb6e3e2899
2,692
js
JavaScript
45/tests.js
clemenshelm/advent-of-code-2017
926afe634194003589a04e34ef9da8d1ac40ec2b
[ "MIT" ]
3
2017-12-01T07:29:52.000Z
2017-12-11T17:15:02.000Z
45/tests.js
clemenshelm/adventofcode-2017
926afe634194003589a04e34ef9da8d1ac40ec2b
[ "MIT" ]
null
null
null
45/tests.js
clemenshelm/adventofcode-2017
926afe634194003589a04e34ef9da8d1ac40ec2b
[ "MIT" ]
null
null
null
const assert = require('assert'); const processor = require('./processor.js'); describe('executing a number of commands', () => { it('sets register a to 1', () => { const proc = processor(['set a 1']); assert.deepEqual(proc.next().value, { lastCmd: 'set', registers: { a: 1 } }); }); it('subtracts 2 from...
33.65
87
0.544205
015d1e0f58ba842382abdff839838407cabbcc41
2,146
js
JavaScript
src/index.js
slaytr/myWebsite
6379731ece9ce639e17e0e1ea9b3c3a8900d909b
[ "MIT" ]
1
2021-06-04T00:45:17.000Z
2021-06-04T00:45:17.000Z
src/index.js
slaytr/myWebsite
6379731ece9ce639e17e0e1ea9b3c3a8900d909b
[ "MIT" ]
15
2020-09-04T22:16:57.000Z
2021-05-19T23:32:13.000Z
src/index.js
slaytr/myWebsite
6379731ece9ce639e17e0e1ea9b3c3a8900d909b
[ "MIT" ]
null
null
null
import React from "react"; import ReactDOM from "react-dom"; import {createBrowserHistory} from "history"; import {Router, Route, Switch} from "react-router-dom"; // import LegendaryCursor from "legendary-cursor"; import "assets/scss/material-kit-react.scss?v=1.10.0"; // pages for this product import Components from ...
43.795918
98
0.654706
015d2b6ed1a15ed1fa4daebc52dea112ebd1b201
861
js
JavaScript
assets/docs/search/functions_4.js
tsing-test/jittor-blog
2583ddc8fd57308c46b2f6437830af01a3b817c7
[ "MIT" ]
null
null
null
assets/docs/search/functions_4.js
tsing-test/jittor-blog
2583ddc8fd57308c46b2f6437830af01a3b817c7
[ "MIT" ]
null
null
null
assets/docs/search/functions_4.js
tsing-test/jittor-blog
2583ddc8fd57308c46b2f6437830af01a3b817c7
[ "MIT" ]
null
null
null
var searchData= [ ['reindexop',['ReindexOp',['../structjittor_1_1_reindex_op.html#ac0c65453c2096d16f4c3fe93aa702275',1,'jittor::ReindexOp::ReindexOp(Var *x, NanoVector shape, vector&lt; string &gt; &amp;&amp;indexes, float64 overflow_value=0, vector&lt; string &gt; &amp;&amp;overflow_conditions={}, vector&lt; Var * &...
123
570
0.754936
015db75d766d2f9741a1956703c0e3f1d6fc5ad8
1,007
js
JavaScript
test/angular-tests/test-button.js
noriega3/mui
9cedd9b2087ba5cd8c69802fd4c0c71ae02ce383
[ "MIT" ]
4,354
2015-05-10T03:41:54.000Z
2022-03-25T16:46:58.000Z
test/angular-tests/test-button.js
noriega3/mui
9cedd9b2087ba5cd8c69802fd4c0c71ae02ce383
[ "MIT" ]
304
2015-05-10T04:46:01.000Z
2022-03-24T07:20:07.000Z
test/angular-tests/test-button.js
borisdamevin/mui
12834583eea2b07dc841b8c676784eb5a1f091c9
[ "MIT" ]
611
2015-05-10T00:16:04.000Z
2022-03-10T14:24:37.000Z
/** * MUI test angular button module * @module test/angular-tests/test-button */ import assert from 'assert'; let helpers = require('./angular-helper'), ngModule = helpers.module, inject = helpers.inject, jqLite = helpers.jqLite; require('../../src/angular/button.js'); describe('angular/button', fun...
21.425532
70
0.625621
015de2266e8ff694d12e8a7eefdf42af1742e6b6
394
js
JavaScript
src/models/authentication.model.js
mubashirhanif/smart-matching-server
fbe3a7ce09f22a439c680c78b5d926ad76fcb452
[ "MIT" ]
null
null
null
src/models/authentication.model.js
mubashirhanif/smart-matching-server
fbe3a7ce09f22a439c680c78b5d926ad76fcb452
[ "MIT" ]
null
null
null
src/models/authentication.model.js
mubashirhanif/smart-matching-server
fbe3a7ce09f22a439c680c78b5d926ad76fcb452
[ "MIT" ]
null
null
null
const mongoose = require('mongoose'); const Schema = mongoose.Schema; let authenticationSchema = new Schema({ name: { type: String, index: true, unique: true }, password: { type: String }, token: String, create_time: Date }, { collection: 'authentications' })...
19.7
71
0.626904
01609c6d0b012c4fac56583a21a7689207f506ae
429
js
JavaScript
test/utils.js
boopathi/graphql-schema-linter
4a0df3ea40831b3826c8c83a921194f2ba4f973a
[ "MIT" ]
null
null
null
test/utils.js
boopathi/graphql-schema-linter
4a0df3ea40831b3826c8c83a921194f2ba4f973a
[ "MIT" ]
null
null
null
test/utils.js
boopathi/graphql-schema-linter
4a0df3ea40831b3826c8c83a921194f2ba4f973a
[ "MIT" ]
null
null
null
import { parse } from 'graphql'; import { validate } from 'graphql/validation'; import { buildASTSchema } from 'graphql/utilities/buildASTSchema'; export function validateSchemaString(schemaString, rules) { const ast = parse(` type QueryRoot { a: String } ${schemaString} schema { query:...
20.428571
66
0.67366
0160abdfd060d59f6d6c7d27ee795f790cfc9337
286
js
JavaScript
src/util.js
fossabot/merge
c456ae77536b6846cee19f060a0495b06336ec08
[ "MIT" ]
1
2019-09-23T07:17:58.000Z
2019-09-23T07:17:58.000Z
src/util.js
fossabot/merge
c456ae77536b6846cee19f060a0495b06336ec08
[ "MIT" ]
null
null
null
src/util.js
fossabot/merge
c456ae77536b6846cee19f060a0495b06336ec08
[ "MIT" ]
1
2019-12-02T07:19:24.000Z
2019-12-02T07:19:24.000Z
export const isType = type => obj => ({}.toString.call(obj).toLowerCase() === `[object ${type}]`) export const isArray = isType('array') export const isObject = isType('object') export const isIterable = object => object !== null && typeof object[Symbol.iterator] === 'function'
28.6
66
0.667832
0160f134dc497870fccb5767103d2ae334a6e13c
323
js
JavaScript
crates/swc/tests/tsc-references/classAbstractAsIdentifier_es5.1.normal.js
fireairforce/swc
06c1b3ecb558527aef81da1cbfca756fbc495553
[ "Apache-2.0" ]
1
2022-03-25T05:35:24.000Z
2022-03-25T05:35:24.000Z
crates/swc/tests/tsc-references/classAbstractAsIdentifier_es5.1.normal.js
fireairforce/swc
06c1b3ecb558527aef81da1cbfca756fbc495553
[ "Apache-2.0" ]
null
null
null
crates/swc/tests/tsc-references/classAbstractAsIdentifier_es5.1.normal.js
fireairforce/swc
06c1b3ecb558527aef81da1cbfca756fbc495553
[ "Apache-2.0" ]
null
null
null
import * as swcHelpers from "@swc/helpers"; var abstract = /*#__PURE__*/ function() { "use strict"; function abstract() { swcHelpers.classCallCheck(this, abstract); } var _proto = abstract.prototype; _proto.foo = function foo() { return 1; }; return abstract; }(); new abstrac...
23.071429
50
0.613003
016174e84543f238d29115b0dd725ded304738ff
549
js
JavaScript
app/components/create-session-message.js
ani4aniket/open-event-frontend
45018cf3a164deb9d6581a40f94250296e08ea78
[ "Apache-2.0" ]
3
2020-05-08T18:29:51.000Z
2020-11-21T11:59:42.000Z
app/components/create-session-message.js
aknrg77/open-event-frontend
07e9f3b419d32f59507d08eeeb755b25439c7d6f
[ "Apache-2.0" ]
1
2019-10-15T20:46:15.000Z
2019-10-15T20:46:15.000Z
app/components/create-session-message.js
aknrg77/open-event-frontend
07e9f3b419d32f59507d08eeeb755b25439c7d6f
[ "Apache-2.0" ]
1
2019-12-17T07:16:21.000Z
2019-12-17T07:16:21.000Z
import Component from '@ember/component'; import { computed } from '@ember/object'; export default Component.extend({ isMessageVisible : true, shouldShowMessage : computed('session.isAuthenticated', 'isMessageVisible', 'isNewSpeaker', 'isNewSession', function() { let speakerIDlength = this.data.userSpeaker ...
34.3125
122
0.68306
0161b65e6503f0f602323090a1d8bbe372d64a8e
4,143
js
JavaScript
node/tempHire/client/app/model/modelBuilder.js
Breeze/breeze.js.samples
de6a267fdca4b0b8c17f8040138d275a64d6dc37
[ "MIT" ]
65
2015-01-03T16:16:18.000Z
2021-05-08T09:01:54.000Z
net/TempHire-Angular/TempHire/App/model/modelBuilder.js
Breeze/breeze.js.samples
de6a267fdca4b0b8c17f8040138d275a64d6dc37
[ "MIT" ]
15
2015-01-03T18:28:12.000Z
2020-11-07T09:40:43.000Z
node/tempHire/client/app/model/modelBuilder.js
Breeze/breeze.js.samples
de6a267fdca4b0b8c17f8040138d275a64d6dc37
[ "MIT" ]
78
2015-01-19T23:45:37.000Z
2020-05-25T13:39:33.000Z
(function(angular) { 'use strict'; var model = angular.module('model', []); model.factory('modelBuilder', [factory]); function factory() { var self = { extendMetadata: extendMetadata }; return self; function extendMetadata(metadataStore) { ext...
36.026087
143
0.560222
0162676c7a362f36a3782aa2d15dc53f5bafa6de
3,961
js
JavaScript
dist/spec/overlays.spec.js
curveship/room-of-requirement
b94c279d1178099421f21d8a587bbad4ab0bed4a
[ "MIT" ]
null
null
null
dist/spec/overlays.spec.js
curveship/room-of-requirement
b94c279d1178099421f21d8a587bbad4ab0bed4a
[ "MIT" ]
null
null
null
dist/spec/overlays.spec.js
curveship/room-of-requirement
b94c279d1178099421f21d8a587bbad4ab0bed4a
[ "MIT" ]
null
null
null
"use strict"; const room_of_requirement_1 = require('../room-of-requirement'); describe("overlays", function () { it("should extend dependency network with new values", function () { var deps = room_of_requirement_1.root({}); expect(() => deps.foo).toThrowError(/foo/); deps = deps({ foo: _ =...
32.735537
77
0.461752
01626c509a69f783101592e5c6d1929be4165ece
1,319
js
JavaScript
fixtures/ember-new-prod/concat-stats-for/2-ember.js/@ember/-internals/views/lib/system/jquery.js
mike-north/ember-asset-size-report
b248508d0908cab390ba9a15c76e89ac11abb046
[ "BSD-2-Clause" ]
1
2019-12-04T17:12:24.000Z
2019-12-04T17:12:24.000Z
fixtures/ember-new-prod/concat-stats-for/2-ember.js/@ember/-internals/views/lib/system/jquery.js
mike-north/ember-asset-size-report
b248508d0908cab390ba9a15c76e89ac11abb046
[ "BSD-2-Clause" ]
null
null
null
fixtures/ember-new-prod/concat-stats-for/2-ember.js/@ember/-internals/views/lib/system/jquery.js
mike-north/ember-asset-size-report
b248508d0908cab390ba9a15c76e89ac11abb046
[ "BSD-2-Clause" ]
null
null
null
define("@ember/-internals/views/lib/system/jquery", ["exports", "@ember/-internals/environment", "@ember/-internals/browser-environment", "@ember/deprecated-features"], function (_exports, _environment, _browserEnvironment, _deprecatedFeatures) { "use strict"; Object.defineProperty(_exports, "__esModule", { va...
41.21875
246
0.679303
0162d49c064691b4bdc0c08dd10a05f96f45cf8c
5,556
js
JavaScript
src/js/js/cart.js
tianshaojun/kangjia
fc966d71f6bc82eabdef960f42d57271eda87212
[ "MIT" ]
1
2020-05-23T01:55:01.000Z
2020-05-23T01:55:01.000Z
src/js/js/cart.js
tianshaojun/kangjia
fc966d71f6bc82eabdef960f42d57271eda87212
[ "MIT" ]
null
null
null
src/js/js/cart.js
tianshaojun/kangjia
fc966d71f6bc82eabdef960f42d57271eda87212
[ "MIT" ]
null
null
null
var shopping=$('#shopping'); $.ajax({ type:'get', url:'/product/GetProductActivitiesAsync', dataType:'json', data:{ pid:'95390' }, success:function(data){ // console.log(data); var str=''; for(var i=0;i<data.shopHotORStoreManagers.length;i++){ // console.log(data) for(var ke...
27.78
106
0.454104
0163715e17549d3b8827204084f2254e3d66ddb3
1,107
js
JavaScript
client/src/components/contacts/Contacts.js
fjcasti1/contact-keeper
2143a5ed99ad35a2c4a9ed2ae8f787f454b1c697
[ "MIT" ]
null
null
null
client/src/components/contacts/Contacts.js
fjcasti1/contact-keeper
2143a5ed99ad35a2c4a9ed2ae8f787f454b1c697
[ "MIT" ]
null
null
null
client/src/components/contacts/Contacts.js
fjcasti1/contact-keeper
2143a5ed99ad35a2c4a9ed2ae8f787f454b1c697
[ "MIT" ]
null
null
null
import React, { Fragment, useContext, useEffect } from 'react'; import ContactContext from '../../context/contact/contactContext'; import ContactItem from './ContactItem'; import Spinner from '../layout/Spinner'; import { motion } from 'framer-motion'; const Contacts = () => { const { contacts, filtered, getContacts...
24.065217
82
0.579946
0163ac8d1ac9a89278017d23c0370ff8fdf4f019
751
js
JavaScript
src/components/Main.js
hekar/ircdc-react
454ce77a18b15754d1421ddb2f7c898a871f8726
[ "MIT" ]
null
null
null
src/components/Main.js
hekar/ircdc-react
454ce77a18b15754d1421ddb2f7c898a871f8726
[ "MIT" ]
null
null
null
src/components/Main.js
hekar/ircdc-react
454ce77a18b15754d1421ddb2f7c898a871f8726
[ "MIT" ]
null
null
null
require('normalize.css'); require('styles/App.css'); import $ from 'jquery'; import React from 'react'; import ReactCss from 'reactcss'; import Channel from './Channel'; import ChannelList from './ChannelList'; import { flex } from '../styles/'; export default class AppComponent extends ReactCss.Component { classe...
18.317073
62
0.584554
0164e3b1f57ad294364914dd404fef8d7105dc08
3,565
js
JavaScript
dist/21.cbfd2493.js
blukmays/vue-material
13ff5a75f29f73f33ac46e10fa64b56d2624dbb7
[ "MIT" ]
null
null
null
dist/21.cbfd2493.js
blukmays/vue-material
13ff5a75f29f73f33ac46e10fa64b56d2624dbb7
[ "MIT" ]
1
2019-10-31T16:18:54.000Z
2019-11-02T22:40:15.000Z
dist/21.cbfd2493.js
blukmays/vue-material
13ff5a75f29f73f33ac46e10fa64b56d2624dbb7
[ "MIT" ]
null
null
null
webpackJsonp([21],{"./docs/app/pages/Components/Tabs/examples/TabCustomTemplate.vue":function(e,s,t){"use strict";function o(e){t('./node_modules/extract-text-webpack-plugin/dist/loader.js?{"omit":1,"remove":true}!./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/...
3,565
3,565
0.73352
0166b4fd30e4f3f57691e4a4873c3289cacba4e2
2,144
js
JavaScript
Falling SnowFlakes Effect/script/script.js
sakshiv278/WebDev-ProjectKart
b336f45b16268dc748af5d52bdb0023deecb5eee
[ "MIT" ]
null
null
null
Falling SnowFlakes Effect/script/script.js
sakshiv278/WebDev-ProjectKart
b336f45b16268dc748af5d52bdb0023deecb5eee
[ "MIT" ]
null
null
null
Falling SnowFlakes Effect/script/script.js
sakshiv278/WebDev-ProjectKart
b336f45b16268dc748af5d52bdb0023deecb5eee
[ "MIT" ]
null
null
null
const canvas = document.querySelector('canvas') const c = canvas.getContext('2d') canvas.width = innerWidth canvas.height = innerHeight const attributes = { particleCount: 400, particleSize: 3, fallingSpeed: 1, colors: ['#3dc8f2', '#c5d0d4', '#fff', ] } const mouse = { x: innerWidth / 2...
19.669725
65
0.577425
0167b97344f2f8b674a86e064b0a514853424b62
783
js
JavaScript
deploy/package-native.js
ubavic/lamassu-machine
742de417524a9623d741317e84fb76168bcf3d2a
[ "Unlicense" ]
87
2015-02-11T07:47:35.000Z
2022-02-08T22:09:26.000Z
deploy/package-native.js
ubavic/lamassu-machine
742de417524a9623d741317e84fb76168bcf3d2a
[ "Unlicense" ]
452
2015-01-14T01:57:03.000Z
2021-11-29T16:20:48.000Z
deploy/package-native.js
ubavic/lamassu-machine
742de417524a9623d741317e84fb76168bcf3d2a
[ "Unlicense" ]
156
2015-01-24T22:50:14.000Z
2022-03-23T06:35:10.000Z
#!/usr/bin/env node /* Use ``npm install --global-style`` on a target device to build all node_modules. Then use this script to package native_modules.tgz and decompress to hardware/codebase/<device> */ const fs = require('fs') const cp = require('child_process') const mm = fs.readdirSync('./node_modules') const...
20.076923
80
0.687101
01685e9183a765ffefa722eeac4abbeb885a5e96
1,054
js
JavaScript
migrations/20180920120934_reviews.js
sofwerx/AAD-API
3454bfcbe3f8640f415a7c00c1f4037df6dbe927
[ "MIT" ]
null
null
null
migrations/20180920120934_reviews.js
sofwerx/AAD-API
3454bfcbe3f8640f415a7c00c1f4037df6dbe927
[ "MIT" ]
null
null
null
migrations/20180920120934_reviews.js
sofwerx/AAD-API
3454bfcbe3f8640f415a7c00c1f4037df6dbe927
[ "MIT" ]
1
2018-09-19T20:58:26.000Z
2018-09-19T20:58:26.000Z
exports.up = (knex, Promise) => { return knex.schema.createTable('reviews', (table) => { // TABLE COLUMN DEFINITIONS HERE table.increments().primary() table.string('username').references('username').inTable('users').nullable().onDelete('CASCADE') table.string('tool_name').nullable() ...
40.538462
101
0.639469
016b318c0636943e8d80b486ab8bc66c6f6c619f
1,567
js
JavaScript
.eslintrc.js
azerothcore/ac-node-server
891f17f4d15f97be452ec80406be12035b2ef62a
[ "MIT" ]
2
2020-06-23T08:38:00.000Z
2020-11-16T17:41:44.000Z
.eslintrc.js
azerothcore/acore-node-server
891f17f4d15f97be452ec80406be12035b2ef62a
[ "MIT" ]
3
2020-05-04T19:16:26.000Z
2020-05-07T17:40:55.000Z
.eslintrc.js
azerothcore/ac-node-server
891f17f4d15f97be452ec80406be12035b2ef62a
[ "MIT" ]
2
2020-06-24T01:03:17.000Z
2020-11-16T17:41:46.000Z
module.exports = { env: { // supporting all kind of environment // to build universal lib browser: true, commonjs: true, es6: true, node: true, }, parser: '@typescript-eslint/parser', extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@ty...
27.982143
74
0.606254
016d31d0aac8ae121c35f60bfdde03f176d155e0
2,959
js
JavaScript
dist/observables/binding/ViewFlipper.binding.js
lightningkite/butterfly-web
a369b6aa8e243e6a8f1894cbb97f945206367260
[ "MIT" ]
1
2022-01-06T14:33:58.000Z
2022-01-06T14:33:58.000Z
dist/observables/binding/ViewFlipper.binding.js
lightningkite/butterfly-web
a369b6aa8e243e6a8f1894cbb97f945206367260
[ "MIT" ]
null
null
null
dist/observables/binding/ViewFlipper.binding.js
lightningkite/butterfly-web
a369b6aa8e243e6a8f1894cbb97f945206367260
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const DisposeCondition_ext_1 = require("../../rx/DisposeCondition.ext"); //! Declares com.lightningkite.butterfly.observables.binding.bindLoading>android.widget.ViewFlipper function xViewFlipperBindLoading(this_, loading, color = null) { v...
42.271429
99
0.612369
016d57c959a95b25c00d19d04e095667c3823591
230
js
JavaScript
clientserver.js
AaronFilson/omnifilter-client
a87d770ba35ccf3ac2dbdb9e5f9581e8367acb9e
[ "MIT" ]
null
null
null
clientserver.js
AaronFilson/omnifilter-client
a87d770ba35ccf3ac2dbdb9e5f9581e8367acb9e
[ "MIT" ]
null
null
null
clientserver.js
AaronFilson/omnifilter-client
a87d770ba35ccf3ac2dbdb9e5f9581e8367acb9e
[ "MIT" ]
null
null
null
const express = require('express'); var myPort = process.env.PORT || process.env.$PORT || 5000; express().use(express.static(__dirname + '/build')) .listen(myPort, () => console.log('Client server up on port ' + myPort + '.'));
46
81
0.66087
016d8c7fc45623ae584c131f1d09d9e8bce2be9c
1,643
js
JavaScript
node_modules/@rxweb/reactive-form-validators/esm5/util/check-length.js
rohitgituser/co-connect-demo
3ddd1aae289970847fe54a5c28c4be9d7bf7c4ed
[ "MIT" ]
null
null
null
node_modules/@rxweb/reactive-form-validators/esm5/util/check-length.js
rohitgituser/co-connect-demo
3ddd1aae289970847fe54a5c28c4be9d7bf7c4ed
[ "MIT" ]
1
2022-03-02T09:39:09.000Z
2022-03-02T09:39:09.000Z
node_modules/@rxweb/reactive-form-validators/esm5/util/check-length.js
rohitgituser/co-connect-demo
3ddd1aae289970847fe54a5c28c4be9d7bf7c4ed
[ "MIT" ]
null
null
null
import * as tslib_1 from "tslib"; export function checkLength(length, checks) { var e_1, _a; var isPassed = false; try { for (var checks_1 = tslib_1.__values(checks), checks_1_1 = checks_1.next(); !checks_1_1.done; checks_1_1 = checks_1.next()) { var check = checks_1_1.value; ...
74.681818
954
0.797931
0170d5c78aa3bc97501db29658a6f57e4cfeb516
74
js
JavaScript
test/manual/src/preloaded2.js
sebastianseilund/extract-css-chunks-webpack-plugin
c644b00f3ea17ec553ade6457439bffeef7dae54
[ "MIT" ]
null
null
null
test/manual/src/preloaded2.js
sebastianseilund/extract-css-chunks-webpack-plugin
c644b00f3ea17ec553ade6457439bffeef7dae54
[ "MIT" ]
null
null
null
test/manual/src/preloaded2.js
sebastianseilund/extract-css-chunks-webpack-plugin
c644b00f3ea17ec553ade6457439bffeef7dae54
[ "MIT" ]
null
null
null
import './preloaded2.css'; alert('Ok'); // eslint-disable-line no-alert
18.5
45
0.675676
0172bb51a0a188211458d4dba65096de9c0f285a
1,520
js
JavaScript
src/components/CopyColumns/CopyColumns.js
webdevboy/gatsbyjs-tk
0e99c2dadfdf6988b10f93773f48d6fce6bd71ca
[ "MIT" ]
1
2020-09-01T14:10:36.000Z
2020-09-01T14:10:36.000Z
src/components/CopyColumns/CopyColumns.js
webdevboy/gatsbyjs-tk
0e99c2dadfdf6988b10f93773f48d6fce6bd71ca
[ "MIT" ]
22
2020-06-10T10:43:41.000Z
2022-01-26T11:18:34.000Z
src/components/CopyColumns/CopyColumns.js
webdevboy/gatsbyjs-tk
0e99c2dadfdf6988b10f93773f48d6fce6bd71ca
[ "MIT" ]
null
null
null
import React from 'react'; import { MEDIUM_BREAKPOINT, XLARGE_BREAKPOINT } from 'src/utils/breakpoints'; import { isBrowser } from 'src/utils/auth'; import './CopyColumns.scss'; export default function CopyColumns({ columns, theme }) { const mobileCopyExists = columns && columns.find(allCopy => allCopy.mobileCopy !...
37.073171
137
0.555263
0173f3775828363ad28f636c2915eed82dc129bc
54
js
JavaScript
common/models/blood.js
safe-plant/safeplant-api
180f0cc178b236984bf5789b29be7eb3355bda70
[ "MIT" ]
null
null
null
common/models/blood.js
safe-plant/safeplant-api
180f0cc178b236984bf5789b29be7eb3355bda70
[ "MIT" ]
null
null
null
common/models/blood.js
safe-plant/safeplant-api
180f0cc178b236984bf5789b29be7eb3355bda70
[ "MIT" ]
1
2019-05-02T16:43:17.000Z
2019-05-02T16:43:17.000Z
'use strict'; module.exports = function(Blood) { };
9
34
0.648148
01747508e383a2ccec5ec3c5f45a6fc47a5374a4
88
js
JavaScript
day/03-webpack/34/webpack/src/index.js
forwendy/frontend-interview
53f9a5a211e33c36430ef2df54526c42938d92a2
[ "MIT" ]
1
2022-02-15T07:10:05.000Z
2022-02-15T07:10:05.000Z
day/03-webpack/34/webpack/src/index.js
forwendy/frontend-interview
53f9a5a211e33c36430ef2df54526c42938d92a2
[ "MIT" ]
null
null
null
day/03-webpack/34/webpack/src/index.js
forwendy/frontend-interview
53f9a5a211e33c36430ef2df54526c42938d92a2
[ "MIT" ]
null
null
null
import { add } from "./add"; import hello from "./hello.txt"; console.log(add(3, 3));
14.666667
32
0.613636
017578f0319b6c7e00623f2b6a5c9f456e3f719d
2,729
js
JavaScript
React/src/components/floor/FloorAdd.js
yucellsarikaya/ReactJS-SpringBoot-Mysql
9e952b2f1d4be622aca26dd6363dfed6cc60d5ad
[ "MIT" ]
1
2021-06-30T12:21:16.000Z
2021-06-30T12:21:16.000Z
React/src/components/floor/FloorAdd.js
yucellsarikaya/ReactJS-SpringBoot-Mysql
9e952b2f1d4be622aca26dd6363dfed6cc60d5ad
[ "MIT" ]
null
null
null
React/src/components/floor/FloorAdd.js
yucellsarikaya/ReactJS-SpringBoot-Mysql
9e952b2f1d4be622aca26dd6363dfed6cc60d5ad
[ "MIT" ]
null
null
null
import React, { useState, useEffect } from 'react' import buildingService from '../../services/buildingServices/buildingService' import floorService from '../../services/floorServices/floorService' import alertify from "alertifyjs" import { useHistory } from "react-router-dom"; export default function FloorAdd() { ...
40.731343
167
0.434591
0177151744ebe08199c2e090a3368c6d4b5508e8
4,720
js
JavaScript
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientAttribute.js
hispindia/MAHARASHTRA-2.13
f50ec5b3ca2c5fabb43058166fd0c0fbbaa946a9
[ "BSD-3-Clause" ]
null
null
null
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientAttribute.js
hispindia/MAHARASHTRA-2.13
f50ec5b3ca2c5fabb43058166fd0c0fbbaa946a9
[ "BSD-3-Clause" ]
null
null
null
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientAttribute.js
hispindia/MAHARASHTRA-2.13
f50ec5b3ca2c5fabb43058166fd0c0fbbaa946a9
[ "BSD-3-Clause" ]
null
null
null
// ----------------------------------------------------------------------------- // View details // ----------------------------------------------------------------------------- function showPatientAttributeDetails( patientAttributeId ) { jQuery.getJSON( 'getPatientAttribute.action', { id: patientAttributeId }, fun...
33.956835
218
0.594068
01775c21f0beddc9f01270f4c8005afb928a962b
68
js
JavaScript
packages/taro-redux-h5/src/index.js
UchihaObitoZzz/taro
4564acdd425cfeac060947c1a43a433612e3ba99
[ "MIT" ]
2
2019-03-05T09:28:39.000Z
2021-11-09T03:10:16.000Z
packages/taro-redux-h5/src/index.js
UchihaObitoZzz/taro
4564acdd425cfeac060947c1a43a433612e3ba99
[ "MIT" ]
29
2020-09-05T00:57:25.000Z
2022-02-26T14:48:52.000Z
packages/taro-redux-h5/src/index.js
UchihaObitoZzz/taro
4564acdd425cfeac060947c1a43a433612e3ba99
[ "MIT" ]
2
2020-10-07T02:48:39.000Z
2021-11-09T03:10:22.000Z
export { Provider, connect, connectAdvanced } from '../react-redux'
34
67
0.735294
0177c2282bcf2cdb71ad0dc816d93827464500d4
23,367
js
JavaScript
www/js/ajax/api/scripts/graphics.js
GeoinformationSystems/geooperator-browser
dd34647a83941daeba6b9d1cfef6f1e05ed890ae
[ "CC-BY-4.0" ]
6
2015-03-23T16:56:41.000Z
2020-01-21T09:34:14.000Z
www/js/ajax/api/scripts/graphics.js
GeoinformationSystems/geooperator-browser
dd34647a83941daeba6b9d1cfef6f1e05ed890ae
[ "CC-BY-4.0" ]
9
2015-06-04T19:16:03.000Z
2015-08-03T17:01:30.000Z
www/js/ajax/api/scripts/graphics.js
GeoinformationSystems/geooperator-browser
dd34647a83941daeba6b9d1cfef6f1e05ed890ae
[ "CC-BY-4.0" ]
5
2015-03-18T20:37:09.000Z
2018-11-15T11:59:59.000Z
/** * @fileOverview Graphics utility functions and constants * @name SimileAjax.Graphics */ SimileAjax.Graphics = new Object(); /** * A boolean value indicating whether PNG translucency is supported on the * user's browser or not. * * @type Boolean */ SimileAjax.Graphics.pngIsTranslucent = (!SimileAjax.Platfo...
40.780105
173
0.636667
0178767bbc204cb8531f9b913925b3592ef9348b
776
js
JavaScript
app/components/MinimalLayout/index.js
bkcom/bku-front-end-template
c902fb41b1c91439f50b16d74154fb8de9be2a51
[ "MIT" ]
null
null
null
app/components/MinimalLayout/index.js
bkcom/bku-front-end-template
c902fb41b1c91439f50b16d74154fb8de9be2a51
[ "MIT" ]
null
null
null
app/components/MinimalLayout/index.js
bkcom/bku-front-end-template
c902fb41b1c91439f50b16d74154fb8de9be2a51
[ "MIT" ]
null
null
null
/** * * Minimal * */ import React, { memo } from 'react'; import PropTypes from 'prop-types'; import { makeStyles } from '@material-ui/styles'; import TopbarMinimal from 'components/TopbarMinimal/Loadable'; import Footer from 'components/Footer'; const useStyles = makeStyles(() => ({ root: { paddingTop:...
17.244444
63
0.641753
01789a0271f4405061c579d3dd70a4fa76263b43
470
js
JavaScript
src/api/login.js
MusicCore/vue-musiccore
dd93e88216d443ba648fceba517ea9fa2ee37db9
[ "MIT" ]
null
null
null
src/api/login.js
MusicCore/vue-musiccore
dd93e88216d443ba648fceba517ea9fa2ee37db9
[ "MIT" ]
null
null
null
src/api/login.js
MusicCore/vue-musiccore
dd93e88216d443ba648fceba517ea9fa2ee37db9
[ "MIT" ]
null
null
null
import request from '@/utils/request' export function login(account, password) { return request({ url: '/api/vue/login', method: 'post', data: { account, password } }) } export function getInfo(token, account, password) { return request({ url: '/api/vue/info', method: 'post',...
16.785714
51
0.595745
0178b19b8391fd424257818183d3f516ae7b3b35
1,628
js
JavaScript
test.js
stoeffel/partition-all
6f9941bee4f290845269d7d8e915e9a8b0040238
[ "MIT" ]
11
2015-02-11T11:37:27.000Z
2020-12-17T16:03:42.000Z
test.js
stoeffel/partition-all
6f9941bee4f290845269d7d8e915e9a8b0040238
[ "MIT" ]
null
null
null
test.js
stoeffel/partition-all
6f9941bee4f290845269d7d8e915e9a8b0040238
[ "MIT" ]
null
null
null
"use strict"; var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; }; var partitionAll = _interopRequire(require("./index.js")); var expect = _interopRequire(require("expect.js")); it("#partition-all", function () { expect(partitionAll).to.be.a.Function; expect(partitio...
33.916667
94
0.566339
01792b0434b1b4f2128fdaffbc5175e5f5a83e00
433
js
JavaScript
src/utilities/storage.js
shegsteham/Fast-Food
97b8bc17a470a72e2f0b4e6cfd539a4b4b66297b
[ "MIT" ]
1
2020-07-24T02:53:49.000Z
2020-07-24T02:53:49.000Z
src/utilities/storage.js
shegsteham/Fast-Food
97b8bc17a470a72e2f0b4e6cfd539a4b4b66297b
[ "MIT" ]
null
null
null
src/utilities/storage.js
shegsteham/Fast-Food
97b8bc17a470a72e2f0b4e6cfd539a4b4b66297b
[ "MIT" ]
1
2021-04-11T16:18:54.000Z
2021-04-11T16:18:54.000Z
/* eslint-disable no-template-curly-in-string */ const storage = (store, data) => { const initial = JSON.parse(localStorage.getItem(`${store}`)); if (initial) { const update = JSON.stringify(initial.concat(data)); localStorage.setItem(`${store}`, update); return initial.concat(data); } const updat...
25.470588
63
0.676674
0179f66b8146201a77bb70500ceb8226587a20e4
1,061
js
JavaScript
client/src/components/Dashboard/Highscore.js
1dv611-softhouse/softhouse
0361aac9c14be0c0a9cc6b0442ecf95e850bd32e
[ "MIT" ]
null
null
null
client/src/components/Dashboard/Highscore.js
1dv611-softhouse/softhouse
0361aac9c14be0c0a9cc6b0442ecf95e850bd32e
[ "MIT" ]
null
null
null
client/src/components/Dashboard/Highscore.js
1dv611-softhouse/softhouse
0361aac9c14be0c0a9cc6b0442ecf95e850bd32e
[ "MIT" ]
null
null
null
/** * The highscore component. * * @version 1.0.0 */ import '../../styles/highscore.css' import { useEffect, useState } from 'react' function Highscore() { const [highscores, setHighscores] = useState([]) /** * Fetches the best 10 highscores from the database the first time components renders. */ use...
23.577778
88
0.572102
017a2b976634d399894b1efe5d27b5b0f106a54b
706
js
JavaScript
src/routes/index.js
pl12133/uscensus-data-map
3bfc8f5b28fdf7c73cad588e87fa3773ec941037
[ "MIT" ]
1
2020-09-10T20:54:29.000Z
2020-09-10T20:54:29.000Z
src/routes/index.js
pl12133/uscensus-data-map
3bfc8f5b28fdf7c73cad588e87fa3773ec941037
[ "MIT" ]
1
2020-09-10T21:03:38.000Z
2020-09-10T21:03:38.000Z
src/routes/index.js
pl12133/uscensus-data-map
3bfc8f5b28fdf7c73cad588e87fa3773ec941037
[ "MIT" ]
1
2020-09-10T20:54:34.000Z
2020-09-10T20:54:34.000Z
/* eslint-disable no-unused-vars*/ import React from 'react'; /* eslint-enable no-unused-vars*/ import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import HomePage from 'containers/HomePage/'; import About from 'containers/About/'; import Page404 from 'containers/Page404/'; import DataMap from 'c...
28.24
73
0.68272
017dc3a73598db2b5559cf11a33ac4d1235d24ad
2,685
js
JavaScript
node_modules/@jsonforms/core/lib/reducers/i18n.js
Chrisphyne/performance-monitoring
c60e460bccbe73205b8b08eec7f791e946b82af1
[ "Apache-2.0" ]
null
null
null
node_modules/@jsonforms/core/lib/reducers/i18n.js
Chrisphyne/performance-monitoring
c60e460bccbe73205b8b08eec7f791e946b82af1
[ "Apache-2.0" ]
null
null
null
node_modules/@jsonforms/core/lib/reducers/i18n.js
Chrisphyne/performance-monitoring
c60e460bccbe73205b8b08eec7f791e946b82af1
[ "Apache-2.0" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); /* The MIT License Copyright (c) 2017-2019 EclipseSource Munich https://github.com/eclipsesource/jsonforms Permission is hereby granted, free of charge, to any person obtaining a copy of this softwar...
40.681818
147
0.70987
017f96432cabc1bdf1e3e080aacbea9818528dd4
445
js
JavaScript
client/src/components/SongButton/SongButton.js
jnel-221/kARaoke
d6251f89effea9682b01bf319beb1f8c665141dd
[ "MIT" ]
2
2021-05-07T02:17:58.000Z
2021-05-08T17:36:50.000Z
client/src/components/SongButton/SongButton.js
jnel-221/kARaoke
d6251f89effea9682b01bf319beb1f8c665141dd
[ "MIT" ]
3
2021-05-20T00:46:32.000Z
2021-05-25T00:55:12.000Z
client/src/components/SongButton/SongButton.js
jnel-221/kARaoke
d6251f89effea9682b01bf319beb1f8c665141dd
[ "MIT" ]
4
2021-05-08T18:45:02.000Z
2021-06-03T20:42:41.000Z
import React from "react"; import "./style.css"; function SongButton({ id, title, costume, cover, src, filter, handleClick }) { // console.log("songbutton props: ", id, title, costume, src, filter) return ( <> <div className={"class" + id} id={id} src={src} data-title={title} data-cover={cover} data-cost...
31.785714
182
0.644944
018101e8d9647f187f6dbbf2216452f01bf61f54
6,550
js
JavaScript
routes/catalogo.js
pamaco2/xplora
5f4c4cdd17ff80c6c4fd387ff1f76c886ac336f2
[ "MIT" ]
null
null
null
routes/catalogo.js
pamaco2/xplora
5f4c4cdd17ff80c6c4fd387ff1f76c886ac336f2
[ "MIT" ]
null
null
null
routes/catalogo.js
pamaco2/xplora
5f4c4cdd17ff80c6c4fd387ff1f76c886ac336f2
[ "MIT" ]
null
null
null
var express = require('express'); var router = express.Router(); var request = require('request'); var bcrypt = require('bcrypt'); var EmailTemplate = require('email-templates'); var async = require('async'); var nodemailer = require('nodemailer'); var pug = require('pug'); var mcache = require('memory-cache'); var Dat...
29.504505
157
0.642595
0182055caeea9379b7bb623635f763f71fd43d78
1,122
js
JavaScript
src/components/ProjectCreator.js
leegenes/protrackt-frontend
bc536a96800f065138f9c7826aa82be5f4f14774
[ "MIT" ]
null
null
null
src/components/ProjectCreator.js
leegenes/protrackt-frontend
bc536a96800f065138f9c7826aa82be5f4f14774
[ "MIT" ]
null
null
null
src/components/ProjectCreator.js
leegenes/protrackt-frontend
bc536a96800f065138f9c7826aa82be5f4f14774
[ "MIT" ]
null
null
null
import React from 'react'; import PropTypes from 'prop-types'; import './project_creator.css'; const ProjectCreator = (props) => { const organizationOptions = props.organizations.orgs.map((organization) => { return ( <option className="form-option" key={organization.name}> { organization.n...
28.05
110
0.646168
0182a7ecc23dccbaf52e7fdb11cf7aee0c6a8434
811
js
JavaScript
src/config_service.js
puresec/lambda-config-rules
50a3a36ac47490e9e9457f5fedfc3edace7377e2
[ "MIT" ]
17
2018-10-18T05:12:56.000Z
2021-08-11T20:09:10.000Z
src/config_service.js
puresec/lambda-config-rules
50a3a36ac47490e9e9457f5fedfc3edace7377e2
[ "MIT" ]
1
2019-04-16T00:31:19.000Z
2019-04-16T06:05:36.000Z
src/config_service.js
puresec/lambda-config-rules
50a3a36ac47490e9e9457f5fedfc3edace7377e2
[ "MIT" ]
4
2018-12-03T17:19:54.000Z
2021-06-17T12:36:46.000Z
'use strict'; const AWS = require('aws-sdk'); require('./aws_sdk_hooks'); const config = new AWS.ConfigService({}); function chunkArray(myArray, chunk_size) { let results = []; while (myArray.length) { results.push(myArray.splice(0, chunk_size)); } return results; } async function putEvaluations(params...
23.171429
79
0.691739
0185f148794828c45e4160ff53511bc4f908a4bc
2,684
js
JavaScript
app/utils/wowhead/artifactCalculatorHash.js
pc035860/wow-ap-level
a9878d3a79ca8a41551d3a3010b242e36a4b13bc
[ "MIT" ]
13
2017-04-05T06:05:12.000Z
2019-03-24T14:15:05.000Z
app/utils/wowhead/artifactCalculatorHash.js
pc035860/wow-ap-level
a9878d3a79ca8a41551d3a3010b242e36a4b13bc
[ "MIT" ]
15
2017-06-27T03:37:26.000Z
2022-03-08T22:44:10.000Z
app/utils/wowhead/artifactCalculatorHash.js
pc035860/wow-ap-level
a9878d3a79ca8a41551d3a3010b242e36a4b13bc
[ "MIT" ]
1
2017-08-24T07:33:27.000Z
2017-08-24T07:33:27.000Z
/* eslint-disable */ import createArtifactStruct from './createArtifactStruct'; import { ARTIFACT_ITEMS, B64ARRAY } from './constants'; function r(z, u) { var y = []; for (var t = (u - 1); t >= 0; t--) { y[t] = z & 15; z = z >> 4 } return y } function m(w) { var v = []; var u...
24.851852
173
0.436289
0186268ac806bdac5b85bcc47245c06d4fbc63af
292
js
JavaScript
Rules/Captured.js
civ-clone/core-city
9b97100f5804f11f93301b573d5d3730aef46ff3
[ "MIT" ]
null
null
null
Rules/Captured.js
civ-clone/core-city
9b97100f5804f11f93301b573d5d3730aef46ff3
[ "MIT" ]
null
null
null
Rules/Captured.js
civ-clone/core-city
9b97100f5804f11f93301b573d5d3730aef46ff3
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Captured = void 0; const Rule_1 = require("@civ-clone/core-rule/Rule"); class Captured extends Rule_1.default { } exports.Captured = Captured; exports.default = Captured; //# sourceMappingURL=Captured.js.map
32.444444
62
0.753425
01865dc15dce52ff17354ec2e94ce58c55dfdd18
4,006
js
JavaScript
src/assets/iconfont/iconfont.js
690243004/jqsv
68c148815613358f916956b539f8783a61259bdd
[ "MIT" ]
2
2020-04-13T14:53:34.000Z
2020-08-13T13:51:59.000Z
src/assets/iconfont/iconfont.js
690243004/jqsv
68c148815613358f916956b539f8783a61259bdd
[ "MIT" ]
5
2020-04-13T09:18:13.000Z
2022-02-27T02:58:28.000Z
src/assets/iconfont/iconfont.js
690243004/jqsv
68c148815613358f916956b539f8783a61259bdd
[ "MIT" ]
null
null
null
!(function (d) { let t, a = '<svg><symbol id="iconmoduanzuoyouzhankai_o" viewBox="0 0 1024 1024"><path d="M814.933333 512l-98.133333-98.133333 29.866667-29.866667 149.333333 149.333333-149.333333 149.333334-29.866667-29.866667 98.133333-98.133333H554.666667v-42.666667h260.266666zM209.066667 512H469.333333v4...
62.59375
2,152
0.636046
0186ae855e78af0cb077823976f135e93bb1d4f1
51
js
JavaScript
packages/@memserver/cli/src/commands/sync.js
izelnakri/memserver
3db14525db59923d6433322190dfd392c68e24cb
[ "MIT" ]
10
2018-01-28T15:42:24.000Z
2021-06-14T03:47:46.000Z
packages/@memserver/cli/src/commands/sync.js
izelnakri/memserver
3db14525db59923d6433322190dfd392c68e24cb
[ "MIT" ]
204
2019-12-30T05:07:10.000Z
2022-03-30T11:07:01.000Z
packages/@memoria/cli/src/commands/sync.js
izelnakri/memoria
b2bc01c12d4ec8cc83da27c80878166a6928526f
[ "MIT" ]
1
2020-08-31T04:42:07.000Z
2020-08-31T04:42:07.000Z
// TODO: this should target URL or post init state
25.5
50
0.745098
0187a9371547f0fe574512ddd1bb3fbe8e019154
1,559
js
JavaScript
Programadorabordo/05-operadores-logicos.js
wrico/CursoJS
3cea9e393104cafd016faf60a6591ae995328012
[ "MIT" ]
null
null
null
Programadorabordo/05-operadores-logicos.js
wrico/CursoJS
3cea9e393104cafd016faf60a6591ae995328012
[ "MIT" ]
null
null
null
Programadorabordo/05-operadores-logicos.js
wrico/CursoJS
3cea9e393104cafd016faf60a6591ae995328012
[ "MIT" ]
null
null
null
var a = true; var b = false; console.log(!a); console.log(!b); console.log('!!a', !!a); console.log('!!b', !!b); // null, undefined, '', false, 0 // console.log(!!null); console.log(!!undefined); console.log(!!''); console.log(!!0); console.log(!!'texto'); console.log(!!20); console.log(10 && 'texto' && 'Program...
18.783133
86
0.58948
0188532da5ee6b934743a3e0a151af82f978a421
289
js
JavaScript
src/lib/__utils__/capitalize_multiple_words.js
anthonyjshaw/whodunnit
aa9b51b27a23861fa1165d62fb19bc816663fc64
[ "MIT" ]
null
null
null
src/lib/__utils__/capitalize_multiple_words.js
anthonyjshaw/whodunnit
aa9b51b27a23861fa1165d62fb19bc816663fc64
[ "MIT" ]
null
null
null
src/lib/__utils__/capitalize_multiple_words.js
anthonyjshaw/whodunnit
aa9b51b27a23861fa1165d62fb19bc816663fc64
[ "MIT" ]
null
null
null
import { capitalize } from "./capitalize"; const capitalizeMultipleWords = (str) => { if (str.split(' ').length === 1) { return capitalize(str); } else { const sentence = str.split(' '); return sentence.map(e => capitalize(e)).join(' '); } } export { capitalizeMultipleWords };
24.083333
53
0.636678
018934a87c068383bc72a20e9df70959cf27a53d
5,009
js
JavaScript
src/node_modules/_datdot-service-helpers/load-feed.js
ninabreznik/service.js
f4e0f63253a576bd4b59ea0eb990ca1c49ad6159
[ "MIT" ]
2
2021-01-06T12:23:03.000Z
2021-09-08T03:22:11.000Z
src/node_modules/_datdot-service-helpers/load-feed.js
ninabreznik/service.js
f4e0f63253a576bd4b59ea0eb990ca1c49ad6159
[ "MIT" ]
null
null
null
src/node_modules/_datdot-service-helpers/load-feed.js
ninabreznik/service.js
f4e0f63253a576bd4b59ea0eb990ca1c49ad6159
[ "MIT" ]
2
2020-06-19T19:22:24.000Z
2021-03-29T20:03:21.000Z
const hyperswarm = require('hyperswarm') const hypercore = require('hypercore') const RAM = require('random-access-memory') const FeedStorage = require('_datdot-service-helpers/feed-storage.js') const sub = require('subleveldown') const ready = require('_datdot-service-helpers/hypercore-ready') module.exports = load...
53.860215
171
0.586145