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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0654b6e9225c8ea0c143cfbb30cfc28f3514d287 | 525 | js | JavaScript | src/types/input.js | IgorLesnevskiy/table2excel | 6633279bc0b2968595194ac6e6326b2013fc41eb | [
"MIT"
] | 85 | 2016-08-02T09:16:05.000Z | 2022-03-26T10:26:56.000Z | src/types/input.js | IgorLesnevskiy/table2excel | 6633279bc0b2968595194ac6e6326b2013fc41eb | [
"MIT"
] | 16 | 2016-12-07T09:53:45.000Z | 2021-08-30T17:15:25.000Z | src/types/input.js | IgorLesnevskiy/table2excel | 6633279bc0b2968595194ac6e6326b2013fc41eb | [
"MIT"
] | 95 | 2016-11-15T12:03:45.000Z | 2022-03-26T10:27:00.000Z | /**
* Generates a cell object for an input field cell.
*
* @param {HTMLTableCellElement} cell - The cell.
*
* @returns {object} - A cell object of the cell or `null` if the cell doesn't
* fulfill the criteria of an input field cell.
*/
export default cell => {
let input = cell.querySelector('input[type="text"]... | 29.166667 | 82 | 0.664762 |
d1d2882028faa0e9e9858750888e1f22a8d3a0ff | 198 | js | JavaScript | src/modules/actions/index.js | bajajmohit19/ant-dummie | 80a687706f1c7b299141009854d05f4b7f4bbba4 | [
"MIT"
] | null | null | null | src/modules/actions/index.js | bajajmohit19/ant-dummie | 80a687706f1c7b299141009854d05f4b7f4bbba4 | [
"MIT"
] | 3 | 2020-09-06T15:20:40.000Z | 2022-02-12T17:35:03.000Z | src/modules/actions/index.js | bajajmohit19/ant-dummie | 80a687706f1c7b299141009854d05f4b7f4bbba4 | [
"MIT"
] | 1 | 2020-10-08T05:29:18.000Z | 2020-10-08T05:29:18.000Z | export * from './userActions'
export const showLoader = () => {
return { type: 'SHOW_BTN_LOADING' }
}
export const hideLoader = () => {
return { type: 'HIDE_BTN_LOADING' }
}
export default {} | 18 | 37 | 0.646465 |
d1d3c8f0cee13dc9830e53e70713f869f9ea9bde | 430 | js | JavaScript | lib/overseasClaimDetailsObject.js | dwp/gysp-agent-ui | 94a05e7a0a99eb63172aebde9bc326906a3c60c5 | [
"MIT"
] | null | null | null | lib/overseasClaimDetailsObject.js | dwp/gysp-agent-ui | 94a05e7a0a99eb63172aebde9bc326906a3c60c5 | [
"MIT"
] | 1 | 2020-08-18T11:42:17.000Z | 2020-08-18T11:42:17.000Z | lib/overseasClaimDetailsObject.js | dwp/gysp-agent-ui | 94a05e7a0a99eb63172aebde9bc326906a3c60c5 | [
"MIT"
] | 2 | 2020-08-28T12:11:40.000Z | 2021-04-10T22:14:58.000Z | const moment = require('moment');
module.exports = {
formatter(details) {
const claimDate = moment(details.claimDate);
const statePensionDate = moment(details.statePensionDate);
return {
statePensionDate: statePensionDate.format('DD MMM YYYY'),
claimDate: claimDate.format('DD MMM YYYY'),
... | 25.294118 | 63 | 0.674419 |
d1d45ed6988e5317445cdb762b36102067598706 | 1,587 | js | JavaScript | src/bootstrap.js | ri/news-emote | feff8b39366d110acf76ad9e79f1f98b2cf1dd12 | [
"MIT"
] | 5 | 2017-04-20T09:29:26.000Z | 2017-10-29T22:58:04.000Z | src/bootstrap.js | ri/news-emote | feff8b39366d110acf76ad9e79f1f98b2cf1dd12 | [
"MIT"
] | null | null | null | src/bootstrap.js | ri/news-emote | feff8b39366d110acf76ad9e79f1f98b2cf1dd12 | [
"MIT"
] | null | null | null | // global css
import './theme/theme.scss'
// classes you want to use immediately
import {App} from './App'
import reqwest from 'reqwest'
import queryString from 'query-string'
// import './vendor/scrollsnap-polyfill.bundled'
/**
* entrance code for SPA
*/
function main() {
document.title = 'Loading...'
// Query... | 26.898305 | 87 | 0.62949 |
d1d4be45cde88d2e5dfa0361578d4deb0c9f08cf | 3,275 | js | JavaScript | src/components/book/BookPage.js | sribysana/book_Inventory_ui_app | 53b1b75c65e0fbedfb80e4207dd6a9dd9450b31f | [
"MIT"
] | null | null | null | src/components/book/BookPage.js | sribysana/book_Inventory_ui_app | 53b1b75c65e0fbedfb80e4207dd6a9dd9450b31f | [
"MIT"
] | null | null | null | src/components/book/BookPage.js | sribysana/book_Inventory_ui_app | 53b1b75c65e0fbedfb80e4207dd6a9dd9450b31f | [
"MIT"
] | null | null | null | import React, {Component, PropTypes} from 'react';
import {List,Map} from 'immutable';
import {Modal} from 'react-bootstrap';
import {getBook, toggleModal, toggleBookEditModal } from './bookActions';
import {getUser, addToCart, removeFromCart} from '../../common/user/userActions';
import Book from './components/Book';
... | 30.896226 | 96 | 0.606107 |
d1d70435e46b7f32333cad0fd97c9b43f15ca52b | 1,265 | js | JavaScript | client/src/models/Points.js | czarekowyxjs/agar.io-clone-multiplayer | 600d4a8f428c68a519dbb12fcbf632952baa683c | [
"MIT"
] | null | null | null | client/src/models/Points.js | czarekowyxjs/agar.io-clone-multiplayer | 600d4a8f428c68a519dbb12fcbf632952baa683c | [
"MIT"
] | null | null | null | client/src/models/Points.js | czarekowyxjs/agar.io-clone-multiplayer | 600d4a8f428c68a519dbb12fcbf632952baa683c | [
"MIT"
] | null | null | null | class Points {
constructor(ctx, canvas, points) {
this.ctx = ctx;
this.canvas = canvas;
this.points = points;
this.heroData = {};
this.logged = false;
}
draw() {
for(let i = 0;i < this.points.length;++i) {
this.drawPoint(this.points[i]);
}
}
drawPoint(point) {
const halfCanvasWidth = this.canv... | 18.880597 | 53 | 0.61581 |
d1d9002cf403598c696e8436db6804a5374838ea | 218 | js | JavaScript | gameplay-api/html/search/enumvalues_67.js | j4m3z0r/GamePlay | 02ca734e5734d2fbc9d00a7eff65ed2656f26975 | [
"Apache-2.0",
"Unlicense"
] | 1 | 2021-09-02T01:45:24.000Z | 2021-09-02T01:45:24.000Z | gameplay-api/html/search/enumvalues_67.js | j4m3z0r/GamePlay | 02ca734e5734d2fbc9d00a7eff65ed2656f26975 | [
"Apache-2.0",
"Unlicense"
] | null | null | null | gameplay-api/html/search/enumvalues_67.js | j4m3z0r/GamePlay | 02ca734e5734d2fbc9d00a7eff65ed2656f26975 | [
"Apache-2.0",
"Unlicense"
] | null | null | null | var searchData=
[
['ghost_5fobject',['GHOST_OBJECT',['../classgameplay_1_1_physics_collision_object.html#a99aa09f043883dcd33865cd582de463ead53b782e6493799fe204347a135c5b0f',1,'gameplay::PhysicsCollisionObject']]]
];
| 43.6 | 196 | 0.834862 |
d1dbb9200527daa5b74d0a6431b4f25b8758f275 | 497 | js | JavaScript | node_modules/mdi-material-ui/FolderOpen.js | wh00sh/Tanda-DAPP | c8b21ca87dfa5e88ea6e975311e15e9009c48f75 | [
"Apache-2.0"
] | null | null | null | node_modules/mdi-material-ui/FolderOpen.js | wh00sh/Tanda-DAPP | c8b21ca87dfa5e88ea6e975311e15e9009c48f75 | [
"Apache-2.0"
] | null | null | null | node_modules/mdi-material-ui/FolderOpen.js | wh00sh/Tanda-DAPP | c8b21ca87dfa5e88ea6e975311e15e9009c48f75 | [
"Apache-2.0"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _createIcon = _interopRequireDefault(require("./util/createIcon"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var _default = (0, _createIcon["defaul... | 35.5 | 183 | 0.704225 |
d1dd10e1fb66b531da03459c6b75f9e894f90ba5 | 2,160 | js | JavaScript | packages/extension/src/background/storage/index-db.js | Temmyogunbo/source | cc99cf038010017c8f47ea453256b97f7b156865 | [
"MIT"
] | 4 | 2019-09-30T19:51:40.000Z | 2019-10-05T22:00:08.000Z | packages/extension/src/background/storage/index-db.js | Temmyogunbo/source | cc99cf038010017c8f47ea453256b97f7b156865 | [
"MIT"
] | 104 | 2019-09-30T20:44:22.000Z | 2020-06-05T17:50:54.000Z | packages/extension/src/background/storage/index-db.js | Temmyogunbo/source | cc99cf038010017c8f47ea453256b97f7b156865 | [
"MIT"
] | 3 | 2019-10-04T02:53:30.000Z | 2019-10-24T14:06:58.000Z | import { Util } from '@mujo/utils'
import { openDB } from 'idb'
import {
DATABASE_NAME,
DATABASE_VERSION,
DATABASE_STORE,
LAST_ACTIVITY_TABLE,
ACTIVITY_NUMBER_KEY,
VALUE_CHANGED,
} from '../../constants'
import { broadcaster } from './broadcast'
import { migrate } from './migrations'
import { types } from '... | 24.827586 | 70 | 0.65 |
d1debc4a847eb24709475b10570030308e56dfab | 1,969 | js | JavaScript | test/unit/client/web/geolocation.js | brentlintner/incubator-ripple | 86385ad34dbea5a08c3313ebc9f45b11bd097956 | [
"Apache-2.0"
] | 56 | 2015-01-05T19:21:10.000Z | 2018-04-20T12:49:06.000Z | test/unit/client/web/geolocation.js | SidYa/ripple | 394ce6b3a77efceedb963795ca174474f4a50250 | [
"Apache-2.0"
] | 36 | 2015-01-30T15:16:55.000Z | 2015-10-19T18:06:30.000Z | test/unit/client/web/geolocation.js | isabella232/incubator-retired-ripple | e208b483a835f4df2e886ae4ca39e92c6cc76f21 | [
"Apache-2.0"
] | 31 | 2015-01-17T11:19:21.000Z | 2016-05-12T00:22:45.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 ... | 38.607843 | 98 | 0.615541 |
d1dec348cc8e324aea027eb6465a219b91d4e510 | 1,238 | js | JavaScript | pages/booking-link-page/accordion-body-content/BookingLinkPageContentRow.js | Jero786/react-redux-next-example | 73755cdc652b79b5fc0051edc37762ca9c24c67b | [
"MIT"
] | null | null | null | pages/booking-link-page/accordion-body-content/BookingLinkPageContentRow.js | Jero786/react-redux-next-example | 73755cdc652b79b5fc0051edc37762ca9c24c67b | [
"MIT"
] | null | null | null | pages/booking-link-page/accordion-body-content/BookingLinkPageContentRow.js | Jero786/react-redux-next-example | 73755cdc652b79b5fc0051edc37762ca9c24c67b | [
"MIT"
] | null | null | null | import './BookingLinkPageContentRow.scss';
import React from 'react';
import PropTypes from 'prop-types';
import {get} from 'lodash/object';
import Textfield from 'components/textfield/Textfield';
export default class BookingLinkPageContentRow extends React.PureComponent {
render() {
const {rule} = this.pr... | 38.6875 | 98 | 0.629241 |
d1df38543621018ffc3a97961652c527be8a37c5 | 107 | js | JavaScript | script.js | Rezi121w/AhilesShop | 0aaee24bf055736020df05ad9c64da97c6252c02 | [
"Apache-2.0"
] | null | null | null | script.js | Rezi121w/AhilesShop | 0aaee24bf055736020df05ad9c64da97c6252c02 | [
"Apache-2.0"
] | null | null | null | script.js | Rezi121w/AhilesShop | 0aaee24bf055736020df05ad9c64da97c6252c02 | [
"Apache-2.0"
] | null | null | null | var market = localStorage.getItem("Market")
if(market != 1){
window.location.replace("index.html")
}
| 21.4 | 43 | 0.682243 |
d1e052065c57eca49f8c90a46d2984596e4820b8 | 295 | js | JavaScript | src/routes/Affiliate/components/AffiliateRuleRow/AffiliateRuleRow.js | mouhsinelonly/el-student-spa | 8009a0df8896edf19f69c65445cdce4d173ca4ef | [
"MIT"
] | null | null | null | src/routes/Affiliate/components/AffiliateRuleRow/AffiliateRuleRow.js | mouhsinelonly/el-student-spa | 8009a0df8896edf19f69c65445cdce4d173ca4ef | [
"MIT"
] | null | null | null | src/routes/Affiliate/components/AffiliateRuleRow/AffiliateRuleRow.js | mouhsinelonly/el-student-spa | 8009a0df8896edf19f69c65445cdce4d173ca4ef | [
"MIT"
] | null | null | null | // @flow
import React from 'react'
import './AffiliateRuleRow.scss'
type PropsType = {
text: string
};
const AffiliateRuleRow = (props: PropsType): React.Element<'li'> =>
<li className='AffiliateRuleRow' dangerouslySetInnerHTML={{ __html: props.text }} />
export default AffiliateRuleRow
| 22.692308 | 86 | 0.732203 |
d1e0d0f7625a27d5dcabee924b462a85400215cb | 5,480 | js | JavaScript | common/core/test/core.test.js | Vonage/vivid | d73b307cb3204f1ccde5493947bde32815a3aa9d | [
"Apache-2.0"
] | 11 | 2021-10-12T20:08:24.000Z | 2022-02-24T03:09:17.000Z | common/core/test/core.test.js | Vonage/vivid | d73b307cb3204f1ccde5493947bde32815a3aa9d | [
"Apache-2.0"
] | 202 | 2021-09-25T18:49:17.000Z | 2022-03-30T20:04:04.000Z | common/core/test/core.test.js | Vonage/vivid | d73b307cb3204f1ccde5493947bde32815a3aa9d | [
"Apache-2.0"
] | 2 | 2021-12-12T03:10:15.000Z | 2022-03-04T07:22:04.000Z | import {
randomAlpha,
getFrameLoadedInjected,
cleanFrame,
} from '../../../test/test-helpers.js';
import {
assertBaseVarsMatch,
PRINCIPAL_SCHEME_VARIABLES_FILTER,
} from '../../../test/style-utils.js';
const CONTEXT_ATTR = 'data-vvd-context';
const CORE_SETUP_HTML_TAG = 'coreSetupTest';
const LIGHT = 'light';
con... | 29.621622 | 104 | 0.692883 |
d1e24de1b4b64ef3d2bb8681ba44d192fb3f9084 | 5,674 | js | JavaScript | test/index.js | chmanie/jeton | cb0147fbe4536ce4e640c2f2483e45120822146a | [
"Unlicense",
"MIT"
] | null | null | null | test/index.js | chmanie/jeton | cb0147fbe4536ce4e640c2f2483e45120822146a | [
"Unlicense",
"MIT"
] | null | null | null | test/index.js | chmanie/jeton | cb0147fbe4536ce4e640c2f2483e45120822146a | [
"Unlicense",
"MIT"
] | null | null | null | // Load modules
var Lab = require('lab');
var Code = require('code');
// Test shortcuts
var lab = exports.lab = Lab.script();
var before = lab.before;
var after = lab.after;
var describe = lab.experiment;
var it = lab.test;
var expect = Code.expect;
var sinon = require('sinon');
describe('Token storage', function()... | 25.908676 | 107 | 0.504759 |
d1e2d2d0a605da6aab8f7be2dfd40a7b0cecd2b0 | 11,156 | js | JavaScript | libs/tagText.js | GabrielFDuarte/DICOM-Explorer | 3afa2e8277ddde387c450e90f91f9ebc018d18f8 | [
"MIT"
] | 4 | 2020-08-17T05:56:28.000Z | 2020-10-07T11:08:31.000Z | libs/tagText.js | GabrielFDuarte/DICOM-Explorer | 3afa2e8277ddde387c450e90f91f9ebc018d18f8 | [
"MIT"
] | null | null | null | libs/tagText.js | GabrielFDuarte/DICOM-Explorer | 3afa2e8277ddde387c450e90f91f9ebc018d18f8 | [
"MIT"
] | 3 | 2020-10-09T19:00:56.000Z | 2021-08-05T15:20:33.000Z | var tagText = {
'x00020000':'Number of bytes following this File Meta Element (end of the Value field) up to and including the last File Meta Element of the Group 2 File Meta Information.',
'x00020001':'This is a two byte field where each bit identifies a version of this File Meta Information header. In versi... | 119.956989 | 608 | 0.743994 |
d1e33b4abeb303f0a5dc317717e3b47f7a56b219 | 940 | js | JavaScript | src/mongo/db.js | Mrlhz/puppeteer | 4f67c582a800e7bff143c447bac21bdd971d58a2 | [
"MIT"
] | 3 | 2020-03-13T05:34:10.000Z | 2020-12-21T22:50:21.000Z | src/mongo/db.js | Mrlhz/puppeteer | 4f67c582a800e7bff143c447bac21bdd971d58a2 | [
"MIT"
] | null | null | null | src/mongo/db.js | Mrlhz/puppeteer | 4f67c582a800e7bff143c447bac21bdd971d58a2 | [
"MIT"
] | null | null | null | const mongoose = require('mongoose')
const movie = require('../models/movie')
const movieBrief = require('../models/movieBrief')
const bookBrief = require('../models/bookBrief')
const bookTags = require('../models/bookTags')
const tvBrief = require('../models/tvBrief')
const log = console.log
function connect(databa... | 27.647059 | 90 | 0.707447 |
d1e34cd9b3b292773cf39768551ca5f5d9f1257c | 471 | js | JavaScript | js/custom.js | koderjoker/jiitodc.github.io | be0bb870e23fd1b74c47d8dd29978f4610b7c12b | [
"MIT"
] | null | null | null | js/custom.js | koderjoker/jiitodc.github.io | be0bb870e23fd1b74c47d8dd29978f4610b7c12b | [
"MIT"
] | null | null | null | js/custom.js | koderjoker/jiitodc.github.io | be0bb870e23fd1b74c47d8dd29978f4610b7c12b | [
"MIT"
] | null | null | null | const title = document.getElementById("head-text");
const typewriter = new Typewriter(title, {
loop: true,
});
typewriter
.typeString("JODC")
.pauseFor(2500)
.deleteAll()
.typeString("JIIT Open Dev Circle ")
.start();
const topNav = document.querySelector(".topnav");
topNav.addEventListener('click', fun... | 19.625 | 51 | 0.656051 |
d1e37e0a6935d265f0445a78c573ed7c844e08ba | 1,328 | js | JavaScript | back/patches/004_lowerCaseName/index.js | mpech/mangatrack | 5ad0a4abdbb1b60960efb675a8cd1bc05ae04bfe | [
"WTFPL"
] | null | null | null | back/patches/004_lowerCaseName/index.js | mpech/mangatrack | 5ad0a4abdbb1b60960efb675a8cd1bc05ae04bfe | [
"WTFPL"
] | 9 | 2020-05-16T10:15:18.000Z | 2022-03-03T06:40:42.000Z | back/patches/004_lowerCaseName/index.js | mpech/mangatrack | 5ad0a4abdbb1b60960efb675a8cd1bc05ae04bfe | [
"WTFPL"
] | null | null | null | import MangaModel from '../../models/mangaModel.js'
import ChapterModel from '../../models/chapterModel.js'
export default async () => {
const res = await MangaModel.aggregate([
{
$project: {
minName: {
$toLower: '$nameId'
},
manga: '$$ROOT'
}
},
{
$gro... | 24.145455 | 83 | 0.534639 |
d1e468151313b01a4a10b91f8192695d93453948 | 2,171 | js | JavaScript | admin/src/pages/Category/index.js | ismail-klc/mern-ecommerce | 3e7ef0a467526b350733d4d6b04224cf58c85327 | [
"MIT"
] | null | null | null | admin/src/pages/Category/index.js | ismail-klc/mern-ecommerce | 3e7ef0a467526b350733d4d6b04224cf58c85327 | [
"MIT"
] | null | null | null | admin/src/pages/Category/index.js | ismail-klc/mern-ecommerce | 3e7ef0a467526b350733d4d6b04224cf58c85327 | [
"MIT"
] | null | null | null | import { Box, Button, List, ListItem, ListItemIcon, ListSubheader, makeStyles } from '@material-ui/core';
import React,{useEffect} from 'react'
import Dashboard from '../../components/Layout/Layout'
import { useDispatch, useSelector } from 'react-redux';
import AddCategoryForm from './components/AddCategoryForm';
... | 31.926471 | 106 | 0.481806 |
d1e4c4cb20f2c8248d632c86fb46554ec853af60 | 2,527 | js | JavaScript | day02/02_lineIntersection/sketch.js | ajbajb/ARTTECH3135-spring2019 | ecce35823dbdb37ad6d1071a6e0c290d5d795b2e | [
"MIT"
] | 1 | 2019-01-24T05:03:27.000Z | 2019-01-24T05:03:27.000Z | day02/02_lineIntersection/sketch.js | ajbajb/ARTTECH3135-spring2019 | ecce35823dbdb37ad6d1071a6e0c290d5d795b2e | [
"MIT"
] | null | null | null | day02/02_lineIntersection/sketch.js | ajbajb/ARTTECH3135-spring2019 | ecce35823dbdb37ad6d1071a6e0c290d5d795b2e | [
"MIT"
] | 1 | 2019-04-11T18:26:18.000Z | 2019-04-11T18:26:18.000Z |
//line intersection
//'use strict';
function setup() {
createCanvas( 400, 400 );
}
function draw() {
background( 250, 250, 235 );
strokeWeight( 5 );
// dynamic mouse conrolled line
stroke( 0, 100, 255, 100 );
line( 0, 0, mouseX, mouseY );
// static line
// check if it intersect... | 26.6 | 106 | 0.609418 |
d1e4eb87853971c92b79a03b1d784638435530f7 | 612 | js | JavaScript | src/store/categories.js | 401-advanced-javascript-AhmadMamdouh/storefront | f48c9953876113a789491bd393499adaccde316a | [
"MIT"
] | null | null | null | src/store/categories.js | 401-advanced-javascript-AhmadMamdouh/storefront | f48c9953876113a789491bd393499adaccde316a | [
"MIT"
] | null | null | null | src/store/categories.js | 401-advanced-javascript-AhmadMamdouh/storefront | f48c9953876113a789491bd393499adaccde316a | [
"MIT"
] | null | null | null | const initialState = {
categories: [
{ name: 'electronics', displayName: 'Elecronics' },
{ name: 'food', displayName: 'Food' },
{ name: 'clothing', displayName: 'Clothing' },
],
activeCategory: 'food',
};
export default (state = initialState, action) => {
const { type, payload }... | 24.48 | 71 | 0.576797 |
d1e708ef3160231bc8d24fe5544decffcc9a2c83 | 1,008 | js | JavaScript | dist/skylark-threejs-ex/nodes/accessors/ResolutionNode.js | skylark-integration/skylark-threejs-ex | f73cac27980c3f1eb18f96a24f1984b14ddd9c9e | [
"MIT"
] | null | null | null | dist/skylark-threejs-ex/nodes/accessors/ResolutionNode.js | skylark-integration/skylark-threejs-ex | f73cac27980c3f1eb18f96a24f1984b14ddd9c9e | [
"MIT"
] | null | null | null | dist/skylark-threejs-ex/nodes/accessors/ResolutionNode.js | skylark-integration/skylark-threejs-ex | f73cac27980c3f1eb18f96a24f1984b14ddd9c9e | [
"MIT"
] | null | null | null | /**
* skylark-threejs-ex - A version of threejs extentions library that ported to running on skylarkjs
* @author Hudaokeji, Inc.
* @version v0.9.0
* @link https://github.com/skylark-integration/skylark-threejs-ex/
* @license MIT
*/
define(["skylark-threejs","../inputs/Vector2Node"],function(e,t){"use strict";func... | 100.8 | 693 | 0.762897 |
d1e98971c2d406fdb4b80f9b328b5986c38257ff | 2,263 | js | JavaScript | src/core/display/cores/materialCore.js | tsherif/scenejs | 8866a02794a703057b0f354e7399eb23e0dff6c1 | [
"MIT"
] | 394 | 2015-01-02T02:15:44.000Z | 2021-12-07T10:30:41.000Z | src/core/display/cores/materialCore.js | kasunv/scenejs | fd99d6ccbdf9f8b64675eb0569cbf65738a4cc67 | [
"MIT"
] | 154 | 2015-01-02T14:08:07.000Z | 2018-01-16T14:16:29.000Z | src/core/display/cores/materialCore.js | kasunv/scenejs | fd99d6ccbdf9f8b64675eb0569cbf65738a4cc67 | [
"MIT"
] | 139 | 2015-01-22T05:58:25.000Z | 2022-03-31T19:23:56.000Z | SceneJS_CoreFactory.createCoreType("material", {
init : function(params) {
},
setBaseColor : function(color) {
var defaultBaseColor = defaultCore.baseColor;
this.core.baseColor = color ? [
color.r != undefined && color.r != null ? color.r : defaultBaseColor[0],
c... | 29.776316 | 107 | 0.56783 |
d1e99cd30cd0121436a9195488d8c64fb795b09b | 2,206 | js | JavaScript | examples/terrain/texture_worker_pool.js | rogerscg/era-engine | d812516dca5fa8fa76f9cc1fdb385c719cf2f475 | [
"MIT"
] | 68 | 2020-01-01T23:53:22.000Z | 2021-12-30T15:51:28.000Z | examples/terrain/texture_worker_pool.js | davchezt/era-engine | d812516dca5fa8fa76f9cc1fdb385c719cf2f475 | [
"MIT"
] | 8 | 2020-01-20T17:41:15.000Z | 2021-02-04T16:20:05.000Z | examples/terrain/texture_worker_pool.js | davchezt/era-engine | d812516dca5fa8fa76f9cc1fdb385c719cf2f475 | [
"MIT"
] | 5 | 2020-01-06T15:23:43.000Z | 2021-09-25T17:00:47.000Z | /**
* @author rogerscg / https://github.com/rogerscg
*/
import { WorkerPool } from '../../build/era';
import * as Comlink from 'comlink';
/**
* Controls pre-warmed texture workers and their usage by tiles.
*/
class TextureWorkerPool {
constructor() {
this.capacity = 20;
this.workers = new Set();
// S... | 23.72043 | 79 | 0.621487 |
d1ea3874c4577d32c8b49295fa626ad45a93c7ed | 1,122 | js | JavaScript | src/routes/resources/store.js | saejs/sae-framework | b8fdcef0c5acd96084bbbe98578211ae1790792d | [
"MIT"
] | null | null | null | src/routes/resources/store.js | saejs/sae-framework | b8fdcef0c5acd96084bbbe98578211ae1790792d | [
"MIT"
] | null | null | null | src/routes/resources/store.js | saejs/sae-framework | b8fdcef0c5acd96084bbbe98578211ae1790792d | [
"MIT"
] | null | null | null | const arr = require("rhinojs/support/arr");
module.exports = (app, resource, middlewares) => {
app.post(resource.uri, async (req, res) => {
var t = await resource.__transaction();
try {
var json = req.body;
var obj = new resource.model();
// Aplicar parent
... | 28.769231 | 83 | 0.508913 |
d1ead5376cf3c7c531bf49092485d29eb5b40034 | 773 | js | JavaScript | src/EmailPage/__tests__/EmailPage.test.js | kiwicom/smart-faq | 2131be6290020a11dc6ad236eb82c5bde75945d8 | [
"MIT"
] | 12 | 2018-03-06T10:50:20.000Z | 2018-08-11T18:04:27.000Z | src/EmailPage/__tests__/EmailPage.test.js | jalbertsr/smart-faq | 2131be6290020a11dc6ad236eb82c5bde75945d8 | [
"MIT"
] | 554 | 2018-03-06T10:41:32.000Z | 2018-10-03T18:49:49.000Z | src/EmailPage/__tests__/EmailPage.test.js | jalbertsr/smart-faq | 2131be6290020a11dc6ad236eb82c5bde75945d8 | [
"MIT"
] | 7 | 2018-09-26T08:30:25.000Z | 2021-02-16T07:45:49.000Z | // @flow
import * as React from 'react';
import { render } from 'enzyme';
import { CheckRecoveryLink, CheckMagicLink } from '../index';
describe('EmailPage', () => {
const props = {
text: 'link',
location: {
state: {
email: 'kiwi@email.com',
},
},
};
it('should render recovery l... | 25.766667 | 67 | 0.592497 |
d1eb25a1d469a72fc655d57f17e3fcdcd461f7ce | 6,375 | js | JavaScript | HadoopConnect/appserver/static/job_list.js | mshensg/hadoop-connect-for-splunk | 14afd1eb83753d6e1f95dcae49a27e3002070bbe | [
"Apache-2.0"
] | 1 | 2021-11-09T07:33:42.000Z | 2021-11-09T07:33:42.000Z | HadoopConnect/appserver/static/job_list.js | mshensg/hadoop-connect-for-splunk | 14afd1eb83753d6e1f95dcae49a27e3002070bbe | [
"Apache-2.0"
] | 2 | 2021-09-02T23:48:40.000Z | 2021-11-09T07:35:27.000Z | HadoopConnect/appserver/static/job_list.js | mshensg/hadoop-connect-for-splunk | 14afd1eb83753d6e1f95dcae49a27e3002070bbe | [
"Apache-2.0"
] | 2 | 2021-03-15T20:34:58.000Z | 2022-03-27T09:49:26.000Z |
var curPage = 0;
var pager = $(".REDJobs .Paginator");
var itemsPerPage = parseInt(pager.data('count'));
var pages;
function updatePagerCount(from, to, total) {
if(total) pager.find('span.count').html(['Showing <span>', from, '-', to, '</span> of ', total, total !== 1 ? ' results' : ' res... | 35.416667 | 152 | 0.451137 |
d1eba2b4e1c32fa5d3e361d8873df1d2cdff9109 | 228 | js | JavaScript | src/pages/index.js | TheBlankness/unifi-reseller-1 | 47afbb938f58baeba411ccd06375114790244d21 | [
"MIT"
] | null | null | null | src/pages/index.js | TheBlankness/unifi-reseller-1 | 47afbb938f58baeba411ccd06375114790244d21 | [
"MIT"
] | 2 | 2021-05-11T04:00:38.000Z | 2022-02-27T00:04:09.000Z | src/pages/index.js | TheBlankness/unifi-reseller-1 | 47afbb938f58baeba411ccd06375114790244d21 | [
"MIT"
] | null | null | null | import React from "react"
import { Link } from "gatsby"
import BackgroundSection from "../components/BackgroundSection"
import App from "../components/App"
const IndexPage = () => (
<App/>
)
export default IndexPage
| 12.666667 | 63 | 0.697368 |
d1ebf2c2fda9d6b81007d8e7f2e7c5e440c1cb32 | 991 | js | JavaScript | webapp/views/App/views/Users/UsersAccessRequest/UsersAccessRequest.js | openforis/arena | d4918e7e218bac36a038511f9236b68ce7bdd1ba | [
"MIT"
] | 10 | 2019-06-03T19:30:57.000Z | 2022-03-19T03:30:18.000Z | webapp/views/App/views/Users/UsersAccessRequest/UsersAccessRequest.js | openforis/arena | d4918e7e218bac36a038511f9236b68ce7bdd1ba | [
"MIT"
] | 650 | 2018-07-11T18:23:34.000Z | 2022-03-31T09:09:51.000Z | webapp/views/App/views/Users/UsersAccessRequest/UsersAccessRequest.js | openforis/arena | d4918e7e218bac36a038511f9236b68ce7bdd1ba | [
"MIT"
] | 5 | 2020-01-06T12:47:35.000Z | 2021-11-14T01:08:58.000Z | import './UsersAccessRequest.scss'
import React, { useCallback, useState } from 'react'
import * as UserAccessRequest from '@core/user/userAccessRequest'
import Table from '@webapp/components/Table/Table'
import ColumnHeaders from './ColumnHeaders'
import Row from './Row'
import {TableHeaderLeft} from './TableHeade... | 28.314286 | 101 | 0.702321 |
d1eda0497faf099c16234353b397eee8a8c5a941 | 246 | js | JavaScript | seeds/WebKit/microbenchmarks/setter.js | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 16 | 2020-03-23T12:53:10.000Z | 2021-10-11T02:31:50.000Z | seeds/WebKit/microbenchmarks/setter.js | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 14 | 2018-04-09T20:16:00.000Z | 2019-06-11T12:31:10.000Z | seeds/WebKit/microbenchmarks/setter.js | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 12 | 2018-04-06T00:52:24.000Z | 2018-07-10T19:44:16.000Z | (function() {
var o = {_f:42};
o.__defineSetter__("f", function(value) { this._f = value; });
var n = 2000000;
for (var i = 0; i < n; ++i)
o.f = i;
if (o._f != n - 1)
throw "Error: bad result: " + o._f;
})();
| 22.363636 | 66 | 0.455285 |
d1edeed025b3b14b290e84031406dc7854c7fac2 | 1,279 | js | JavaScript | Kwikker/App/Routes/ProfileStackNavigator.js | aymanElakwah/kwikker-react-native | 64ef47de06fc2c8e2f285a688ad55ffb17504db3 | [
"Apache-2.0"
] | null | null | null | Kwikker/App/Routes/ProfileStackNavigator.js | aymanElakwah/kwikker-react-native | 64ef47de06fc2c8e2f285a688ad55ffb17504db3 | [
"Apache-2.0"
] | 3 | 2020-09-06T07:58:42.000Z | 2022-02-12T16:07:09.000Z | Kwikker/App/Routes/ProfileStackNavigator.js | aymanElakwah/kwikker-react-native | 64ef47de06fc2c8e2f285a688ad55ffb17504db3 | [
"Apache-2.0"
] | 3 | 2019-08-29T15:13:57.000Z | 2020-06-11T21:37:01.000Z | import React, { Component } from 'react';
import { createStackNavigator, CreateAppContainer } from 'react-navigation';
import Profile from '../Screens/Profile/Profile';
import FollowerList from '../Screens/FollowerList/FollowersList';
import FollowingList from '../Screens/FollowingList/FollowingList';
import EditProfil... | 32.794872 | 82 | 0.729476 |
d1ee0b0308bc88dad727baf28126aa2f2d9c91a6 | 216 | js | JavaScript | Es6/Set&Map/mapBaseUse.js | xszlq/foundation | d8d2860b8c95d95b81fb8c68078ace8591ffd8e4 | [
"MIT"
] | null | null | null | Es6/Set&Map/mapBaseUse.js | xszlq/foundation | d8d2860b8c95d95b81fb8c68078ace8591ffd8e4 | [
"MIT"
] | null | null | null | Es6/Set&Map/mapBaseUse.js | xszlq/foundation | d8d2860b8c95d95b81fb8c68078ace8591ffd8e4 | [
"MIT"
] | 1 | 2018-08-02T06:18:06.000Z | 2018-08-02T06:18:06.000Z | const o1 = {},
o2 = {};
const map1 = new Map();
map1.set(o1, "o1");
map1.set(o2, "o2");
console.log(map1.get(o1));
/*
构造函数
*/
const map2 = new Map([[o1, "ao1"], [o2, "ao2"]]);
console.log(map2.get(o2)); | 13.5 | 49 | 0.523148 |
d1ee5c70219a29acacb9ba07bf0e3c81af0f99a0 | 860 | js | JavaScript | index.js | adelonzeta/email-scripts | 31460504548e8fae31bde59c0c12d34ec85d4e76 | [
"0BSD"
] | null | null | null | index.js | adelonzeta/email-scripts | 31460504548e8fae31bde59c0c12d34ec85d4e76 | [
"0BSD"
] | null | null | null | index.js | adelonzeta/email-scripts | 31460504548e8fae31bde59c0c12d34ec85d4e76 | [
"0BSD"
] | null | null | null | #!/usr/bin/env node
const { series, parallel } = require('gulp')
const Panini = require('./config/Panini')
const Sass = require('./config/Sass')
const Prepare = require('./config/Prepare')
const Serve = require('./config/Serve')
const Watch = require('./config/Watch')
const Purge = require('./config/Purge')
... | 30.714286 | 62 | 0.676744 |
d1eeb09cbb525fa63c533e0fb776fa4d7a756cad | 7,309 | js | JavaScript | src/passport.js | rockyromano/doorsync | 1382da18b12554d2e0aa51c490a2ccb5cb981a0a | [
"MIT"
] | null | null | null | src/passport.js | rockyromano/doorsync | 1382da18b12554d2e0aa51c490a2ccb5cb981a0a | [
"MIT"
] | null | null | null | src/passport.js | rockyromano/doorsync | 1382da18b12554d2e0aa51c490a2ccb5cb981a0a | [
"MIT"
] | null | null | null | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
/**
* Passport.js reference implementation.
* The dat... | 32.629464 | 114 | 0.504036 |
d1eefec9d0caa8d1220189dfc7bda2d1008ac3c1 | 10,258 | js | JavaScript | dist/src/twp.yaml.js | livingyang/tiny-websocket-protocol | 27eb6dfdcd79ecdbde897c2875a93c95a7bda459 | [
"MIT"
] | null | null | null | dist/src/twp.yaml.js | livingyang/tiny-websocket-protocol | 27eb6dfdcd79ecdbde897c2875a93c95a7bda459 | [
"MIT"
] | null | null | null | dist/src/twp.yaml.js | livingyang/tiny-websocket-protocol | 27eb6dfdcd79ecdbde897c2875a93c95a7bda459 | [
"MIT"
] | null | null | null | "use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Message = (function () {
function Messag... | 37.032491 | 126 | 0.62985 |
d1efef530482557064823da2751fb7ca5d9bdaca | 1,439 | js | JavaScript | client/src/entry-client.js | deoxxa/don | 75625eace8d13e512c7d3d12ab26418bdc456814 | [
"BSD-3-Clause"
] | 199 | 2017-04-06T15:20:50.000Z | 2020-10-16T12:32:56.000Z | client/src/entry-client.js | deoxxa/don | 75625eace8d13e512c7d3d12ab26418bdc456814 | [
"BSD-3-Clause"
] | 9 | 2017-04-09T03:07:11.000Z | 2017-04-11T02:23:18.000Z | client/src/entry-client.js | deoxxa/don | 75625eace8d13e512c7d3d12ab26418bdc456814 | [
"BSD-3-Clause"
] | 8 | 2017-04-09T04:49:00.000Z | 2018-07-17T15:55:04.000Z | import axios from 'axios';
import React from 'react';
import { render } from 'react-dom';
import { AppContainer } from 'react-hot-loader';
import { BrowserRouter } from 'react-router-dom';
import Redbox from 'redbox-react';
import Root from './root';
import { setupAxios, setupStore } from './setup';
function main() {... | 23.590164 | 76 | 0.613621 |
d1f095dad4027689f11a2e234e71ed4ae4e29a62 | 1,316 | js | JavaScript | app/sagas/note.js | ricsam/stickynotespp | cc2c7fe9a36f80a8448ec14020361ee52b101190 | [
"MIT"
] | null | null | null | app/sagas/note.js | ricsam/stickynotespp | cc2c7fe9a36f80a8448ec14020361ee52b101190 | [
"MIT"
] | null | null | null | app/sagas/note.js | ricsam/stickynotespp | cc2c7fe9a36f80a8448ec14020361ee52b101190 | [
"MIT"
] | null | null | null | import { call, put, takeEvery, takeLatest } from 'redux-saga/effects'
import {ipcRenderer} from 'electron';
let channel_index = 0,
cb_list = {};
const addChannelListener = (id, cb) => {
cb_list[id] = (status) => {
cb(status);
delete cb_list[id]
}
};
ipcRenderer.on('NOTE_CONTENT_SAVED', (event, data) ... | 23.087719 | 78 | 0.683891 |
d1f0f07d819a96fc97b2c957d781c4d3da9ef873 | 697 | js | JavaScript | src/main/webapp/app/entities/diet/diet-delete-dialog.controller.js | tomkasp/fitapp | 85df019eaa0fc3f68b8e23f0f7378fafae37c10d | [
"Apache-2.0"
] | null | null | null | src/main/webapp/app/entities/diet/diet-delete-dialog.controller.js | tomkasp/fitapp | 85df019eaa0fc3f68b8e23f0f7378fafae37c10d | [
"Apache-2.0"
] | null | null | null | src/main/webapp/app/entities/diet/diet-delete-dialog.controller.js | tomkasp/fitapp | 85df019eaa0fc3f68b8e23f0f7378fafae37c10d | [
"Apache-2.0"
] | 1 | 2022-02-15T14:13:15.000Z | 2022-02-15T14:13:15.000Z | (function() {
'use strict';
angular
.module('fitappApp')
.controller('DietDeleteController',DietDeleteController);
DietDeleteController.$inject = ['$uibModalInstance', 'entity', 'Diet'];
function DietDeleteController($uibModalInstance, entity, Diet) {
var vm = this;
v... | 24.034483 | 75 | 0.527977 |
d1f23b14a15a1766e9b8843d27d72e28068f2d8d | 176 | js | JavaScript | tests/lib/utils.js | lukeapage/eslint-plugin-switch-case | 0f7a6984d93dcf3aeca0d210baf79a80da52c68c | [
"MIT"
] | 12 | 2016-07-17T17:51:36.000Z | 2021-11-27T15:42:36.000Z | tests/lib/utils.js | lukeapage/eslint-plugin-switch-case | 0f7a6984d93dcf3aeca0d210baf79a80da52c68c | [
"MIT"
] | 3 | 2016-07-19T06:52:14.000Z | 2022-03-19T11:13:16.000Z | tests/lib/utils.js | coderaiser/eslint-plugin-destructuring | 3e95bca51245f6c3f10d06048859537b53452448 | [
"MIT"
] | 6 | 2017-02-07T14:48:50.000Z | 2021-08-30T09:28:14.000Z | import defaults from 'lodash.defaults';
export function test(t) {
return defaults(t, {
parserOptions: {
sourceType: 'module',
ecmaVersion: 6,
},
});
}
| 16 | 39 | 0.607955 |
d1f261f45581b08b7adf7713b38181641aff3cc9 | 199 | js | JavaScript | engine/jscripts/tiny_mce/plugins/autosave/langs/nn.js | vicegirls/OpenSerene | ee6f126355b35470ee1ef05e177f7861e223037b | [
"Apache-2.0"
] | null | null | null | engine/jscripts/tiny_mce/plugins/autosave/langs/nn.js | vicegirls/OpenSerene | ee6f126355b35470ee1ef05e177f7861e223037b | [
"Apache-2.0"
] | 1 | 2015-12-01T09:15:03.000Z | 2015-12-01T09:15:03.000Z | engine/jscripts/tiny_mce/plugins/autosave/langs/nn.js | vicegirls/OpenSerene | ee6f126355b35470ee1ef05e177f7861e223037b | [
"Apache-2.0"
] | null | null | null | // nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen
tinyMCE.addToLang('',{
autosave_unload_msg : 'Forandringene du gjorde forsvinner om du velger å forlate denne siden.'
});
| 28.428571 | 101 | 0.723618 |
d1f29d0e0576bcd2ce5aad890064ecd87289c9a4 | 545 | js | JavaScript | app/components/Link.js | ianmetcalf/redux-saga-demo-app | bdbb0faa5df7c4c8b95e5d5d40bfd9b1c7d2f53c | [
"MIT"
] | null | null | null | app/components/Link.js | ianmetcalf/redux-saga-demo-app | bdbb0faa5df7c4c8b95e5d5d40bfd9b1c7d2f53c | [
"MIT"
] | null | null | null | app/components/Link.js | ianmetcalf/redux-saga-demo-app | bdbb0faa5df7c4c8b95e5d5d40bfd9b1c7d2f53c | [
"MIT"
] | null | null | null | import m from 'mithril';
import history from '../history';
const Link = {
view({attrs: {to = '', ...attrs}, children}) {
return (
<a
{...attrs}
href={history.createHref({pathname: to})}
onclick={e => {
const modified = e.metaKey || e.altKey || e.ctrlKey || e.shiftKey;
... | 20.961538 | 76 | 0.477064 |
d1f3aa7115b71796cb577b51f6004a6d34c55dd9 | 15,450 | js | JavaScript | js/app.js | JacobGregor/cookie-stand | 75fa53a6fc713dcc8e649d70eed0f8495e2c4967 | [
"MIT"
] | null | null | null | js/app.js | JacobGregor/cookie-stand | 75fa53a6fc713dcc8e649d70eed0f8495e2c4967 | [
"MIT"
] | null | null | null | js/app.js | JacobGregor/cookie-stand | 75fa53a6fc713dcc8e649d70eed0f8495e2c4967 | [
"MIT"
] | null | null | null | 'use strict'
const cityDiv = document.getElementById('city');
const hoursOfOperation = [' 6:00am ', ' 7:00am ', ' 8:00am ', ' 9:00am ', ' 10:00am ', ' 11:00am ', ' 12:00pm ', ' 1:00pm ', ' 2:00pm ', ' 3:00pm ', ' 4:00pm ', ' 5:00pm ', ' 6:00pm ', ' 7:00pm ']
/////// Restaurant Location Constructor //////////
function ... | 32.254697 | 658 | 0.640129 |
d1f40e90ef71547042f7423e358627012b110f9c | 1,157 | js | JavaScript | app/javascript/helpers/api_routes.js | calblueprint/HomePointrCIC | b8d2cc6ac4fe66a1b4fdc272d93ccf4f73034369 | [
"MIT"
] | 3 | 2018-09-22T01:04:20.000Z | 2019-04-06T17:16:50.000Z | app/javascript/helpers/api_routes.js | calblueprint/HomePointrCIC | b8d2cc6ac4fe66a1b4fdc272d93ccf4f73034369 | [
"MIT"
] | 172 | 2018-09-27T23:51:05.000Z | 2022-02-26T09:58:18.000Z | app/javascript/helpers/api_routes.js | calblueprint/HomePointrCIC | b8d2cc6ac4fe66a1b4fdc272d93ccf4f73034369 | [
"MIT"
] | 3 | 2019-06-01T08:11:59.000Z | 2019-06-03T15:17:48.000Z | class ApiRoutes {
get properties() {
return {
create: '/api/properties',
update: (id) => '/api/properties/' + id,
delete: (id) => '/api/properties/' + id,
delete_image: (image_id) => '/api/properties/delete_image_attachment/' + image_id,
categories: `/properties/categories`,
}
... | 20.660714 | 88 | 0.527226 |
d1f490867c2b26285395e21fa4b053a09074fd4b | 330 | js | JavaScript | js/axios/src/index.js | tanlinhua/WebTestDemo | 9a67e0978601939b46977c1a619afe6c79231f53 | [
"Apache-2.0"
] | null | null | null | js/axios/src/index.js | tanlinhua/WebTestDemo | 9a67e0978601939b46977c1a619afe6c79231f53 | [
"Apache-2.0"
] | null | null | null | js/axios/src/index.js | tanlinhua/WebTestDemo | 9a67e0978601939b46977c1a619afe6c79231f53 | [
"Apache-2.0"
] | null | null | null | import axios from "axios";
axios.get("http://localhost/get.php?a=1&b=2").then((result) => {
console.log('get', result.data);
}).catch((err) => {
console.log(err);
});
axios.post('http://localhost/post.php', "a=1&b=2").then((result) => {
console.log('post', result.data);
}).catch((err) => {
console.log... | 25.384615 | 69 | 0.584848 |
d1f6878ad892d5c065bcf53104594eec26700b04 | 4,361 | js | JavaScript | lib/profiler.js | Slayer95/osu-accuracy | b72ceb95dccc45360004adb2e0d3f9f6548123b0 | [
"MIT"
] | null | null | null | lib/profiler.js | Slayer95/osu-accuracy | b72ceb95dccc45360004adb2e0d3f9f6548123b0 | [
"MIT"
] | null | null | null | lib/profiler.js | Slayer95/osu-accuracy | b72ceb95dccc45360004adb2e0d3f9f6548123b0 | [
"MIT"
] | null | null | null | "use strict";
const util = require('./util');
function sumdt(dt1, dt2) {
return [dt1[0] + dt2[0], dt1[1] + dt2[1]];
}
function getdt(t1, t2) {
return [t2[0] - t1[0], t2[1] - t1[1]];
}
const LIMITED_EVENTS = new Map([
['osu_network_rtt', 4],
]);
class ActionLog {
constructor() {
this.counters = new Map();
t... | 27.25625 | 122 | 0.620041 |
d1f716414a4b6fe99b9e689288e7ecef9af3e765 | 189 | js | JavaScript | src/js/teamModule/controllers/teamCtrl.js | lostdalek/angular-lazyload-boilerplate | 9258e27edbdc76d7ace0f495010fc6df9e444d60 | [
"MIT"
] | 1 | 2015-09-07T18:41:47.000Z | 2015-09-07T18:41:47.000Z | src/js/teamModule/controllers/teamCtrl.js | lostdalek/angular-lazyload-boilerplate | 9258e27edbdc76d7ace0f495010fc6df9e444d60 | [
"MIT"
] | null | null | null | src/js/teamModule/controllers/teamCtrl.js | lostdalek/angular-lazyload-boilerplate | 9258e27edbdc76d7ace0f495010fc6df9e444d60 | [
"MIT"
] | null | null | null | 'use strict';
angular.module('teamModule')
.controller('TeamCtrl', ['$scope', '$state', 'TeamRepository', function ($scope, $state, TeamRepository) {
// abstract route
}]);
| 31.5 | 110 | 0.62963 |
d1f85bac07af77e61fa97e41c580ac201892c6d8 | 277 | js | JavaScript | src/features/imagePick/imagePickReducer.js | bunkerchat/bunker | d646aadb8ab97659ee5f28a520c05fe32de7a807 | [
"MIT"
] | 12 | 2015-04-12T19:02:02.000Z | 2021-01-29T03:57:37.000Z | src/features/imagePick/imagePickReducer.js | bunkerchat/bunker | d646aadb8ab97659ee5f28a520c05fe32de7a807 | [
"MIT"
] | 47 | 2015-04-23T12:51:51.000Z | 2022-02-18T16:27:47.000Z | src/features/imagePick/imagePickReducer.js | bunkerchat/bunker | d646aadb8ab97659ee5f28a520c05fe32de7a807 | [
"MIT"
] | 13 | 2015-05-19T17:00:40.000Z | 2018-12-20T19:43:13.000Z | const handlers = {
"images/received": (state, action) => ({
message: action.message,
images: action.images
}),
"images/close": () => null
};
export default function(state = null, action) {
return handlers[action.type] ? handlers[action.type](state, action) : state;
}
| 23.083333 | 77 | 0.66787 |
d1f886faa1b7510d1d2d75eee9bafbb54928e82e | 1,472 | js | JavaScript | examples/index.js | iwaimai-bi-fe/vc-button | 5ae69fc7b50c90384ef972856b19962bf8353aff | [
"MIT"
] | 2 | 2016-09-02T03:01:34.000Z | 2016-09-06T09:54:52.000Z | examples/index.js | iwaimai-bi-fe/vc-button | 5ae69fc7b50c90384ef972856b19962bf8353aff | [
"MIT"
] | null | null | null | examples/index.js | iwaimai-bi-fe/vc-button | 5ae69fc7b50c90384ef972856b19962bf8353aff | [
"MIT"
] | null | null | null | import Vue from 'vue'
import vcButton from '../src'
new Vue({
el: '#app',
data () {
return {
bools: {
'true': true,
'false': false
},
iconStr: 'remove', // demo only
label: 'use label, no slot',
type: "warning",
... | 21.647059 | 43 | 0.36481 |
d1f92ff85b14cb632957afac6865e813b358c0af | 2,491 | js | JavaScript | public/backend/library/attribute.js | githtvietnam/laravel | 229724cdef9596a776e300abfdea9ba738427fd6 | [
"MIT"
] | null | null | null | public/backend/library/attribute.js | githtvietnam/laravel | 229724cdef9596a776e300abfdea9ba738427fd6 | [
"MIT"
] | 3 | 2021-03-09T19:15:28.000Z | 2022-02-26T18:27:33.000Z | public/backend/library/attribute.js | githtvietnam/laravel | 229724cdef9596a776e300abfdea9ba738427fd6 | [
"MIT"
] | null | null | null | $(document).ready(function(){
//===================album ảnh===================
if($('.colorpicker-element').length){
console.log(1);
$('.demo1').colorpicker();
var divStyle = $('#demo_apidemo')[0].style;
$('.demo1').colorpicker({
color: divStyle.backgroundColor
}).on('changeColor', function(ev) {
... | 23.280374 | 100 | 0.588519 |
d1f937f56696becb903d7fce1b8109fc4697858b | 1,941 | js | JavaScript | assets/js/app.js | axelclark/ex338 | 3fb3c260d93bda61f7636ee1a677770d2dc1b89a | [
"MIT"
] | 17 | 2016-12-22T06:39:26.000Z | 2021-01-20T13:51:13.000Z | assets/js/app.js | axelclark/ex338 | 3fb3c260d93bda61f7636ee1a677770d2dc1b89a | [
"MIT"
] | 608 | 2016-08-06T18:57:58.000Z | 2022-03-01T02:48:17.000Z | assets/js/app.js | axelclark/ex338 | 3fb3c260d93bda61f7636ee1a677770d2dc1b89a | [
"MIT"
] | 6 | 2017-11-21T22:35:45.000Z | 2022-01-11T21:37:40.000Z | // We need to import the CSS so that webpack will load it.
// The MiniCssExtractPlugin is used to separate it out into
// its own CSS file.
import css from "../css/app.css"
// webpack automatically bundles all modules in your
// entry points. Those entry points can be configured
// in "webpack.config.js".
//
// Import... | 29.409091 | 81 | 0.745492 |
d1f97329cb5f666cea2524e0529b14e5e927311e | 925 | js | JavaScript | index.js | fess932/childrenAttendance | fa2295fe01ec66d5ec020f195d2127e92e5157d1 | [
"MIT"
] | null | null | null | index.js | fess932/childrenAttendance | fa2295fe01ec66d5ec020f195d2127e92e5157d1 | [
"MIT"
] | null | null | null | index.js | fess932/childrenAttendance | fa2295fe01ec66d5ec020f195d2127e92e5157d1 | [
"MIT"
] | null | null | null | const children = require('./children.js')
const days = require('./days.js')
const path = require('path')
const express = require('express')
const app = express()
// Parse URL-encoded bodies (as sent by HTML forms)
app.use(express.urlencoded({ extended: true }))
app.set('view engine', 'ejs')
app.set('views', path.joi... | 26.428571 | 71 | 0.688649 |
d1fa9aa2f9936c5fe4007be8ef445f57efe90160 | 45 | js | JavaScript | target/doc/libc/types/os/common/bsd43/sidebar-items.js | pegasos1/numbers | 8d7d054d353ac63b2bd003252ef10b4b68a95651 | [
"MIT"
] | 1 | 2019-04-07T18:51:19.000Z | 2019-04-07T18:51:19.000Z | target/doc/libc/types/os/common/bsd43/sidebar-items.js | pegasos1/numbers | 8d7d054d353ac63b2bd003252ef10b4b68a95651 | [
"MIT"
] | null | null | null | target/doc/libc/types/os/common/bsd43/sidebar-items.js | pegasos1/numbers | 8d7d054d353ac63b2bd003252ef10b4b68a95651 | [
"MIT"
] | null | null | null | initSidebarItems({"struct":[["rusage",""]]}); | 45 | 45 | 0.622222 |
d1fb1a49688eac893eb44268b2a541961e1f4be9 | 1,077 | js | JavaScript | src/common/ButtonBox.js | littlematch0123/react-admin | 2b80726449e7339ffe2ebebae40435b00fe72680 | [
"MIT"
] | 80 | 2018-06-04T02:36:03.000Z | 2022-02-06T02:46:49.000Z | src/common/ButtonBox.js | wyp0712/blog-admin | 2b80726449e7339ffe2ebebae40435b00fe72680 | [
"MIT"
] | 1 | 2021-08-05T16:14:08.000Z | 2021-08-05T16:14:08.000Z | src/common/ButtonBox.js | wyp0712/blog-admin | 2b80726449e7339ffe2ebebae40435b00fe72680 | [
"MIT"
] | 32 | 2018-06-26T07:57:16.000Z | 2021-06-10T04:53:17.000Z | import React from 'react'
import PropTypes from 'prop-types'
import styled from 'styled-components'
import history from '@/utils/history'
import BaseButton from './BaseButton'
import ButtonInverted from './ButtonInverted'
const ButtonBox = ({ className, textForConfirm, textForCancle, onConfirmClick, cancelColor, ...re... | 26.268293 | 118 | 0.717734 |
d1fb453227f0d957876545ee4eb4f9e27c1050aa | 1,276 | js | JavaScript | src/js/components/TeaStats.js | EricVignola/tea-timer | 1ef8852bf17f1b569ce96a46d683e556180daff7 | [
"MIT"
] | null | null | null | src/js/components/TeaStats.js | EricVignola/tea-timer | 1ef8852bf17f1b569ce96a46d683e556180daff7 | [
"MIT"
] | 2 | 2017-12-19T04:26:39.000Z | 2017-12-19T04:46:32.000Z | src/js/components/TeaStats.js | EricVignola/tea-timer | 1ef8852bf17f1b569ce96a46d683e556180daff7 | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDom from 'react-dom';
class TeaStats extends React.Component {
constructor(props){
super(props);
}
render(){
console.log(this.props.showGongFu);
if(this.props.showGongFu){
return(
<div>
... | 37.529412 | 151 | 0.464734 |
d1fed7161723d92c2853b13f7b06372b3b81acb3 | 1,665 | js | JavaScript | public/template-assets/js/pages/form-masks.js | shahzad001/talent | 7e96bc607c055b1ae8fbcfed23dad4874013fb1c | [
"MIT"
] | null | null | null | public/template-assets/js/pages/form-masks.js | shahzad001/talent | 7e96bc607c055b1ae8fbcfed23dad4874013fb1c | [
"MIT"
] | null | null | null | public/template-assets/js/pages/form-masks.js | shahzad001/talent | 7e96bc607c055b1ae8fbcfed23dad4874013fb1c | [
"MIT"
] | null | null | null | /*
File : form-masks.js
Associated file : form-masks.html
Plugin dependency : plugins/formatter.js/jquery.formatter.min.js
*/
/* =========== Date & Time ================= */
$('#date-input').formatter({
'pattern': '{{9999}}-{{99}}-{{99}}'
});
$('#date-input1').formatter({
'pattern': '{{99}}/{{99}}/{{9999}}'
});
... | 26.854839 | 64 | 0.390991 |
d1ff0858d59a2b82a10a192db4dc0e9cc1899bb6 | 1,924 | js | JavaScript | lib/serializer/json.js | rd-uk/rduk-cache | 1fdf54e8c9eb450fe36c16013910b0141bd37142 | [
"MIT"
] | null | null | null | lib/serializer/json.js | rd-uk/rduk-cache | 1fdf54e8c9eb450fe36c16013910b0141bd37142 | [
"MIT"
] | null | null | null | lib/serializer/json.js | rd-uk/rduk-cache | 1fdf54e8c9eb450fe36c16013910b0141bd37142 | [
"MIT"
] | null | null | null | /**
* MIT License
*
* Copyright (c) 2017 Kim Ung <k.ung@rduk.fr>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | 36.301887 | 100 | 0.730249 |
0600f3a92e2b8a78388088b547c168d297eceb50 | 1,691 | js | JavaScript | src/App.js | conglt10/phonefarm-web | 311182a14e92ed00778b7dfab93de916c47f3509 | [
"MIT"
] | 2 | 2020-11-12T07:33:54.000Z | 2022-03-08T19:42:41.000Z | src/App.js | conglt10/phonefarm-web | 311182a14e92ed00778b7dfab93de916c47f3509 | [
"MIT"
] | null | null | null | src/App.js | conglt10/phonefarm-web | 311182a14e92ed00778b7dfab93de916c47f3509 | [
"MIT"
] | 8 | 2020-10-26T04:24:47.000Z | 2021-03-06T07:07:08.000Z | import React from 'react';
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
import { PageTransition } from '@steveeeie/react-page-transition';
import './App.css';
import PhoneLayout from './Layouts/PhoneLayout';
import LandingPage from './pages/LandingPage';
import Home from './pages/Home';
i... | 34.510204 | 83 | 0.558841 |
060142610f5adc33bfd1a8a33c84a8e3b4e89c8f | 635 | js | JavaScript | src/Book.js | timothymcgrath/bookreview | f9674eb7edd27d04206f4ec9865c4e0fc01bcc8a | [
"MIT"
] | null | null | null | src/Book.js | timothymcgrath/bookreview | f9674eb7edd27d04206f4ec9865c4e0fc01bcc8a | [
"MIT"
] | null | null | null | src/Book.js | timothymcgrath/bookreview | f9674eb7edd27d04206f4ec9865c4e0fc01bcc8a | [
"MIT"
] | null | null | null | import './Book.css';
import React, { Component } from 'react';
class Book extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="book">
<div className="bookTitle">{this.props.book.title}</div>
<div className="bookAuthor">{this.props.book.aut... | 23.518519 | 79 | 0.60315 |
0601cec5b0e85ae341e58eebcf1bdd25c235fa1a | 940 | js | JavaScript | search/files_0.js | open-power-sdk/pveclib.github.io | b414886e2e6cabe765eefd94503e4ebe29683669 | [
"Apache-2.0"
] | null | null | null | search/files_0.js | open-power-sdk/pveclib.github.io | b414886e2e6cabe765eefd94503e4ebe29683669 | [
"Apache-2.0"
] | 1 | 2020-07-18T00:09:33.000Z | 2020-07-18T00:09:33.000Z | search/files_0.js | open-power-sdk/pveclib.github.io | b414886e2e6cabe765eefd94503e4ebe29683669 | [
"Apache-2.0"
] | null | null | null | var searchData=
[
['vec_5fbcd_5fppc_2eh',['vec_bcd_ppc.h',['../vec__bcd__ppc_8h.html',1,'']]],
['vec_5fchar_5fppc_2eh',['vec_char_ppc.h',['../vec__char__ppc_8h.html',1,'']]],
['vec_5fcommon_5fppc_2eh',['vec_common_ppc.h',['../vec__common__ppc_8h.html',1,'']]],
['vec_5ff128_5fppc_2eh',['vec_f128_ppc.h',['../vec_... | 62.666667 | 87 | 0.676596 |
06028d504b326f541ec362ac7bc05f1bd297a965 | 522 | js | JavaScript | test/testRedisConn.js | RajithaKumara/Best-Fit-Job-Server | 35d6c8199c85b7a1401748cb8eab12030f026f62 | [
"MIT"
] | 4 | 2020-07-29T17:42:17.000Z | 2021-12-14T12:44:17.000Z | test/testRedisConn.js | RajithaKumara/Best-Fit-Job-Server | 35d6c8199c85b7a1401748cb8eab12030f026f62 | [
"MIT"
] | 3 | 2019-06-03T17:25:59.000Z | 2019-07-13T17:59:52.000Z | test/testRedisConn.js | RajithaKumara/Best-Fit-Job-Server | 35d6c8199c85b7a1401748cb8eab12030f026f62 | [
"MIT"
] | null | null | null | const redis = require('redis');
const { redisDbLocalURI } = require('./testData');
class RedisConn {
constructor() {
}
getConnection() {
this.client = redis.createClient(redisDbLocalURI || process.env.REDIS_TEST_URL);
this.client.on("error", function (err) {
console.log("Redis_Error: ", err);
... | 18 | 84 | 0.611111 |
060302fc7edb045cd8bb72ab6a9ea2415fc7bdd3 | 328 | js | JavaScript | models/listItem.js | BingKui/wechat_splider | 17a63d7039e80eadc25d9fb5e1d496136f568e85 | [
"MIT"
] | null | null | null | models/listItem.js | BingKui/wechat_splider | 17a63d7039e80eadc25d9fb5e1d496136f568e85 | [
"MIT"
] | null | null | null | models/listItem.js | BingKui/wechat_splider | 17a63d7039e80eadc25d9fb5e1d496136f568e85 | [
"MIT"
] | null | null | null | let mongolass = require('../common/mongo');
let ListItem = mongolass.model('listItem', {
name: {
type: 'string'
},
account: {
type: 'string'
},
desc: {
type: 'string'
},
date: {
type: 'string'
},
url: {
type: 'string'
}
});
ListItem.index({
name: 1
}, {
unique: true
}).exec();
module.exports = L... | 12.615385 | 44 | 0.573171 |
0603f3fe4bf6f8e33e982eb7c15f1cb01e2a247d | 2,651 | js | JavaScript | lib/datatypes.js | NeoXiD/modelize | e50884c2e887330d2e83078c49c14a53a3b70819 | [
"Apache-2.0"
] | 1 | 2015-11-05T15:38:17.000Z | 2015-11-05T15:38:17.000Z | lib/datatypes.js | NeoXiD/modelize | e50884c2e887330d2e83078c49c14a53a3b70819 | [
"Apache-2.0"
] | null | null | null | lib/datatypes.js | NeoXiD/modelize | e50884c2e887330d2e83078c49c14a53a3b70819 | [
"Apache-2.0"
] | null | null | null | var DataTypes = (function() {
/**
* A basic data type
* @interface
* @private
*/
function DataType() {}
DataType.prototype = {
/**
* Name of the data type
* @type {String}
*/
name: 'undefined',
/**
* Checks if the data is valid... | 24.1 | 62 | 0.53791 |
0604940899d1b1d19803ac17d17002b765d626d2 | 780 | js | JavaScript | app/assets/javascripts/table_for.js | PauSentis/ct_table_for | 7a0d493fc675e1d1a01b8030d3cf5f549957092a | [
"MIT"
] | 2 | 2017-05-04T06:49:38.000Z | 2019-11-15T21:55:34.000Z | app/assets/javascripts/table_for.js | PauSentis/ct_table_for | 7a0d493fc675e1d1a01b8030d3cf5f549957092a | [
"MIT"
] | 16 | 2017-09-29T11:50:12.000Z | 2021-02-19T16:12:29.000Z | app/assets/javascripts/table_for.js | PauSentis/ct_table_for | 7a0d493fc675e1d1a01b8030d3cf5f549957092a | [
"MIT"
] | 7 | 2017-05-04T07:59:51.000Z | 2019-08-26T12:54:57.000Z | // Clickable table rows.
// Set the class 'table-clickable' in table and
// in tr set 'data-link' and (optional) 'data-target'
// in td set 'data-link-enabled' to false for disable in specicif cells
$('table.table-clickable').each(function(index, table){
$(table).find('tbody tr').each(function(index, trow){
$(tro... | 39 | 77 | 0.615385 |
0604ce4ee1ef125a3b54085b65895fabc3aa1a58 | 400 | js | JavaScript | controller/BaseController.js | lukasrochaaraujo/base-web-js-core | c94c46872e279ff803af1c990df2e7052275df70 | [
"MIT"
] | null | null | null | controller/BaseController.js | lukasrochaaraujo/base-web-js-core | c94c46872e279ff803af1c990df2e7052275df70 | [
"MIT"
] | null | null | null | controller/BaseController.js | lukasrochaaraujo/base-web-js-core | c94c46872e279ff803af1c990df2e7052275df70 | [
"MIT"
] | null | null | null | class BaseController {
/**
* BaseController
* @param {Object} view - instância de uma classe View
* @param {Object} service - instância de uma classe Service
*/
constructor(serviceInstance, viewInstance) {
this._service = serviceInstance;
this._view = viewInstance;
}
... | 21.052632 | 65 | 0.5925 |
0605510130432dd04f5e46468ff288e41a633c21 | 491 | js | JavaScript | komutlar/function.js | ahmetysl/zerotwo | 084b74592c7b6bab348f30712823ddb4a4a781c1 | [
"Apache-2.0"
] | null | null | null | komutlar/function.js | ahmetysl/zerotwo | 084b74592c7b6bab348f30712823ddb4a4a781c1 | [
"Apache-2.0"
] | null | null | null | komutlar/function.js | ahmetysl/zerotwo | 084b74592c7b6bab348f30712823ddb4a4a781c1 | [
"Apache-2.0"
] | null | null | null | module.exports = ({
name: "function",
code: ` $title[$jsonRequest[https://dbdjs.leref.ga/functions/$message;name]] $description[ **Kullanım:** $jsonRequest[https://dbdjs.leref.ga/functions/$message;usage]
**Açıklama:** $jsonRequest[https://dbdjs.leref.ga/functions/$message;description]]
$color[WHİTE]
$onlyif[... | 35.071429 | 170 | 0.731161 |
06055a12d92c40c05d48c4969793b82bc1650264 | 1,213 | js | JavaScript | windi.config.js | dieUrbans/uniform | ce6c7f3dbca22738f1d5dcec4d1019e809483748 | [
"MIT"
] | 4 | 2022-02-17T14:19:39.000Z | 2022-03-22T14:32:04.000Z | windi.config.js | dieUrbans/uniform | ce6c7f3dbca22738f1d5dcec4d1019e809483748 | [
"MIT"
] | 14 | 2022-03-15T14:38:40.000Z | 2022-03-24T08:44:57.000Z | windi.config.js | dieUrbans/uniform | ce6c7f3dbca22738f1d5dcec4d1019e809483748 | [
"MIT"
] | null | null | null | module.exports = {
shortcuts: {
'border-radius': 'rounded-2xl',
'error': 'bg-white border-red-600 text-red-600 hover:shadow-red-300 hover:border-red-700 transition-all duration-200',
'error-fill': 'bg-red-600 text-light-200 hover:bg-red-700',
'success': 'bg-white border-green-500 tex... | 67.388889 | 154 | 0.685078 |
06058b566778cdec3f095450785d7830bd8a3ac4 | 74 | js | JavaScript | packages/babel-parser/test/fixtures/estree/class-method/typescript/input.js | wuweiweiwu/babel | 296d8ce179cac84f981933efcd892ec0c6e2a93b | [
"MIT"
] | 42,609 | 2015-02-15T11:13:42.000Z | 2022-03-31T23:15:22.000Z | packages/babel-parser/test/fixtures/estree/class-method/typescript/input.js | wuweiweiwu/babel | 296d8ce179cac84f981933efcd892ec0c6e2a93b | [
"MIT"
] | 12,279 | 2015-02-15T11:12:05.000Z | 2022-03-31T20:55:01.000Z | packages/babel-parser/test/fixtures/estree/class-method/typescript/input.js | wuweiweiwu/babel | 296d8ce179cac84f981933efcd892ec0c6e2a93b | [
"MIT"
] | 7,321 | 2015-02-15T15:45:23.000Z | 2022-03-31T20:04:22.000Z | abstract class TSAbstractClass {
abstract foo(name: string): boolean;
}
| 18.5 | 38 | 0.756757 |
0605bda08a60b3e2b86a277a6fbb640357ee0ef1 | 2,067 | js | JavaScript | client/js/controllers/questionsModal-controller.js | Tumne/apartmate | 75de7f4134cf13de80a5bfe2604d23fdd3746a9e | [
"MIT"
] | null | null | null | client/js/controllers/questionsModal-controller.js | Tumne/apartmate | 75de7f4134cf13de80a5bfe2604d23fdd3746a9e | [
"MIT"
] | null | null | null | client/js/controllers/questionsModal-controller.js | Tumne/apartmate | 75de7f4134cf13de80a5bfe2604d23fdd3746a9e | [
"MIT"
] | null | null | null | angular.module('angular-client-side-auth')
.controller('QuestionsModalCtrl',
['$rootScope', '$scope', '$location', '$window', '$modalInstance', 'questions', 'Auth', 'QuestionsListing', function($rootScope, $scope, $location, $window, $modalInstance, questions, Auth, QuestionsListing) {
$scope.questions = questions;
... | 22.225806 | 209 | 0.585389 |
06065f08a4b7ace4d8490a50b08e889e0f6bb5f6 | 1,434 | js | JavaScript | CORS/server/index.js | pfortuna/appsec-training | 7f5cc49344480259a0c0770e74f257a3b6dcb2de | [
"MIT"
] | null | null | null | CORS/server/index.js | pfortuna/appsec-training | 7f5cc49344480259a0c0770e74f257a3b6dcb2de | [
"MIT"
] | null | null | null | CORS/server/index.js | pfortuna/appsec-training | 7f5cc49344480259a0c0770e74f257a3b6dcb2de | [
"MIT"
] | null | null | null | var express = require('express');
var cors = require('cors');
var bodyParser = require('body-parser');
var app = express();
var allowedOrigins = ['http://foo.com',
'http://not-example.org'];
app.options('/delete/:id', function(req, res, next) {
console.log("options request!");
next();
});
a... | 27.576923 | 71 | 0.633891 |
0606c37733b8124f68adc67401d9dbd4c740e94c | 1,539 | js | JavaScript | build/parser/SyntaxRuleSet.js | FabianLauer/tsxml | 8430adffb7994a9b94ea4452a27814d8d8ebf8c3 | [
"MIT"
] | 4 | 2017-08-28T16:32:00.000Z | 2021-06-14T00:34:13.000Z | build/parser/SyntaxRuleSet.js | FabianLauer/tsxml | 8430adffb7994a9b94ea4452a27814d8d8ebf8c3 | [
"MIT"
] | 18 | 2016-05-05T13:28:50.000Z | 2020-08-11T14:09:56.000Z | build/parser/SyntaxRuleSet.js | FabianLauer/tsxml | 8430adffb7994a9b94ea4452a27814d8d8ebf8c3 | [
"MIT"
] | 5 | 2016-12-22T05:42:20.000Z | 2021-08-03T09:28:46.000Z | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var SyntaxRuleSet = /** @class */ (function () {
function SyntaxRuleSet() {
this.tagSyntaxRules = [];
}
/**
* Creates an instance of the syntax rule set class this static method is called on.
*/
SyntaxRuleSet.... | 32.744681 | 122 | 0.615335 |
060708491ad6174921f7fcf30cf96363072022db | 1,765 | js | JavaScript | lib/partition.js | jhermsmeier/node-ramdisk | 18c640571c0137b91bb6bdf1e2f370ba036f39fa | [
"MIT"
] | 3 | 2015-04-23T23:03:38.000Z | 2022-03-31T07:59:56.000Z | lib/partition.js | jhermsmeier/node-ramdisk | 18c640571c0137b91bb6bdf1e2f370ba036f39fa | [
"MIT"
] | null | null | null | lib/partition.js | jhermsmeier/node-ramdisk | 18c640571c0137b91bb6bdf1e2f370ba036f39fa | [
"MIT"
] | 1 | 2015-11-07T09:33:11.000Z | 2015-11-07T09:33:11.000Z | /**
* Partition Constructor
* @param {Object} options
* @property {Number} firstLBA
* @property {Number} lastLBA
* @return {Partition}
*/
function Partition( device, options ) {
if( !(this instanceof Partition) )
return new Partition( device, options )
this.device = device
this.firstLBA = o... | 20.056818 | 56 | 0.573371 |
0608b28d2b15f7bba46dacf83c16bceb4e7d271c | 1,153 | js | JavaScript | app/components/header/header.js | namnhtc/web-app | 4e4a3f48c6d9379cf5a213c4ee09cb5ac0151b0b | [
"MIT"
] | null | null | null | app/components/header/header.js | namnhtc/web-app | 4e4a3f48c6d9379cf5a213c4ee09cb5ac0151b0b | [
"MIT"
] | null | null | null | app/components/header/header.js | namnhtc/web-app | 4e4a3f48c6d9379cf5a213c4ee09cb5ac0151b0b | [
"MIT"
] | null | null | null | (function(angular) {
'use strict';
function HeaderCtrl($scope, $rootScope, $location, AuthService, $modal) {
$scope.$on('$routeChangeSuccess', function() {
$scope.path = $location.path();
});
$scope.logout = function() {
AuthService.logout();
};
$scope.menus = [{
'title': ... | 27.452381 | 127 | 0.584562 |
0608f61a64f2c7b4e94db3ba10cbdcfd5d7966e1 | 1,769 | js | JavaScript | node_modules/plivo/dist/utils/restException.js | plivo/actions-call | 05b41a249ca3a10359da9efda191193079f26a73 | [
"MIT"
] | 10 | 2021-05-25T12:17:26.000Z | 2021-12-17T12:17:45.000Z | node_modules/plivo/dist/utils/restException.js | plivo/actions-call | 05b41a249ca3a10359da9efda191193079f26a73 | [
"MIT"
] | 1 | 2021-05-24T13:59:29.000Z | 2021-05-24T13:59:29.000Z | node_modules/plivo/dist/utils/restException.js | plivo/actions-sms | 653e8158d5330321a08a5399fc928f35dd31f632 | [
"MIT"
] | null | null | null | 'use strict';
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); ... | 49.138889 | 494 | 0.710006 |
060a63178111f380aaffe5846e3d719cca08b4f5 | 14,020 | js | JavaScript | 12-Binary-Search-Tree/03-BST-Iterative.js | aditya43/data-structures-algorithms | 211f60f43ea6f50fa9ce2e335fa2e2bfedbe6228 | [
"MIT"
] | null | null | null | 12-Binary-Search-Tree/03-BST-Iterative.js | aditya43/data-structures-algorithms | 211f60f43ea6f50fa9ce2e335fa2e2bfedbe6228 | [
"MIT"
] | null | null | null | 12-Binary-Search-Tree/03-BST-Iterative.js | aditya43/data-structures-algorithms | 211f60f43ea6f50fa9ce2e335fa2e2bfedbe6228 | [
"MIT"
] | null | null | null | // Binary Search Tree - iterative version
// Write a function on the BinarySearchTree class
// insert
// This function should accept a value and insert it into the BST in the correct
// position. It should return the binary search tree.
// find
// This function should find a node in a binary tree. It should return t... | 27.984032 | 102 | 0.577817 |
060ac3da91baf8aa9eaaa02849de495d02ec34b5 | 781 | js | JavaScript | fns/getAppInfo.js | robinfehr/cf-adapter | 70aa01b0a694323b747db6103801dda12e699d99 | [
"Apache-2.0"
] | 5 | 2016-04-29T16:22:45.000Z | 2020-05-20T07:36:18.000Z | fns/getAppInfo.js | robinfehr/cf-adapter | 70aa01b0a694323b747db6103801dda12e699d99 | [
"Apache-2.0"
] | 3 | 2016-09-13T14:05:13.000Z | 2020-07-15T19:45:24.000Z | fns/getAppInfo.js | robinfehr/cf-adapter | 70aa01b0a694323b747db6103801dda12e699d99 | [
"Apache-2.0"
] | 4 | 2019-04-29T12:00:55.000Z | 2020-10-13T11:17:12.000Z | module.exports = (api) => {
return (options, callback) => {
options = options || {};
if (!options.name) {
return callback(new Error('Please provide a name! \n' + JSON.stringify(options, null, 2)));
}
if (!api.spaceGuid) {
return callback(new Error('Please provide a space! \n' + JSON.stri... | 24.40625 | 98 | 0.535211 |
060af272c7246fb25dbc9a42fb8a65c792a07621 | 360 | js | JavaScript | src/fn-retry-with-fibonacci/get-fibonacci-sequence.js | vadimkorr/fn-retry | 89449f762247cf06facbdf1fe4371c1da044d6c1 | [
"MIT"
] | 7 | 2020-07-24T22:29:14.000Z | 2022-02-15T11:14:04.000Z | src/fn-retry-with-fibonacci/get-fibonacci-sequence.js | vadimkorr/fn-retry | 89449f762247cf06facbdf1fe4371c1da044d6c1 | [
"MIT"
] | null | null | null | src/fn-retry-with-fibonacci/get-fibonacci-sequence.js | vadimkorr/fn-retry | 89449f762247cf06facbdf1fe4371c1da044d6c1 | [
"MIT"
] | null | null | null | export const getFibonacciSequence = len => {
const sequenceFn = {
0: () => [],
1: () => [1],
2: () => [1, 1],
rest: len => {
const sequence = [1, 1]
for (let i = 2; i < len; i++) {
sequence[i] = sequence[i - 1] + sequence[i - 2]
}
return sequence
},
}
return seq... | 22.5 | 55 | 0.452778 |
060bd7c91292cb61dd67c5d7edc6fe999e36fb2f | 509 | js | JavaScript | cyberweb/public/Cyberweb_Documentation/html/search/functions_6e.js | sumukh210991/Cyberweb | 297bd54c9e223d38818b802087055e397c403f1c | [
"Apache-2.0"
] | null | null | null | cyberweb/public/Cyberweb_Documentation/html/search/functions_6e.js | sumukh210991/Cyberweb | 297bd54c9e223d38818b802087055e397c403f1c | [
"Apache-2.0"
] | null | null | null | cyberweb/public/Cyberweb_Documentation/html/search/functions_6e.js | sumukh210991/Cyberweb | 297bd54c9e223d38818b802087055e397c403f1c | [
"Apache-2.0"
] | null | null | null | var searchData=
[
['name',['name',['../classcyberweb_1_1lib_1_1basejob_1_1_base_job.html#ab7cf13a8852ec43970e2c6f616845872',1,'cyberweb::lib::basejob::BaseJob.name()'],['../classcyberweb_1_1lib_1_1jodis_1_1base_1_1_jodis_job.html#ab3522fd5cc5ea768a71ea4ff96644c0e',1,'cyberweb::lib::jodis::base::JodisJob.name()']]],
... | 84.833333 | 300 | 0.801572 |
060cd6fe587f20db46fb3e5c8792348639f39dee | 5,928 | js | JavaScript | front-end/src/app/routes/promotion/components/PromotionFilter.js | simejisan/osip-web-app | 525afdd0a5ea62a5d0b04086dff44843ff5952d8 | [
"MIT"
] | null | null | null | front-end/src/app/routes/promotion/components/PromotionFilter.js | simejisan/osip-web-app | 525afdd0a5ea62a5d0b04086dff44843ff5952d8 | [
"MIT"
] | null | null | null | front-end/src/app/routes/promotion/components/PromotionFilter.js | simejisan/osip-web-app | 525afdd0a5ea62a5d0b04086dff44843ff5952d8 | [
"MIT"
] | 2 | 2021-01-01T08:25:12.000Z | 2021-07-19T05:06:27.000Z | import React from 'react';
import InputLabel from "@material-ui/core/InputLabel";
import Select from "@material-ui/core/Select";
import Input from "@material-ui/core/Input";
import MenuItem from "@material-ui/core/MenuItem";
import FormControl from "@material-ui/core/FormControl";
import {PROMOTION_PROVINCES, PROMOTION... | 43.911111 | 111 | 0.380567 |
060d9d8cd811bb1bf7724ad0b9537faee4a7ecf6 | 1,350 | js | JavaScript | src/components/OpenGraph/OpenGraph.js | BerlinChan/blog | 6e0fecbf626a43d365456964bbbdd75270fd4ed4 | [
"MIT"
] | 1 | 2021-08-24T21:52:29.000Z | 2021-08-24T21:52:29.000Z | src/components/OpenGraph/OpenGraph.js | BerlinChan/blog | 6e0fecbf626a43d365456964bbbdd75270fd4ed4 | [
"MIT"
] | 7 | 2019-10-15T07:42:40.000Z | 2022-03-09T01:22:28.000Z | src/components/OpenGraph/OpenGraph.js | BerlinChan/blog | 6e0fecbf626a43d365456964bbbdd75270fd4ed4 | [
"MIT"
] | null | null | null | import React from 'react'
import { Helmet } from 'react-helmet'
import { useSiteMetadata } from '../../hooks'
const OpenGraph = (props) => {
const { title: siteTitle, author: { name: siteAuthorName } } = useSiteMetadata()
const { title, url, description, type, image } = props
return (
<Helmet>
{descri... | 39.705882 | 82 | 0.64 |
060f4f960544ccfba267a8af8ac4e92262287e1b | 261 | js | JavaScript | demos/loading/demos/progress.js | isogon/styled-mdl-website | 98ab525c8e7961151b8db95c37d014e1508dc6b9 | [
"Unlicense"
] | null | null | null | demos/loading/demos/progress.js | isogon/styled-mdl-website | 98ab525c8e7961151b8db95c37d014e1508dc6b9 | [
"Unlicense"
] | null | null | null | demos/loading/demos/progress.js | isogon/styled-mdl-website | 98ab525c8e7961151b8db95c37d014e1508dc6b9 | [
"Unlicense"
] | null | null | null | import React from 'react'
import { Progress } from 'styled-mdl'
const demo = () => <Progress percent={0.4} width="300px" />
const caption = 'Default Progress Bar'
const code = '<Progress percent="40%" width="300px" />'
export default { demo, caption, code }
| 26.1 | 59 | 0.678161 |
06103aa9d1d6a9b982122a6acfcc1e14229d7004 | 796 | js | JavaScript | src/components/Review/Review.js | BloomTech-Labs/where-to-code-fe | ad63e75ea722305d38aa52da64e9828e626c6517 | [
"MIT"
] | 5 | 2019-08-14T02:01:15.000Z | 2020-01-29T02:35:54.000Z | client/src/components/Review/Review.js | MrT3313/WhereToCode | 45e95724c3571ebee6f6c90a52e6d07c33bee631 | [
"MIT"
] | 11 | 2019-08-16T02:34:27.000Z | 2022-02-26T16:36:59.000Z | client/src/components/Review/Review.js | MrT3313/WhereToCode | 45e95724c3571ebee6f6c90a52e6d07c33bee631 | [
"MIT"
] | 9 | 2020-01-29T02:35:22.000Z | 2020-03-12T18:35:29.000Z | // IMPORTS
import React from "react";
import styled from "styled-components";
// IMPORT COMPONENTS
import Tabs from "./Tabs";
// STYLED COMPONENTS
const StyleModal = styled.div`
font-size: 12px;
`;
const Close = styled.div`
cursor: pointer;
position: absolute;
display: block;
padding: 2px 5px;
line-heigh... | 18.090909 | 39 | 0.626884 |
06123fa3cfeaad2a969fa884efb4c1a4e3e148ae | 2,092 | js | JavaScript | index.js | mat-sz/whiteboard | 5ff09a3ab030b52504873a7cec76fc17b081ce0f | [
"BSD-3-Clause-Clear"
] | null | null | null | index.js | mat-sz/whiteboard | 5ff09a3ab030b52504873a7cec76fc17b081ce0f | [
"BSD-3-Clause-Clear"
] | null | null | null | index.js | mat-sz/whiteboard | 5ff09a3ab030b52504873a7cec76fc17b081ce0f | [
"BSD-3-Clause-Clear"
] | null | null | null | const WebSocket = require('ws');
const wss = new WebSocket.Server({ port: 5000 });
const { createCanvas } = require('canvas');
const canvasWidth = 800;
const canvasHeight = 800;
const canvas = createCanvas(canvasWidth, canvasHeight);
const ctx = canvas.getContext('2d');
function prepareCanvas() {
ctx.fillStyle = ... | 28.657534 | 81 | 0.458891 |
1bb2aae967ae1c56b687d2ea28175eb7b049552e | 989 | js | JavaScript | commands/close.js | TalicZealot/speedrun-race-discord-bot | 737706db56868bdd11f284bfc1c6208b51c077f6 | [
"MIT"
] | null | null | null | commands/close.js | TalicZealot/speedrun-race-discord-bot | 737706db56868bdd11f284bfc1c6208b51c077f6 | [
"MIT"
] | 3 | 2021-08-15T23:43:43.000Z | 2021-08-15T23:43:46.000Z | commands/close.js | TalicZealot/speedrun-race-discord-bot | 737706db56868bdd11f284bfc1c6208b51c077f6 | [
"MIT"
] | 2 | 2019-10-01T12:40:49.000Z | 2020-02-16T19:58:08.000Z | const { SlashCommandBuilder } = require('@discordjs/builders');
const config = require('../config.json');
module.exports = {
data: new SlashCommandBuilder()
.setName('close')
.setDescription(`Closes the current race.`),
async execute(interaction, client, race) {
if (race.finished) {
... | 36.62963 | 112 | 0.598584 |
1bb357e5065f00ac27edcf8578c722afdede0a76 | 740 | js | JavaScript | test/cypress/stubs/transaction-summary-stubs.js | alphagov-mirror/pay-selfservice | 687826a5f5eefaa743fe90fa396b779f3329bed5 | [
"MIT"
] | 20 | 2017-08-23T03:09:00.000Z | 2021-08-16T23:03:58.000Z | test/cypress/stubs/transaction-summary-stubs.js | alphagov-mirror/pay-selfservice | 687826a5f5eefaa743fe90fa396b779f3329bed5 | [
"MIT"
] | 579 | 2017-08-11T11:03:14.000Z | 2022-03-29T09:08:40.000Z | test/cypress/stubs/transaction-summary-stubs.js | uk-gov-mirror/alphagov.pay-selfservice | d3fad8b3ebd6a21c82083e46dcff4a7295a8ea9a | [
"MIT"
] | 16 | 2017-08-22T18:47:29.000Z | 2021-05-12T20:17:49.000Z | 'use strict'
const ledgerFixture = require('../../fixtures/ledger-transaction.fixtures')
const { stubBuilder } = require('./stub-builder')
function getDashboardStatistics (opts = {}) {
const path = '/v1/report/transactions-summary'
return stubBuilder('GET', path, 200, {
response: ledgerFixture.validTransactio... | 26.428571 | 75 | 0.725676 |
1bb3c387e737d57c7f4d564b25b3eb6f442f3068 | 282 | js | JavaScript | node_modules/nest-cli/lib/tasks/away.js | ramirez456/nest-js | 57cb50f8b06ac8bd9cd51920f216e6a36ac4dc10 | [
"MIT"
] | 15 | 2015-08-21T02:23:10.000Z | 2020-09-15T02:59:08.000Z | node_modules/nest-cli/lib/tasks/away.js | ramirez456/nest-js | 57cb50f8b06ac8bd9cd51920f216e6a36ac4dc10 | [
"MIT"
] | 6 | 2015-08-26T03:27:06.000Z | 2021-08-30T06:51:07.000Z | node_modules/nest-cli/lib/tasks/away.js | ramirez456/nest-js | 57cb50f8b06ac8bd9cd51920f216e6a36ac4dc10 | [
"MIT"
] | 4 | 2015-08-26T03:22:07.000Z | 2018-03-09T06:32:27.000Z | 'use strict';
const TaskClass = require('./-base');
class AwayTask extends TaskClass {
run(structureId, mode) {
const ui = this.ui;
return this.app.api.structure.away(structureId, mode).then((res) => {
ui.writeLine(res);
});
}
}
module.exports = AwayTask;
| 17.625 | 73 | 0.638298 |
1bb506fe4d0f92b0782c4e1c658d075c1156a5cc | 263 | js | JavaScript | config/business-objects.js | marmarosi/bocs-poc | 651f0f6fc38076dd0e89fb8bc3e7de34151f8ecf | [
"MIT"
] | null | null | null | config/business-objects.js | marmarosi/bocs-poc | 651f0f6fc38076dd0e89fb8bc3e7de34151f8ecf | [
"MIT"
] | null | null | null | config/business-objects.js | marmarosi/bocs-poc | 651f0f6fc38076dd0e89fb8bc3e7de34151f8ecf | [
"MIT"
] | null | null | null | 'use strict';
module.exports = {
connectionManager: '/data/connection-manager.js',
daoBuilder: '/data/dao-builder.js',
userReader: '/data/get-user.js',
localeReader: '/data/get-locale.js',
pathOfLocales: '/locales',
noAccessBehavior: 'throwError'
};
| 23.909091 | 51 | 0.69962 |
1bb732f0678dea2240772b555955f22af3e55638 | 534 | js | JavaScript | docs/doc/implementors/nohash_hasher/trait.IsEnabled.js | AtlDragoon/Fennel-Protocol | f5f1a87d1564543484f27b4819a7a196fe91994f | [
"Unlicense"
] | null | null | null | docs/doc/implementors/nohash_hasher/trait.IsEnabled.js | AtlDragoon/Fennel-Protocol | f5f1a87d1564543484f27b4819a7a196fe91994f | [
"Unlicense"
] | null | null | null | docs/doc/implementors/nohash_hasher/trait.IsEnabled.js | AtlDragoon/Fennel-Protocol | f5f1a87d1564543484f27b4819a7a196fe91994f | [
"Unlicense"
] | null | null | null | (function() {var implementors = {};
implementors["nohash_hasher"] = [];
implementors["yamux"] = [{"text":"impl <a class=\"trait\" href=\"nohash_hasher/trait.IsEnabled.html\" title=\"trait nohash_hasher::IsEnabled\">IsEnabled</a> for <a class=\"struct\" href=\"yamux/struct.StreamId.html\" title=\"struct yamux::StreamId\... | 133.5 | 327 | 0.728464 |
1bb76e47cf0864c0ef5baac6cfc2ca1b3ba35e6f | 2,853 | js | JavaScript | server.js | bamorim/moviemashup | 5a2681d0c58ad694d0f952b4d1ea95778fa0fd7c | [
"Unlicense"
] | null | null | null | server.js | bamorim/moviemashup | 5a2681d0c58ad694d0f952b4d1ea95778fa0fd7c | [
"Unlicense"
] | null | null | null | server.js | bamorim/moviemashup | 5a2681d0c58ad694d0f952b4d1ea95778fa0fd7c | [
"Unlicense"
] | null | null | null | var express = require('express'),
http = require('http'),
app = express(),
engine = require('ejs-locals');
const api_key = process.env.TMDB_API_KEY;
const forbiddenWords = "a e i o u é à as os um uma umas uns há em ou de da do para desde que das dos no na nos nas i ii iii iv v vi vii".split(" ");
const all... | 31.351648 | 148 | 0.651244 |
1bb77fb1213b8fa8f950cd4d8587f227833f5d6b | 3,872 | js | JavaScript | app.js | anna-majka/memory-game | 3fc0d1e7fad74a30ae9220a88c8cccd85bf46cbe | [
"Unlicense"
] | null | null | null | app.js | anna-majka/memory-game | 3fc0d1e7fad74a30ae9220a88c8cccd85bf46cbe | [
"Unlicense"
] | null | null | null | app.js | anna-majka/memory-game | 3fc0d1e7fad74a30ae9220a88c8cccd85bf46cbe | [
"Unlicense"
] | null | null | null | //I start by creating 12 cards, then I add all the objects in an array
const cardArray =[
{
name:'midge',
img: 'images/midge.png',
},
{
name:'susie',
img: 'images/susie.png',
},
{
name:'shybaldwin',
img: 'images/shybaldwin.png',
},
{
name:'abeandrose',
img: ... | 32.537815 | 112 | 0.655475 |
1bb7a2ec25dd4a565318022af8df37bf269c9d3e | 3,929 | js | JavaScript | src/atmf/engine/core/functions.js | skito/ATMF-JS | b126344cfa2af1ee7dd9dd1f89a658d2fb1f1719 | [
"Apache-2.0"
] | null | null | null | src/atmf/engine/core/functions.js | skito/ATMF-JS | b126344cfa2af1ee7dd9dd1f89a658d2fb1f1719 | [
"Apache-2.0"
] | null | null | null | src/atmf/engine/core/functions.js | skito/ATMF-JS | b126344cfa2af1ee7dd9dd1f89a658d2fb1f1719 | [
"Apache-2.0"
] | null | null | null | import ATMFCulture from "./culture.js";
import ATMFVariables from "./variables.js";
class ATMFFunctions {
static #lastConditionResults = [];
constructor() {}
static ProcessTag(sender, tagName, args) {
switch (tagName) {
case '#template':
const name = args[0] || '';
... | 39.29 | 126 | 0.428353 |
1bb8ab88ac90c7d29707dd972da730f35a94c5ec | 848 | js | JavaScript | packages/next-swc/crates/core/tests/fixture/remove-console/all/simple/input.js | blomqma/next.js | 7db6aa2fde34699cf319d30980c2ee38bb53f20d | [
"MIT"
] | 51,887 | 2016-10-25T15:48:01.000Z | 2020-05-27T17:47:07.000Z | packages/next-swc/crates/core/tests/fixture/remove-console/all/simple/input.js | blomqma/next.js | 7db6aa2fde34699cf319d30980c2ee38bb53f20d | [
"MIT"
] | 13,333 | 2020-05-27T18:15:25.000Z | 2022-03-31T23:48:59.000Z | packages/next-swc/crates/core/tests/fixture/remove-console/all/simple/input.js | blomqma/next.js | 7db6aa2fde34699cf319d30980c2ee38bb53f20d | [
"MIT"
] | 14,796 | 2020-05-27T18:07:16.000Z | 2022-03-31T23:55:30.000Z | console.log("remove console test at top level");
export function shouldRemove() {
console.log("remove console test in function");
console.error("remove console test in function / error");
}
export function locallyDefinedConsole() {
let console = {
log: () => { },
};
console.log();
}
export function cap... | 19.72093 | 80 | 0.678066 |
1bb9d733d799f6c089b5856148044a04f04cf410 | 596 | js | JavaScript | src/gatsby-theme-carbon/components/LeftNav/ResourceLinks.js | redux-mvc/docs | d6fff0fcbf5d155f2f4bcc1645f436790950e693 | [
"Apache-2.0"
] | null | null | null | src/gatsby-theme-carbon/components/LeftNav/ResourceLinks.js | redux-mvc/docs | d6fff0fcbf5d155f2f4bcc1645f436790950e693 | [
"Apache-2.0"
] | null | null | null | src/gatsby-theme-carbon/components/LeftNav/ResourceLinks.js | redux-mvc/docs | d6fff0fcbf5d155f2f4bcc1645f436790950e693 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import ResourceLinks from 'gatsby-theme-carbon/src/components/LeftNav/ResourceLinks';
const links = [
{
title: 'github',
href: 'https://github.com/redux-mvc/core',
},
{
title: 'npm',
href: 'https://www.npmjs.com/package/@redux-mvc/core',
},
{ href: 'https://join.sla... | 29.8 | 114 | 0.701342 |
1bb9ef447b960d91e9a066d778791582398e50a9 | 12,007 | js | JavaScript | react/src/pages/DatasetView.js | CLOSER-Cohorts/archivist | ef4ea8738126601236a8ae25fd6851fc30c4115f | [
"MIT"
] | 15 | 2016-02-18T07:42:56.000Z | 2020-08-30T19:19:58.000Z | react/src/pages/DatasetView.js | CLOSER-Cohorts/archivist | ef4ea8738126601236a8ae25fd6851fc30c4115f | [
"MIT"
] | 524 | 2016-01-12T14:56:50.000Z | 2022-03-31T15:30:10.000Z | react/src/pages/DatasetView.js | CLOSER-Cohorts/archivist | ef4ea8738126601236a8ae25fd6851fc30c4115f | [
"MIT"
] | 11 | 2016-06-01T12:06:46.000Z | 2021-03-26T11:32:28.000Z | import React, { useEffect, useState } from 'react';
import { useDispatch, useSelector } from 'react-redux'
import { Dataset, DatasetVariable, Topics } from '../actions'
import { Dashboard } from '../components/Dashboard'
import { DatasetHeading } from '../components/DatasetHeading'
import { Loader } from '../components... | 34.014164 | 132 | 0.539685 |
1bbaf721aa5ac95f4fa1f50475463687a4b60eb6 | 3,001 | js | JavaScript | source/index.js | kemitchell/generic-authentication-server | e257d4e35940c4d0c937ff578b190d6e6829d0aa | [
"Apache-2.0"
] | null | null | null | source/index.js | kemitchell/generic-authentication-server | e257d4e35940c4d0c937ff578b190d6e6829d0aa | [
"Apache-2.0"
] | null | null | null | source/index.js | kemitchell/generic-authentication-server | e257d4e35940c4d0c937ff578b190d6e6829d0aa | [
"Apache-2.0"
] | null | null | null | var ndjson = require('ndjson');
var password = require('bcrypt-password');
var through2 = require('through2');
var OK = null;
var hasString = function(argument, key) {
var value = argument[key];
return (
argument.hasOwnProperty('name') &&
typeof value === 'string' &&
value.length > 3 &&
!/^\s/.tes... | 29.712871 | 68 | 0.400533 |
1bbc48071d6c2a9f3cad4c804149d6245a2eb1f7 | 4,377 | js | JavaScript | screens/ChatScreen.js | tfung5/codenames | 8a071e223ace6ef37ca2bff00e6a600e962322c4 | [
"MIT"
] | null | null | null | screens/ChatScreen.js | tfung5/codenames | 8a071e223ace6ef37ca2bff00e6a600e962322c4 | [
"MIT"
] | 3 | 2021-10-06T11:49:49.000Z | 2022-02-26T23:35:05.000Z | screens/ChatScreen.js | tfung5/Codenames-React-Native | 8a071e223ace6ef37ca2bff00e6a600e962322c4 | [
"MIT"
] | null | null | null | /**
* Credit: https://github.com/FaridSafi/react-native-gifted-chat/issues/1272
* for help fixing the keyboard hiding GiftedChat input
*/
import React from "react";
import { NavigationActions } from "react-navigation";
import CombinedContext from "../components/CombinedContext";
import ProvideCombinedContext from ... | 23.281915 | 87 | 0.610921 |
1bbccd2aefcab6ae0f3270a7fce45031fce44d32 | 11,681 | js | JavaScript | softwerkskammer/test/groupsAndMembers/groupsAndMembersService_test.js | c089/agora | 55ba7e5262a482a759637474d9a281b56b75cd1b | [
"MIT"
] | null | null | null | softwerkskammer/test/groupsAndMembers/groupsAndMembersService_test.js | c089/agora | 55ba7e5262a482a759637474d9a281b56b75cd1b | [
"MIT"
] | null | null | null | softwerkskammer/test/groupsAndMembers/groupsAndMembersService_test.js | c089/agora | 55ba7e5262a482a759637474d9a281b56b75cd1b | [
"MIT"
] | null | null | null | 'use strict';
const sinon = require('sinon').sandbox.create();
const beans = require('../../testutil/configureForTest').get('beans');
const expect = require('must-dist');
const Member = beans.get('member');
const dummymember = new Member().initFromSessionUser({authenticationId: 'hada', profile: {emails: [{value: 'e... | 38.173203 | 156 | 0.659533 |
1bbd5ed1a752c590770fbfeac19060e78f6c234c | 3,466 | js | JavaScript | recommendation-engine/email_client.js | CDCgov/GaTech-Fall2017-Goodman-HealthWeight-TeamScienceFreaks | 5d95771e691fd5892ea48a2519dbafc3142d792c | [
"Apache-2.0"
] | null | null | null | recommendation-engine/email_client.js | CDCgov/GaTech-Fall2017-Goodman-HealthWeight-TeamScienceFreaks | 5d95771e691fd5892ea48a2519dbafc3142d792c | [
"Apache-2.0"
] | null | null | null | recommendation-engine/email_client.js | CDCgov/GaTech-Fall2017-Goodman-HealthWeight-TeamScienceFreaks | 5d95771e691fd5892ea48a2519dbafc3142d792c | [
"Apache-2.0"
] | 1 | 2020-12-21T22:28:12.000Z | 2020-12-21T22:28:12.000Z | const nodemailer = require('nodemailer');
const mail_server = process.env.MAIL_SERVER;
const mail_port = process.env.MAIL_PORT || 587;
const from_address = process.env.FROM_ADDRESS || '';
const subject_line = process.env.SUBJECT_LINE || '';
module.exports.sendTestMessage = function sendMessage(emailAddress, plainMessa... | 40.776471 | 96 | 0.568667 |
1bbdd94fabb1f79ebbc016a75169709d73e229f9 | 286 | js | JavaScript | actions/select-all.js | Daniellop1/paint | b3a661d9efaa123596c87bc28771cf7d1cd83050 | [
"Apache-2.0"
] | null | null | null | actions/select-all.js | Daniellop1/paint | b3a661d9efaa123596c87bc28771cf7d1cd83050 | [
"Apache-2.0"
] | null | null | null | actions/select-all.js | Daniellop1/paint | b3a661d9efaa123596c87bc28771cf7d1cd83050 | [
"Apache-2.0"
] | null | null | null | import { updateContext } from '../helpers/update-context.js';
export class SelectAllAction {
execute(drawingContext) {
const { width, height } = drawingContext.canvas;
drawingContext.selection = { x: 0, y: 0, width, height };
updateContext(drawingContext.element);
}
}
| 28.6 | 61 | 0.699301 |
1bbdfccdf012294584ec2d7f4a07a9ffc74ddb01 | 1,371 | js | JavaScript | lang/ms.js | themanyone/speechpad | e71283f96a37a2025fe8d5e44cddd841e28ea79e | [
"Apache-2.0"
] | 1 | 2019-04-23T23:10:30.000Z | 2019-04-23T23:10:30.000Z | lang/ms.js | themanyone/speechplus | e71283f96a37a2025fe8d5e44cddd841e28ea79e | [
"Apache-2.0"
] | null | null | null | lang/ms.js | themanyone/speechplus | e71283f96a37a2025fe8d5e44cddd841e28ea79e | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2017-2020, Henry Kroll III of thenerdshow.com. All rights reserved.
*/
CKEDITOR.plugins.setLang( 'speech', 'ms', {
xabout: 'Mengenai SpeechPad Plugin',
xcommands: 'Konfigurasikan Perintah Lisan',
dictation: 'Dikte Pertuturan',
xspoken: 'Perintah yang diucapkan',
xspeech: 'Aktifkan i... | 31.883721 | 108 | 0.642597 |