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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
837b82bb8d9aa54917cb99525d07795a20f994f7 | 2,457 | js | JavaScript | generator.js | Datum/merkle-tree-stream | 35c33d2d499f662c52544f1de8afa04aef84c1e8 | [
"MIT"
] | null | null | null | generator.js | Datum/merkle-tree-stream | 35c33d2d499f662c52544f1de8afa04aef84c1e8 | [
"MIT"
] | null | null | null | generator.js | Datum/merkle-tree-stream | 35c33d2d499f662c52544f1de8afa04aef84c1e8 | [
"MIT"
] | null | null | null | // a more low level interface to the merkle tree stream.
// useful for certain applications the require non-streamy access to the algos.
// versioned by the same semver as the stream interface.
var flat = require('flat-tree')
module.exports = MerkleGenerator
function MerkleGenerator (opts, roots) {
if (!(this inst... | 27 | 212 | 0.646317 |
837c0aba3cd724faca368bbcc48e5cbd38d07ebe | 159 | js | JavaScript | _build/js/entities/square.js | jpdevries/tetris | 30f99934e604768ccce7b161eb33afe8fe5c88ee | [
"MIT"
] | null | null | null | _build/js/entities/square.js | jpdevries/tetris | 30f99934e604768ccce7b161eb33afe8fe5c88ee | [
"MIT"
] | null | null | null | _build/js/entities/square.js | jpdevries/tetris | 30f99934e604768ccce7b161eb33afe8fe5c88ee | [
"MIT"
] | null | null | null | var shape = require('./shape');
function Square() {
}
Square.prototype = new shape.Shape();
Square.prototype.constructor = Square;
exports.Square = Square;
| 15.9 | 38 | 0.710692 |
837dc943af544756f3128afa98f1399e493b0df9 | 369 | js | JavaScript | exercicios-js/funcao/lista-exercicios/desafio01.js | lucashsouza/WebModerno-Cod3r | 50872f5c089464cf970e8e5205bbf61323077c7a | [
"MIT"
] | null | null | null | exercicios-js/funcao/lista-exercicios/desafio01.js | lucashsouza/WebModerno-Cod3r | 50872f5c089464cf970e8e5205bbf61323077c7a | [
"MIT"
] | null | null | null | exercicios-js/funcao/lista-exercicios/desafio01.js | lucashsouza/WebModerno-Cod3r | 50872f5c089464cf970e8e5205bbf61323077c7a | [
"MIT"
] | null | null | null | /*
01) Crie uma função que dado dois valores (passados como parâmetros) mostre no console a soma, subtração, multiplicação e divisão desses valores.
*/
function operacao(x, y) {
console.log(`${x} + ${y} = ${x+y}`);
console.log(`${x} - ${y} = ${x-y}`);
console.log(`${x} x ${y} = ${x*y}`);
console.l... | 30.75 | 149 | 0.558266 |
837de6dcfb373809eec56b363b3bff7a107c6607 | 12,600 | js | JavaScript | src/features/authentication/page.js | SilencerWeb/karma | f0835c51402862cffdfb8ca6acf566b3c1fa528d | [
"Apache-2.0"
] | 3 | 2018-07-10T18:16:25.000Z | 2019-05-07T13:38:22.000Z | src/features/authentication/page.js | SilencerWeb/karma | f0835c51402862cffdfb8ca6acf566b3c1fa528d | [
"Apache-2.0"
] | null | null | null | src/features/authentication/page.js | SilencerWeb/karma | f0835c51402862cffdfb8ca6acf566b3c1fa528d | [
"Apache-2.0"
] | null | null | null | import * as React from 'react';
import styled, { css } from 'styled-components';
import PropTypes from 'prop-types';
import * as Yup from 'yup';
import { Redirect } from 'react-router-dom';
import { Mutation } from 'react-apollo';
import { Formik } from 'formik';
import { AppConsumer } from 'index';
import { Button }... | 42 | 120 | 0.351667 |
837f172e12f91df806efa8ca3df2943f75bab58f | 6,545 | js | JavaScript | source-frontend/src/ManageSongList.js | Everstar/MusicRadio | fc3e505b546d9e6009af99ceb4e87a863dd91776 | [
"MIT"
] | null | null | null | source-frontend/src/ManageSongList.js | Everstar/MusicRadio | fc3e505b546d9e6009af99ceb4e87a863dd91776 | [
"MIT"
] | null | null | null | source-frontend/src/ManageSongList.js | Everstar/MusicRadio | fc3e505b546d9e6009af99ceb4e87a863dd91776 | [
"MIT"
] | null | null | null | /**
* Created by tsengkasing on 12/12/2016.
*/
import React from 'react';
import FlatButton from 'material-ui/FlatButton';
import FloatingActionButton from 'material-ui/FloatingActionButton';
import ContentAdd from 'material-ui/svg-icons/content/add';
import TextField from 'material-ui/TextField';
import Dialog from ... | 28.832599 | 117 | 0.453018 |
837f7381964f1a53d0ddbaaad62d7b2c4c15d5e9 | 139 | js | JavaScript | javadoc/type-search-index.js | victor-cleber/java-development-bootcamp | c7869c59095fcd6f4a50a9cf25676cf423fea95c | [
"MIT"
] | 1 | 2022-01-28T21:47:57.000Z | 2022-01-28T21:47:57.000Z | javadoc/type-search-index.js | victor-cleber/java-development-bootcamp | c7869c59095fcd6f4a50a9cf25676cf423fea95c | [
"MIT"
] | null | null | null | javadoc/type-search-index.js | victor-cleber/java-development-bootcamp | c7869c59095fcd6f4a50a9cf25676cf423fea95c | [
"MIT"
] | null | null | null | typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"com.dio","l":"MyFirstProgram"},{"p":"com.dio.base","l":"Order"}] | 139 | 139 | 0.625899 |
837fcc0c83b6280a23974d15d49e9a2f4f16aa40 | 107 | js | JavaScript | keys/pdf417_keys.js | VDubber/blinkid-react-native | c85b87c87d40ae34b40d14972464e7846c38c813 | [
"MIT"
] | null | null | null | keys/pdf417_keys.js | VDubber/blinkid-react-native | c85b87c87d40ae34b40d14972464e7846c38c813 | [
"MIT"
] | null | null | null | keys/pdf417_keys.js | VDubber/blinkid-react-native | c85b87c87d40ae34b40d14972464e7846c38c813 | [
"MIT"
] | null | null | null | /***** Keys for obtaining data on PDF417 type of barcodes *****/
export const BarcodeData = "BarcodeData"; | 35.666667 | 64 | 0.700935 |
8380fcee0eec39cca988334f5f1b4129bd957593 | 4,953 | js | JavaScript | server/views/beechat/language_zh.js | wenqiangY/open_website | b5490c0483649fc2c4df2eb4d250fc60d0977afc | [
"MIT"
] | null | null | null | server/views/beechat/language_zh.js | wenqiangY/open_website | b5490c0483649fc2c4df2eb4d250fc60d0977afc | [
"MIT"
] | null | null | null | server/views/beechat/language_zh.js | wenqiangY/open_website | b5490c0483649fc2c4df2eb4d250fc60d0977afc | [
"MIT"
] | null | null | null | var x = {
lang:'zh',
title1:'Link People',
title2:'Link Blockchain',
title3:'Blockchain based messenger and ',
title4:'cryptocurrency community',
h1:'产品介绍',
c1:'BeeChat是全球首款基于区块链技术的即时通讯软件,全球最活跃的探讨区块链和加密货币的社区。<br><br>' +
'BeeChat上线三个月全球累积下载1000万次,活跃用户超过150万人,聚集了区块链行业意见领袖数百人',
h2:'产品特... | 38.1 | 165 | 0.568948 |
8381e21d07ae1dbf33782d841e7081f865c00eb3 | 30 | js | JavaScript | javascript/analyzer/getYamlFromJavascript/tests/default/test-cases/class/declaration/extends/.js | DevSnicket/Eunice | 56fb6463e5993413980fb3657578f1267e45b6f9 | [
"MIT"
] | 9 | 2018-06-26T19:32:11.000Z | 2019-05-03T07:07:29.000Z | javascript/analyzer/getYamlFromJavascript/tests/default/test-cases/class/declaration/extends/.js | DevSnicket/Eunice | 56fb6463e5993413980fb3657578f1267e45b6f9 | [
"MIT"
] | 34 | 2018-06-18T14:07:52.000Z | 2019-08-01T07:18:51.000Z | javascript/analyzer/getYamlFromJavascript/tests/default/test-cases/class/declaration/extends/.js | DevSnicket/Eunice | 56fb6463e5993413980fb3657578f1267e45b6f9 | [
"MIT"
] | 2 | 2018-12-17T20:57:05.000Z | 2019-01-07T15:57:02.000Z | class Derived extends Base { } | 30 | 30 | 0.766667 |
8382ef9bca79729248d92c9f05f81f6deaa86217 | 573 | js | JavaScript | warehouse-space70.9cef9450fc4cbe6433a5.bundle.js | Pendome/storyBook | 4972d7156d362e24aff791d681498cc626e0c27e | [
"BSD-2-Clause"
] | null | null | null | warehouse-space70.9cef9450fc4cbe6433a5.bundle.js | Pendome/storyBook | 4972d7156d362e24aff791d681498cc626e0c27e | [
"BSD-2-Clause"
] | null | null | null | warehouse-space70.9cef9450fc4cbe6433a5.bundle.js | Pendome/storyBook | 4972d7156d362e24aff791d681498cc626e0c27e | [
"BSD-2-Clause"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[36],{1546:function(module,exports,__webpack_require__){var api=__webpack_require__(128),content=__webpack_require__(1678);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};... | 286.5 | 499 | 0.783595 |
83835b0002f42a532bdb2ea11f31539277c3a3fa | 150 | js | JavaScript | firebaseapp/src/components/Landing.js | MasherJames/MyBlogs | 0f11064e758941e15520373dbc8209976b6cdd7d | [
"MIT"
] | null | null | null | firebaseapp/src/components/Landing.js | MasherJames/MyBlogs | 0f11064e758941e15520373dbc8209976b6cdd7d | [
"MIT"
] | null | null | null | firebaseapp/src/components/Landing.js | MasherJames/MyBlogs | 0f11064e758941e15520373dbc8209976b6cdd7d | [
"MIT"
] | null | null | null | import React from "react";
const Landing = () => {
return (
<div>
<p>This is the landing</p>
</div>
);
};
export default Landing;
| 12.5 | 32 | 0.546667 |
83836191926876df6873c0a1a9357514ba29a85c | 511 | js | JavaScript | src/js/ui/vigenere-dom.js | mariuszskon/crypto-toolkit | ca27665d0f27d6fd8debcd63324f11d47d1f5fd5 | [
"MIT"
] | null | null | null | src/js/ui/vigenere-dom.js | mariuszskon/crypto-toolkit | ca27665d0f27d6fd8debcd63324f11d47d1f5fd5 | [
"MIT"
] | null | null | null | src/js/ui/vigenere-dom.js | mariuszskon/crypto-toolkit | ca27665d0f27d6fd8debcd63324f11d47d1f5fd5 | [
"MIT"
] | null | null | null | // vigenere-dom.js
function vigenereGetDOMValues() {
return {
input: gid("vigenere-input").value,
key: gid("vigenere-key").value
};
}
function vigenereDOMmanage(mode) {
var values = vigenereGetDOMValues();
gid("vigenere-output").innerHTML = cipher.vigenere(mode, values.input, values.ke... | 23.227273 | 87 | 0.67319 |
8383b73c4c10554501a40233f8219d3732ba5323 | 1,428 | js | JavaScript | src/test/unit_tests/test_chunk_fs.js | ezio-auditore/noobaa-core | 36210a06731cac661d7e51de659fb12c5aa7d6e9 | [
"Apache-2.0"
] | null | null | null | src/test/unit_tests/test_chunk_fs.js | ezio-auditore/noobaa-core | 36210a06731cac661d7e51de659fb12c5aa7d6e9 | [
"Apache-2.0"
] | null | null | null | src/test/unit_tests/test_chunk_fs.js | ezio-auditore/noobaa-core | 36210a06731cac661d7e51de659fb12c5aa7d6e9 | [
"Apache-2.0"
] | null | null | null | /* Copyright (C) 2020 NooBaa */
/* eslint-disable no-invalid-this */
'use strict';
const mocha = require('mocha');
const chunk_fs_hashing = require('../../tools/chunk_fs_hashing');
mocha.describe('ChunkFS', function() {
const RUN_TIMEOUT = 10 * 60 * 1000;
mocha.it('Concurrent ChunkFS with hash target', async... | 40.8 | 142 | 0.662465 |
838459de204d55e316976a3e6db027d496423dff | 1,240 | js | JavaScript | assets/javascripts/angular/factories/sorter.js | pivotal-cf-attic/pivotal-one-styles | 869350dfbe7e2fe4426c43824b9eea711a5c6339 | [
"BSD-2-Clause"
] | null | null | null | assets/javascripts/angular/factories/sorter.js | pivotal-cf-attic/pivotal-one-styles | 869350dfbe7e2fe4426c43824b9eea711a5c6339 | [
"BSD-2-Clause"
] | null | null | null | assets/javascripts/angular/factories/sorter.js | pivotal-cf-attic/pivotal-one-styles | 869350dfbe7e2fe4426c43824b9eea711a5c6339 | [
"BSD-2-Clause"
] | null | null | null | angular.module('ConsoleApp').factory('Sorter', [function Sorter() {
return function (collection, attribute, direction) {
var currentSort = {
attribute: attribute,
direction: direction
};
var sorter = {
currentSort: currentSort,
sortBy: function (attribute, direction) {
curr... | 26.382979 | 67 | 0.570968 |
8385811cb89e99438e4738a07fb69c76c7b311f1 | 128 | js | JavaScript | suricata/apis/detect-pkt-data_8c.js | onosfw/apis | 3dd33b600bbd73bb1b8e0a71272efe1a45f42458 | [
"Apache-2.0"
] | null | null | null | suricata/apis/detect-pkt-data_8c.js | onosfw/apis | 3dd33b600bbd73bb1b8e0a71272efe1a45f42458 | [
"Apache-2.0"
] | null | null | null | suricata/apis/detect-pkt-data_8c.js | onosfw/apis | 3dd33b600bbd73bb1b8e0a71272efe1a45f42458 | [
"Apache-2.0"
] | null | null | null | var detect_pkt_data_8c =
[
[ "DetectPktDataRegister", "detect-pkt-data_8c.html#a43643ed52f288845d2ba144419b90218", null ]
]; | 32 | 98 | 0.773438 |
83865789f8a4956d33584f2bbc6763c7ad018012 | 767 | js | JavaScript | components/button/button.js | maatjevanderveer/personal-blog | c5a82c00bb5e4896de71ca555863104e269ec0f4 | [
"MIT"
] | null | null | null | components/button/button.js | maatjevanderveer/personal-blog | c5a82c00bb5e4896de71ca555863104e269ec0f4 | [
"MIT"
] | null | null | null | components/button/button.js | maatjevanderveer/personal-blog | c5a82c00bb5e4896de71ca555863104e269ec0f4 | [
"MIT"
] | null | null | null | import React from "react";
import PropTypes from "prop-types";
import styles from "./button.module.css";
import classnames from 'classnames';
const Button = (props) => {
const buttonClass = classnames({
[styles.base]: true,
[styles[props.variant]]: true, // either primary or secondary
[styles[props.size]... | 23.242424 | 65 | 0.634941 |
83866656515c0a04354ec15050433b4d9b106325 | 165 | js | JavaScript | src/domain/authentication/entities/index.js | przemyslawhaptas/node-app-template | 6066eef0d07ff8accd3eb12dc3e4d623560eef62 | [
"MIT"
] | 2 | 2021-09-19T01:08:20.000Z | 2022-03-14T22:45:36.000Z | src/domain/authentication/entities/index.js | przemyslawhaptas/node-app-template | 6066eef0d07ff8accd3eb12dc3e4d623560eef62 | [
"MIT"
] | null | null | null | src/domain/authentication/entities/index.js | przemyslawhaptas/node-app-template | 6066eef0d07ff8accd3eb12dc3e4d623560eef62 | [
"MIT"
] | null | null | null | import buildApiKey, { buildPlainTextApiKey, buildUnpersistedApiKey } from './api_key';
export {
buildApiKey,
buildPlainTextApiKey,
buildUnpersistedApiKey,
};
| 20.625 | 86 | 0.781818 |
8386bbd5b14bcfd3cf0bc6dffbc78dad9dfb699c | 8,613 | js | JavaScript | src/reducers.js | evoja/redux-reducers | f3055e3f5ecd805514a8798bd52a9f01ea8d2f6e | [
"MIT"
] | null | null | null | src/reducers.js | evoja/redux-reducers | f3055e3f5ecd805514a8798bd52a9f01ea8d2f6e | [
"MIT"
] | null | null | null | src/reducers.js | evoja/redux-reducers | f3055e3f5ecd805514a8798bd52a9f01ea8d2f6e | [
"MIT"
] | null | null | null | 'use strict'
//====== Reducers ========
// What is it:
// * [en](http://rackt.org/redux/docs/basics/Reducers.html)
// * [ru](https://github.com/rajdee/redux-in-russian/blob/master/docs/basics/Reducers.md)
var me = module.exports;
var {evAssert, createExtractor, createReplacer,
ActionToNamespaceException
} = requ... | 23.59726 | 103 | 0.636944 |
838749ff1aed156db4fef88df2a9d2e8ee8f46fc | 9,661 | js | JavaScript | backend-node/mock_server.js | grzes5003/e-commerce | 7e9c7ebfe9f2876321be5020b035e931457736d7 | [
"MIT"
] | null | null | null | backend-node/mock_server.js | grzes5003/e-commerce | 7e9c7ebfe9f2876321be5020b035e931457736d7 | [
"MIT"
] | null | null | null | backend-node/mock_server.js | grzes5003/e-commerce | 7e9c7ebfe9f2876321be5020b035e931457736d7 | [
"MIT"
] | null | null | null | const express = require('express')
const cors = require('cors')
const bodyParser = require('body-parser')
const app = express();
const port = 4000;
const faker = require('faker');
let corsOptions = {
origin: true,
credentials: true
};
app.use(cors(corsOptions));
app.use(bodyParser.urlencoded({extended: false}... | 31.67541 | 169 | 0.548804 |
83877981241b14aae85d9f6ce9022982da36432f | 17,350 | js | JavaScript | oving11/src/index.js | odderikf/sysdevweb | f59fea96ab1ab6b5550f7aae558d3ac9580df798 | [
"MIT"
] | null | null | null | oving11/src/index.js | odderikf/sysdevweb | f59fea96ab1ab6b5550f7aae558d3ac9580df798 | [
"MIT"
] | null | null | null | oving11/src/index.js | odderikf/sysdevweb | f59fea96ab1ab6b5550f7aae558d3ac9580df798 | [
"MIT"
] | null | null | null | // @flow
/* eslint eqeqeq: "off" */
import * as React from 'react';
import { Component , sharedComponentData } from 'react-simplified';
import { HashRouter, Route, NavLink } from 'react-router-dom';
import ReactDOM from 'react-dom';
import {Alert, Button, Card, Navbar, ListGroup, Form} from './widgets';
class Student ... | 30.438596 | 151 | 0.598444 |
838785cbb149ed8383f0353741fe2ba1892752f7 | 3,486 | js | JavaScript | src/components/Login/Signup.js | chachaxw/lottery-front-end-project | 5ded4ee3059b66fb3abb21dd38cef4387cb1e6b5 | [
"MIT"
] | null | null | null | src/components/Login/Signup.js | chachaxw/lottery-front-end-project | 5ded4ee3059b66fb3abb21dd38cef4387cb1e6b5 | [
"MIT"
] | null | null | null | src/components/Login/Signup.js | chachaxw/lottery-front-end-project | 5ded4ee3059b66fb3abb21dd38cef4387cb1e6b5 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import { NavBar, List, InputItem, Button, Checkbox } from 'antd-mobile';
import { createForm } from 'rc-form';
import { Link } from 'react-router';
import './style.scss';
class Signup extends Component {
state = {
disabled: true,
}
onChange = () => {
this.setS... | 26.815385 | 109 | 0.445496 |
8387e8740f0d6ecad6b085e7fbfb4d2fcd603260 | 1,785 | js | JavaScript | packages/sdk-middleware-http/src/errors.js | OlofMoriya/nodejs | 693f630b2c8700bcb68d2c79048b075c92ca558f | [
"MIT"
] | 64 | 2016-10-05T09:54:29.000Z | 2022-02-02T14:41:25.000Z | packages/sdk-middleware-http/src/errors.js | OlofMoriya/nodejs | 693f630b2c8700bcb68d2c79048b075c92ca558f | [
"MIT"
] | 1,426 | 2016-10-11T09:48:35.000Z | 2022-03-29T09:13:36.000Z | packages/sdk-middleware-http/src/errors.js | OlofMoriya/nodejs | 693f630b2c8700bcb68d2c79048b075c92ca558f | [
"MIT"
] | 43 | 2017-01-19T14:22:42.000Z | 2022-03-04T14:00:43.000Z | function defineError(statusCode, message, meta = {}) {
// eslint-disable-next-line no-multi-assign
this.status = this.statusCode = this.code = statusCode
this.message = message
Object.assign(this, meta)
this.name = this.constructor.name
// eslint-disable-next-line no-proto
this.constructor.prototype.__pr... | 25.5 | 78 | 0.691317 |
838871f17565b1e56699fc0f9d731e9dd2ba6614 | 2,233 | js | JavaScript | main.js | eduard9x/DRmail | 4dbc6fb2a13ddf0a5714ef73b3e7b1733bf24dbf | [
"MIT"
] | 1 | 2016-06-26T17:26:53.000Z | 2016-06-26T17:26:53.000Z | main.js | eduard9x/DRmail | 4dbc6fb2a13ddf0a5714ef73b3e7b1733bf24dbf | [
"MIT"
] | null | null | null | main.js | eduard9x/DRmail | 4dbc6fb2a13ddf0a5714ef73b3e7b1733bf24dbf | [
"MIT"
] | null | null | null | var gmail;
function refresh(f) {
if( (/in/.test(document.readyState)) || (typeof Gmail === undefined) ) {
setTimeout('refresh(' + f + ')', 10);
} else {
f();
}
}
function confirmSave(notification, result){
console.log('This seems to me as: ' + result + '% positive. ');
var answer =... | 28.265823 | 170 | 0.600537 |
83887d04ceb6816e51b034c26a2f03df01f9e4eb | 725 | js | JavaScript | docs/SoundFontInfoLib/search/functions_15.js | kant/SoundFonts | a5d678e2cfbd299e460db4f7ec747fcb6554512f | [
"MIT"
] | 41 | 2019-01-04T07:09:03.000Z | 2022-03-15T05:36:23.000Z | docs/SoundFontInfoLib/search/functions_15.js | kant/SoundFonts | a5d678e2cfbd299e460db4f7ec747fcb6554512f | [
"MIT"
] | 2 | 2020-12-02T22:31:01.000Z | 2021-12-30T19:58:21.000Z | docs/SoundFontInfoLib/search/functions_15.js | kant/SoundFonts | a5d678e2cfbd299e460db4f7ec747fcb6554512f | [
"MIT"
] | 7 | 2019-01-04T07:09:09.000Z | 2022-02-25T13:31:47.000Z | var searchData=
[
['zone_1491',['Zone',['../class_s_f2_1_1_render_1_1_zone.html#ac1f1b5568d7ef42570f4546b628c5d22',1,'SF2::Render::Zone']]],
['zonecollection_1492',['ZoneCollection',['../class_s_f2_1_1_render_1_1_zone_collection.html#af490a0f3d5071309b49d980ebb5ea134',1,'SF2::Render::ZoneCollection']]],
['zonecou... | 90.625 | 275 | 0.783448 |
83888e58df054a7c57e91463beea806fe2191840 | 668 | js | JavaScript | index.js | azizasm/CMSVideoCalling | e81321f932501f9236e7c6ed811ecc673ee7a784 | [
"MIT"
] | null | null | null | index.js | azizasm/CMSVideoCalling | e81321f932501f9236e7c6ed811ecc673ee7a784 | [
"MIT"
] | null | null | null | index.js | azizasm/CMSVideoCalling | e81321f932501f9236e7c6ed811ecc673ee7a784 | [
"MIT"
] | null | null | null | var app = require('express')();
var http = require('http').Server(app);
var io = require('socket.io')(http);
var express = require('express');
app.get('/', function(req, res){
res.sendFile(__dirname + '/index.html');
});
app.use('/public', express.static('public'));
io.on('connection', function(socket){
// cons... | 22.266667 | 58 | 0.622754 |
8388e8ddf478ce11a36c4c348b97855e70763012 | 733 | js | JavaScript | Docs/html/search/all_3.js | geronimoj/PhysicsTutorial | f31ebda015e43850bd3d5a02f79ab5f4596fbfda | [
"MIT"
] | null | null | null | Docs/html/search/all_3.js | geronimoj/PhysicsTutorial | f31ebda015e43850bd3d5a02f79ab5f4596fbfda | [
"MIT"
] | null | null | null | Docs/html/search/all_3.js | geronimoj/PhysicsTutorial | f31ebda015e43850bd3d5a02f79ab5f4596fbfda | [
"MIT"
] | null | null | null | var searchData=
[
['debug_20',['DEBUG',['../_plane_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83',1,'Plane.cpp']]],
['draw_21',['draw',['../class_physics_app.html#a76195807dc109de9009980431884b320',1,'PhysicsApp']]],
['draw_22',['Draw',['../class_box.html#a309d54fdeea398925f6341fab3e0ea84',1,'Box::Draw()'],['../cla... | 104.714286 | 510 | 0.750341 |
838a07b207815bed76e9435f28e24a1d4d73c067 | 102 | js | JavaScript | frontend/src/components/Blink/presenter.js | junngo/fluentday | b906b109a406ad1e03da3158ebbf58b45d9e88f4 | [
"MIT"
] | null | null | null | frontend/src/components/Blink/presenter.js | junngo/fluentday | b906b109a406ad1e03da3158ebbf58b45d9e88f4 | [
"MIT"
] | 4 | 2021-03-10T11:15:23.000Z | 2022-02-27T01:16:48.000Z | frontend/src/components/Blink/presenter.js | junngo/fluentday | b906b109a406ad1e03da3158ebbf58b45d9e88f4 | [
"MIT"
] | null | null | null | import React from "react";
const Blink = (props, context) => <h1>Blink</h1>;
export default Blink;
| 14.571429 | 49 | 0.676471 |
838a93eaaa965b66b3545598647a375d335a2fe6 | 10,006 | js | JavaScript | my-app/src/index.js | Adyvan/ReactTestApp | 0a940eb8f34018549bc883bb12407bff37021aa4 | [
"MIT"
] | null | null | null | my-app/src/index.js | Adyvan/ReactTestApp | 0a940eb8f34018549bc883bb12407bff37021aa4 | [
"MIT"
] | null | null | null | my-app/src/index.js | Adyvan/ReactTestApp | 0a940eb8f34018549bc883bb12407bff37021aa4 | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
const XValue = 1;
const OValue = 4;
const Lines = [
[0, 4, 8], // 0
[2, 4, 6], // 1
[0, 1, 2], // 2
[3, 4, 5], // 3
[6, 7, 8], // 4
[0, 3, 6], // 5
[1, 4, 7], // 6
[2, 5, 8], // 7
];
const positionLines = [
[0,2,5], ... | 23.108545 | 131 | 0.54997 |
838c3868d11dedc4ba0724d40c49ea26851d8604 | 1,277 | js | JavaScript | src/component/HeroBlock/HeroBlock.js | ReneDrie/horizontal-scroll | be369d087fd3c614d2353835da70fca9f8e1fc73 | [
"MIT"
] | 1 | 2020-03-05T13:39:42.000Z | 2020-03-05T13:39:42.000Z | src/component/HeroBlock/HeroBlock.js | ReneDrie/horizontal-scroll | be369d087fd3c614d2353835da70fca9f8e1fc73 | [
"MIT"
] | 7 | 2020-07-19T19:13:01.000Z | 2022-02-27T00:41:44.000Z | src/component/HeroBlock/HeroBlock.js | ReneDrie/horizontal-scroll | be369d087fd3c614d2353835da70fca9f8e1fc73 | [
"MIT"
] | 1 | 2020-03-05T11:25:59.000Z | 2020-03-05T11:25:59.000Z | import { AbstractTransitionComponent } from 'vue-transition-component';
import { TweenLite } from 'gsap';
import HeroBlockTransitionController from './HeroBlockTransitionController';
import AbstractScrollBlock from '../../util/scroll/AbstractScrollBlock';
// @vue/component
export default {
name: 'HeroBlock',
exten... | 34.513514 | 86 | 0.670321 |
838c448979cdeb7270ce7917c061cd5ebdec34cd | 844 | js | JavaScript | src/components/Messages/MessageSeparator/index.js | mybigjsdream/livechat | ac1f3ff3bc44caa96b3b17bd7112c3fd657e8b2d | [
"MIT"
] | null | null | null | src/components/Messages/MessageSeparator/index.js | mybigjsdream/livechat | ac1f3ff3bc44caa96b3b17bd7112c3fd657e8b2d | [
"MIT"
] | null | null | null | src/components/Messages/MessageSeparator/index.js | mybigjsdream/livechat | ac1f3ff3bc44caa96b3b17bd7112c3fd657e8b2d | [
"MIT"
] | null | null | null | import format from "date-fns/format";
import { parseISO } from "date-fns/fp";
import { createClassName, memo } from "../../helpers";
import styles from "./styles.scss";
export const MessageSeparator = memo(
({ date, unread, use: Element = "div", className, style = {} }) => (
<Element
className={createClassName(... | 26.375 | 71 | 0.60545 |
838d5688ee1408f3f21916b260e6d049091026ea | 1,253 | js | JavaScript | languages/account.js | ServantJS/servantjs-panel | ee47f41d76daaa1a258c33177198a5d7b9328fb6 | [
"Apache-2.0"
] | null | null | null | languages/account.js | ServantJS/servantjs-panel | ee47f41d76daaa1a258c33177198a5d7b9328fb6 | [
"Apache-2.0"
] | null | null | null | languages/account.js | ServantJS/servantjs-panel | ee47f41d76daaa1a258c33177198a5d7b9328fb6 | [
"Apache-2.0"
] | null | null | null | exports.ru = {
signin: {
title: 'Вход',
formTitle: 'Вход в личный кабинет',
help: 'Введите имя пользователя и пароль.',
email: 'Электронная почта',
password: 'Пароль',
remember: 'Запомнить',
action: 'Вход',
forget: 'Забыли пароль?',
forg... | 25.06 | 62 | 0.547486 |
838f0a908c695218bdf94a56af8db367a9763a83 | 3,568 | js | JavaScript | src/js/plugin-bridge/PluginTestUtils.js | janczer/dcos-ui | 8d22d2c1b47ed41901ea2269a469491cab7090e2 | [
"Apache-2.0"
] | null | null | null | src/js/plugin-bridge/PluginTestUtils.js | janczer/dcos-ui | 8d22d2c1b47ed41901ea2269a469491cab7090e2 | [
"Apache-2.0"
] | null | null | null | src/js/plugin-bridge/PluginTestUtils.js | janczer/dcos-ui | 8d22d2c1b47ed41901ea2269a469491cab7090e2 | [
"Apache-2.0"
] | null | null | null | import path from "path";
import PluginSDK from "PluginSDK";
import Loader from "./Loader";
let _plugins = {};
let _externalPlugins = {};
let pluginsList;
let externalPluginsList;
const externalPluginsDir = path.resolve(
process.env.npm_config_externalplugins || "plugins"
);
try {
pluginsList = require("#PLUGINS"... | 24.951049 | 78 | 0.698991 |
838f54201042c5239b013e8c26b10f92ff1045fd | 796 | js | JavaScript | src/events/guild/messageDelete.js | MrLambs/Lamb-Companion-On-Discord | db086eebe653e3affcc689f39bed5e5df8d30aea | [
"MIT"
] | null | null | null | src/events/guild/messageDelete.js | MrLambs/Lamb-Companion-On-Discord | db086eebe653e3affcc689f39bed5e5df8d30aea | [
"MIT"
] | null | null | null | src/events/guild/messageDelete.js | MrLambs/Lamb-Companion-On-Discord | db086eebe653e3affcc689f39bed5e5df8d30aea | [
"MIT"
] | null | null | null | const { MessageEmbed } = require('discord.js');
const { logs_color } = require('../../util/jsons/colors.json');
module.exports = async (bot, message) => {
let guild = message.guild
let found = guild.channels.cache.find(channel => channel.name == 'mod-logs💬')
if (message.author.bot || message.channel.type ... | 41.894737 | 81 | 0.601759 |
838fdf2446111c3a2dc66ef93fc92fe701b4a2c4 | 814 | js | JavaScript | src/v1/partner/order/route.js | rolldone/ractive-webpack-boilerplate | 81b82e7b3900a62a88aca694bc8a35a73e3a2ceb | [
"MIT"
] | null | null | null | src/v1/partner/order/route.js | rolldone/ractive-webpack-boilerplate | 81b82e7b3900a62a88aca694bc8a35a73e3a2ceb | [
"MIT"
] | null | null | null | src/v1/partner/order/route.js | rolldone/ractive-webpack-boilerplate | 81b82e7b3900a62a88aca694bc8a35a73e3a2ceb | [
"MIT"
] | null | null | null | module.exports = function(router){
router.addRoute('/order/orders',()=>{
return new Promise((resolve)=>{
require.ensure([],()=>resolve(require('./OrdersSelf').default));
})
},{
name : 'order.self.orders'
})
router.addRoute('/order/orders',()=>{
return new Promise((resolve)=>{
require... | 27.133333 | 75 | 0.571253 |
839088c4492be52a997e79f43acc6bada5647c3d | 4,219 | js | JavaScript | Project_3_API/BlockController.js | cristiam86/blockchain-dev-udacity | a3db54f40755407fa476ebd29ab7d5973bf76161 | [
"MIT"
] | null | null | null | Project_3_API/BlockController.js | cristiam86/blockchain-dev-udacity | a3db54f40755407fa476ebd29ab7d5973bf76161 | [
"MIT"
] | null | null | null | Project_3_API/BlockController.js | cristiam86/blockchain-dev-udacity | a3db54f40755407fa476ebd29ab7d5973bf76161 | [
"MIT"
] | null | null | null | const SHA256 = require('crypto-js/sha256');
const BlockClass = require('./Block.js');
const Level = require('./Level.js');
/**
* Controller Definition to encapsulate routes to work with blocks
*/
class BlockController {
/**
* Constructor to create a new BlockController, you need to initialize all your endp... | 31.962121 | 104 | 0.521925 |
8390e03a27a2d2c7f9dc261650a150f4dd5b0e3a | 885 | js | JavaScript | common/db.js | antirek/beebon | be9f5aad14ba8169b5b2e3d11515bde5a80e909d | [
"MIT"
] | 3 | 2018-01-21T15:47:52.000Z | 2018-03-23T04:42:11.000Z | common/db.js | antirek/beebon | be9f5aad14ba8169b5b2e3d11515bde5a80e909d | [
"MIT"
] | 9 | 2018-01-31T04:53:36.000Z | 2021-11-02T05:17:38.000Z | common/db.js | antirek/beebon | be9f5aad14ba8169b5b2e3d11515bde5a80e909d | [
"MIT"
] | 1 | 2019-08-13T01:21:04.000Z | 2019-08-13T01:21:04.000Z | const mysql = require('mysql2')
function Db (config) {
return new Promise((resolve) => {
let conn = mysql.createConnection(config.mysql)
function handleDisconnect (connection) {
connection.on('error', (err) => {
if (!err.fatal) {
return
}
if (err.code !== 'PROTOCOL_CO... | 20.581395 | 54 | 0.505085 |
8390f3166f7f0d703cf43a8a1407b39f61e5ad62 | 1,822 | js | JavaScript | src/components/Covidinfo/index.js | jaydeepkhatri/PewNews | e4424a578983b868ecd4915a03bbaeac6c27cd8f | [
"MIT"
] | null | null | null | src/components/Covidinfo/index.js | jaydeepkhatri/PewNews | e4424a578983b868ecd4915a03bbaeac6c27cd8f | [
"MIT"
] | null | null | null | src/components/Covidinfo/index.js | jaydeepkhatri/PewNews | e4424a578983b868ecd4915a03bbaeac6c27cd8f | [
"MIT"
] | null | null | null | import { useState, useEffect } from "react";
import axios from "axios";
const Covidinfo = () => {
const [covidData, setCovidData] = useState([]);
const [loading, setLoading] = useState(true);
useEffect(() => {
axios.get('https://covid2019-api.herokuapp.com/v2/current')
.then(
... | 33.740741 | 71 | 0.363886 |
8391c29dd6c2d0cd98d0ab30445f0768798c351e | 3,852 | js | JavaScript | core/testing/triplets_test.js | ceremetrix/X | f59beb2c202986657617bf82e658de19b251b85a | [
"MIT"
] | 460 | 2015-01-09T01:40:25.000Z | 2022-03-31T14:05:30.000Z | core/testing/triplets_test.js | ceremetrix/X | f59beb2c202986657617bf82e658de19b251b85a | [
"MIT"
] | 59 | 2015-01-13T09:17:31.000Z | 2022-03-18T23:21:16.000Z | core/testing/triplets_test.js | ceremetrix/X | f59beb2c202986657617bf82e658de19b251b85a | [
"MIT"
] | 186 | 2015-01-07T18:19:14.000Z | 2022-03-30T08:52:15.000Z | goog.require('X.base');
goog.require('X.triplets');
goog.require('goog.testing.jsunit');
goog.require('goog.testing.asserts');
/**
* Test for X.triplets.classname
*/
function testXtripletsClassname() {
var t = new X.triplets(1);
assertEquals(t.classname, 'triplets');
}
/**
* Test for X.triplets.add()
... | 19.164179 | 74 | 0.591641 |
83926abf20e580f96c0839a64794d770386ccc68 | 206 | js | JavaScript | src/pages/couponPlant/define.js | WangxinsHub/couponSystem | e766d4abb1dda0615523a3f59278c118abb76b6e | [
"MIT"
] | null | null | null | src/pages/couponPlant/define.js | WangxinsHub/couponSystem | e766d4abb1dda0615523a3f59278c118abb76b6e | [
"MIT"
] | 1 | 2020-06-16T05:52:16.000Z | 2020-06-16T05:52:16.000Z | src/pages/couponPlant/define.js | starWangx/couponSystem | e766d4abb1dda0615523a3f59278c118abb76b6e | [
"MIT"
] | null | null | null | /**
* 所有定义的参数,全写再index.js太长了,单独写一个文件
* 主要涵盖:面包屑,搜索,分页
*/
export default {
/*面包屑导航*/
breadMenu: [{
path: '',
title: '权益'
}, {
path: '',
title: '第三方平台'
}],
} | 14.714286 | 33 | 0.436893 |
83928cdd17de245ded8b6b12ef61f3889749d389 | 5,289 | js | JavaScript | Source/Quartzmin/Content/Scripts/global.js | jinweijie/Quartzmin | 246a4fe64339ad8cdd4b2c6c7d2336cb110d8300 | [
"MIT"
] | 397 | 2019-01-05T12:06:43.000Z | 2022-03-30T10:49:44.000Z | Source/Quartzmin/Content/Scripts/global.js | jinweijie/Quartzmin | 246a4fe64339ad8cdd4b2c6c7d2336cb110d8300 | [
"MIT"
] | 77 | 2020-06-22T03:32:50.000Z | 2022-03-23T11:40:27.000Z | Source/Quartzmin/Content/Scripts/global.js | jinweijie/Quartzmin | 246a4fe64339ad8cdd4b2c6c7d2336cb110d8300 | [
"MIT"
] | 142 | 2019-01-15T01:11:02.000Z | 2022-03-30T19:16:35.000Z | if (!String.prototype.startsWith) {
String.prototype.startsWith = function (searchString, position) {
position = position || 0;
return this.indexOf(searchString, position) === position;
};
}
if (!Array.prototype.fill) {
Object.defineProperty(Array.prototype, 'fill', {
value: functio... | 28.744565 | 139 | 0.484213 |
83941da6c2e104268090a14a2d18e6649e555dcc | 1,469 | js | JavaScript | dist/cidades/cidades.module.js | xitao-moura/absoluta-api | a84886d81d8ac3e8e149d1e350c91bb90397cb0e | [
"MIT"
] | null | null | null | dist/cidades/cidades.module.js | xitao-moura/absoluta-api | a84886d81d8ac3e8e149d1e350c91bb90397cb0e | [
"MIT"
] | null | null | null | dist/cidades/cidades.module.js | xitao-moura/absoluta-api | a84886d81d8ac3e8e149d1e350c91bb90397cb0e | [
"MIT"
] | null | null | null | "use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... | 52.464286 | 150 | 0.682097 |
839626fd247c8585a92828d864a2e12ac7ddb866 | 11,128 | js | JavaScript | src/index.js | ginareeena/phaser3-project-template | b64158b0042473d58cebd64125377c41488de3bb | [
"MIT"
] | null | null | null | src/index.js | ginareeena/phaser3-project-template | b64158b0042473d58cebd64125377c41488de3bb | [
"MIT"
] | null | null | null | src/index.js | ginareeena/phaser3-project-template | b64158b0042473d58cebd64125377c41488de3bb | [
"MIT"
] | null | null | null | import Phaser from "phaser";
let cat;
let highScore = 0;
let score = 0;
let health = 5;
let healthPercentage = 1;
class MyGame extends Phaser.Scene {
constructor() {
super();
this.gameOver = false;
this.playedBefore = false;
}
preload() {
this.load.spritesheet("cat", "./src/assets/pusheenWalk.p... | 26.432304 | 80 | 0.590762 |
83969643b167c4977e400db4fbd6f92d9e8198d4 | 7,173 | js | JavaScript | App.js | sayarsamanta/ReactNative-Demo | 2bac2b6abbad9ad8be5e4f6e3ac83c1cea26a340 | [
"Apache-2.0"
] | null | null | null | App.js | sayarsamanta/ReactNative-Demo | 2bac2b6abbad9ad8be5e4f6e3ac83c1cea26a340 | [
"Apache-2.0"
] | null | null | null | App.js | sayarsamanta/ReactNative-Demo | 2bac2b6abbad9ad8be5e4f6e3ac83c1cea26a340 | [
"Apache-2.0"
] | null | null | null |
/**
* Created by Sayar Samanta on 27th Nov
*/
import React, { useEffect, useState } from 'react';
import { FlatList, Pressable, StyleSheet, Text, View } from 'react-native';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { AntDesign } from '@expo/vector-icons';
import {Feather} from '... | 25.98913 | 102 | 0.582183 |
8397e7871c7e947237f0ca8c97e064beb48026f3 | 3,487 | js | JavaScript | src/lib/test.js | hacknlove/cuchito | 8949a65d73a8a93f69cccfe067f9bbf4d28416a7 | [
"MIT"
] | null | null | null | src/lib/test.js | hacknlove/cuchito | 8949a65d73a8a93f69cccfe067f9bbf4d28416a7 | [
"MIT"
] | 1 | 2022-01-22T12:44:34.000Z | 2022-01-22T12:44:34.000Z | src/lib/test.js | hacknlove/cuchito | 8949a65d73a8a93f69cccfe067f9bbf4d28416a7 | [
"MIT"
] | null | null | null | const chalk = require('chalk');
const error = chalk.red;
exports.beforeRequest = async function beforeRequest(req, res, next) {
if (!req.conf.test || !req.conf.test.beforeRequest) {
return next();
}
await req.conf.test.beforeRequest({ request: req.request }).catch((err) => {
console.error(error('before... | 28.581967 | 125 | 0.65988 |
839806243e04111afe98c3ab5c40f1db63244e49 | 67 | js | JavaScript | lib/verbs.js | floofjs/floof | 20c1b9b33cc67ae02ce2ce5a0319cbcbbf66f9fd | [
"MIT"
] | 1 | 2017-12-01T23:53:32.000Z | 2017-12-01T23:53:32.000Z | lib/verbs.js | floofjs/floof | 20c1b9b33cc67ae02ce2ce5a0319cbcbbf66f9fd | [
"MIT"
] | null | null | null | lib/verbs.js | floofjs/floof | 20c1b9b33cc67ae02ce2ce5a0319cbcbbf66f9fd | [
"MIT"
] | null | null | null | module.exports = ['GET', 'HEAD', 'POST', 'PUT', 'PATCH', 'DELETE']; | 67 | 67 | 0.567164 |
83983316fed6bcdc87958c4b843715c6e9bf2f4d | 1,602 | js | JavaScript | src/editor/util/getFontHash.js | kslf/fonteditor | 2302a3773f05887dcda3b6c13d242fdb8941d68b | [
"MIT"
] | null | null | null | src/editor/util/getFontHash.js | kslf/fonteditor | 2302a3773f05887dcda3b6c13d242fdb8941d68b | [
"MIT"
] | null | null | null | src/editor/util/getFontHash.js | kslf/fonteditor | 2302a3773f05887dcda3b6c13d242fdb8941d68b | [
"MIT"
] | null | null | null | /**
* @file getFontHash.js
* @author mengke01
* @date
* @description
* 获取font的hashcode
*/
define(
function(require) {
/**
* 获取glyf的hashcode
*
* @param {Object} font glyf字体结构
* @return {number} hashcode
*/
function getFontHash(font) {
... | 26.262295 | 104 | 0.44819 |
8398932986c3c345e696f34d68603f1b86037597 | 286 | js | JavaScript | test.js | SaptakBhoumik/sparrow | 717216f600739381e80c3fd3f2a4aa1381a7571e | [
"MIT"
] | 4 | 2022-02-06T19:10:56.000Z | 2022-02-08T13:58:10.000Z | test.js | SaptakBhoumik/sparrow | 717216f600739381e80c3fd3f2a4aa1381a7571e | [
"MIT"
] | null | null | null | test.js | SaptakBhoumik/sparrow | 717216f600739381e80c3fd3f2a4aa1381a7571e | [
"MIT"
] | null | null | null | // program to display fibonacci sequence using recursion
function fibonacci(num) {
if(num < 2) {
return num;
}
else {
return fibonacci(num-1) + fibonacci(num - 2);
}
}
const nTerms = 15;
for(let i = 0; i < nTerms; i++) {
console.log(fibonacci(i));
} | 20.428571 | 56 | 0.583916 |
8398ed5cf5f89861965399bb708da73601956f11 | 2,394 | js | JavaScript | script.js | cybind/html-crawler | d342923828626a3020fac2d1a940ac8632106142 | [
"MIT"
] | null | null | null | script.js | cybind/html-crawler | d342923828626a3020fac2d1a940ac8632106142 | [
"MIT"
] | null | null | null | script.js | cybind/html-crawler | d342923828626a3020fac2d1a940ac8632106142 | [
"MIT"
] | null | null | null | var endpoint = 'http://localhost:3000/auth';
// var endpoint = 'http://localhost:3000/process';
highlightLinks();
addCrawlButton();
function highlightLinks() {
$('a').addClass('crawler-link');
$('a').click(function() {
if ($(this).hasClass('selected'))
$(this).removeClass('selected');
... | 24.428571 | 85 | 0.497911 |
83995c3f24c4c6b965cb9530de21789f31ec1831 | 1,399 | js | JavaScript | src/redux/works/selectors.js | enterthevoid/liven | 6c3e739bc80efbbf7eebd68b1b86ff37f78fcf83 | [
"MIT"
] | null | null | null | src/redux/works/selectors.js | enterthevoid/liven | 6c3e739bc80efbbf7eebd68b1b86ff37f78fcf83 | [
"MIT"
] | null | null | null | src/redux/works/selectors.js | enterthevoid/liven | 6c3e739bc80efbbf7eebd68b1b86ff37f78fcf83 | [
"MIT"
] | null | null | null | import { createSelector } from "reselect";
const selectWorksDomain = (state) => {
return state.works;
};
const makeSelectWorkById = () => (state, id) =>
selectWorksDomain(state).worksList[id];
const makeSelectWorksIdList = () =>
createSelector(selectWorksDomain, (state) => state.worksLoadedIdList);
const make... | 27.98 | 72 | 0.738385 |
8399f36642cc5c815a5b0dd8cb1eea7e76fc4c36 | 596 | js | JavaScript | client/src/App.js | ezemog1996/El-Fuego-Eatery | 40da0f40bb346cb42633b945bbe02a65a6525c71 | [
"Unlicense"
] | null | null | null | client/src/App.js | ezemog1996/El-Fuego-Eatery | 40da0f40bb346cb42633b945bbe02a65a6525c71 | [
"Unlicense"
] | null | null | null | client/src/App.js | ezemog1996/El-Fuego-Eatery | 40da0f40bb346cb42633b945bbe02a65a6525c71 | [
"Unlicense"
] | null | null | null | import React from "react";
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import Home from "./pages/Home";
import Admin from "./pages/Admin";
import Login from "./pages/Login";
import Navbar from "./components/Navbar/Navbar.js";
function App() {
return (
<Router>
<div>
<... | 24.833333 | 74 | 0.588926 |
839a55e482e13c8e12ab52a8835e24cf1404ad5c | 1,110 | js | JavaScript | src/components/Curtain.js | HuminPiotr/AM-Cleaning-Service | 3f0e72e834301188d3062092339851e034a4174c | [
"RSA-MD"
] | null | null | null | src/components/Curtain.js | HuminPiotr/AM-Cleaning-Service | 3f0e72e834301188d3062092339851e034a4174c | [
"RSA-MD"
] | null | null | null | src/components/Curtain.js | HuminPiotr/AM-Cleaning-Service | 3f0e72e834301188d3062092339851e034a4174c | [
"RSA-MD"
] | null | null | null | import React, {Component} from 'react';
import styled from 'styled-components'
// CSS //
const StyledCurtian = styled.div`
width:100vw;
height: 100vh;
max-height: 1600px;
background: #fff;
position: absolute;
top:0;
right: 17%;
@keyframes animCurtain {
0%{
transfor... | 18.5 | 84 | 0.554054 |
839ba378cadee577c9c7579d1873805e75f51248 | 1,107 | js | JavaScript | Graphics/js/lib.js | tub99/Graphics-Library | 74e083fcdab6c379af5a427b50d6f8470929ccd8 | [
"MIT"
] | null | null | null | Graphics/js/lib.js | tub99/Graphics-Library | 74e083fcdab6c379af5a427b50d6f8470929ccd8 | [
"MIT"
] | null | null | null | Graphics/js/lib.js | tub99/Graphics-Library | 74e083fcdab6c379af5a427b50d6f8470929ccd8 | [
"MIT"
] | null | null | null | ////G is a namespace Object
var G = function(el){
this._el = document.querySelector(el);
} || {};
// Scene is the place we want to draw svg
G.Scene = function(el,w,h){
this.obj_str = "";
this._w = w || "100%";
this._h = h || "100%";
//checking if a div element doesn't exist it creates one with 'canv... | 35.709677 | 175 | 0.617886 |
839ca3ec016093f3bac962d869db7a24b3bc28d7 | 2,544 | js | JavaScript | src/torchvision/datasets/utilities.js | raghavmecheri/COMS4995 | 00d8c89d1b22b4256fd062b1068b3bd722af7644 | [
"MIT"
] | 12 | 2020-12-28T15:56:26.000Z | 2022-02-14T09:05:17.000Z | src/torchvision/datasets/utilities.js | raghavmecheri/ptjs | 00d8c89d1b22b4256fd062b1068b3bd722af7644 | [
"MIT"
] | 17 | 2020-09-30T09:35:06.000Z | 2020-11-10T06:27:52.000Z | src/torchvision/datasets/utilities.js | raghavmecheri/COMS4995 | 00d8c89d1b22b4256fd062b1068b3bd722af7644 | [
"MIT"
] | 1 | 2020-11-08T02:22:37.000Z | 2020-11-08T02:22:37.000Z | /**
* @module utilities
* @summary Collection of utility functions used for Dataset manipulation and management
* @exports hasFileAllowedExtension Used to check if a file compiles with the allowed extensions
* @exports makeDataset Create a list of instances in the required format for the DatasetFolder
*/
const { ... | 37.411765 | 165 | 0.705582 |
839cf93ce2127ade3ad55f97b44ded29ffb48027 | 5,196 | js | JavaScript | src/components/TickerToSignup/Ticker/index.js | grundeinkommensbuero/grundeinkommensbuero.github.io | b578d3350eb37587d6477faa1073848f25703b40 | [
"MIT"
] | 1 | 2020-11-17T14:36:52.000Z | 2020-11-17T14:36:52.000Z | src/components/TickerToSignup/Ticker/index.js | grundeinkommensbuero/website | bc97543f2dca3a7e34560bfc53ba989374bcd584 | [
"MIT"
] | 112 | 2019-08-02T06:51:20.000Z | 2022-03-30T09:09:41.000Z | src/components/TickerToSignup/Ticker/index.js | grundeinkommensbuero/grundeinkommensbuero.github.io | b578d3350eb37587d6477faa1073848f25703b40 | [
"MIT"
] | 2 | 2020-01-13T11:07:29.000Z | 2020-07-28T13:39:01.000Z | import React, { useContext, useState, useEffect } from 'react';
import cN from 'classnames';
import Reel from 'react-reel';
import * as s from './style.module.less';
import { MunicipalityContext } from '../../../context/Municipality';
import * as u from './utils';
import './reelstyle.less';
export const Ticker = ({ t... | 28.393443 | 80 | 0.537336 |
839d1822dcd409954827d01086384baf582bb696 | 4,222 | js | JavaScript | src/components/Product/Product.js | sergeykiskinfl/pineapplepi | 33a2b492e86922ddee6767c08169b99f9e5d05af | [
"Apache-2.0"
] | null | null | null | src/components/Product/Product.js | sergeykiskinfl/pineapplepi | 33a2b492e86922ddee6767c08169b99f9e5d05af | [
"Apache-2.0"
] | null | null | null | src/components/Product/Product.js | sergeykiskinfl/pineapplepi | 33a2b492e86922ddee6767c08169b99f9e5d05af | [
"Apache-2.0"
] | null | null | null | // React stuff
import React, { Component } from "react";
import PropTypes from "prop-types";
import { Link } from "react-router-dom";
import GroupOfFabs from "./GroupOfFabs";
// Redux stuff
import { connect } from "react-redux";
import {
increaseQuantity,
decreaseQuantity
} from "../../redux/actions/cartActions";
... | 25.90184 | 77 | 0.596874 |
839d3451fe7924c58a42386530c89bac790efcc4 | 1,625 | js | JavaScript | lib/git-json-merge.js | funkis/git-json-merge | 817434a380ad54eba9fff40199fb18f0d99e3a7c | [
"MIT"
] | null | null | null | lib/git-json-merge.js | funkis/git-json-merge | 817434a380ad54eba9fff40199fb18f0d99e3a7c | [
"MIT"
] | null | null | null | lib/git-json-merge.js | funkis/git-json-merge | 817434a380ad54eba9fff40199fb18f0d99e3a7c | [
"MIT"
] | null | null | null | var fs = require("fs");
var xdiff = require("xdiff");
var detectIndent = require("detect-indent");
var getId = obj => obj.id;
var custom_xdiff = xdiff.customize(getId);
var _ = require("lodash");
var encoding = "utf-8";
function mergeJsonFiles(oursFileName, baseFileName, theirsFileName) {
var oursJson = fs.readFileS... | 31.862745 | 106 | 0.735385 |
839de932bb09a6ea1daa7b4e743a62ccfd494481 | 2,015 | js | JavaScript | lib/index.js | thecrash/ps-react-library | c514d2c297c61ba3becfbabc85b3d5dad712ff70 | [
"MIT"
] | null | null | null | lib/index.js | thecrash/ps-react-library | c514d2c297c61ba3becfbabc85b3d5dad712ff70 | [
"MIT"
] | null | null | null | lib/index.js | thecrash/ps-react-library | c514d2c297c61ba3becfbabc85b3d5dad712ff70 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "HelloWorld", {
enumerable: true,
get: function get() {
return _HelloWorld.default;
}
});
Object.defineProperty(exports, "EyeIcon", {
enumerable: true,
get: function get() {
return _EyeIcon.d... | 25.506329 | 95 | 0.719107 |
839ec57a61b6a0d7b9ba7eaa93d083b70a585fc5 | 2,886 | js | JavaScript | examples/app.js | rifkihp/virtual-scroll | 51c9286dda5beee23a0e5b05ee06150322e05e51 | [
"MIT"
] | 4 | 2017-01-24T14:06:20.000Z | 2021-07-12T07:22:38.000Z | examples/app.js | rifkihp/virtual-scroll | 51c9286dda5beee23a0e5b05ee06150322e05e51 | [
"MIT"
] | 58 | 2016-07-19T15:08:58.000Z | 2020-05-24T20:09:37.000Z | examples/app.js | rifkihp/virtual-scroll | 51c9286dda5beee23a0e5b05ee06150322e05e51 | [
"MIT"
] | null | null | null | import VirtualScroll from '../src/VirtualScroll';
let listSource = [];
for (let i = 0; i < 3000; i++) listSource.push({ itemId: i });
let virtualScroll1 = new VirtualScroll({
// DOMnode the list will be renderd inside
root: document.getElementsByClassName('list')[0],
// itemHeight
itemHeight: 50,
// ARRAY ... | 34.357143 | 90 | 0.689882 |
83a01a9b0115a16f25dd3cc47a5db07d347e38db | 86 | js | JavaScript | docs/search--/s_1956.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | 2 | 2022-01-25T12:09:46.000Z | 2022-01-27T11:26:48.000Z | docs/search--/s_1956.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | null | null | null | docs/search--/s_1956.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | null | null | null | search_result['1956']=["topic_00000000000006F3.html","ERROR_DS_DRA_GENERIC Field",""]; | 86 | 86 | 0.790698 |
83a096b2943327393b699a36d6dca78d6e7225e4 | 1,839 | js | JavaScript | src/utils/request.js | wxc-lD/vue3-vite-demo | c269c7b68bc24be1a73532e410c06ff14b597307 | [
"MIT"
] | null | null | null | src/utils/request.js | wxc-lD/vue3-vite-demo | c269c7b68bc24be1a73532e410c06ff14b597307 | [
"MIT"
] | null | null | null | src/utils/request.js | wxc-lD/vue3-vite-demo | c269c7b68bc24be1a73532e410c06ff14b597307 | [
"MIT"
] | 1 | 2021-06-17T14:54:06.000Z | 2021-06-17T14:54:06.000Z | /*
* Copyright (c) 2021 fuzzy
* 项目名称:vue3-vite-demo
* 文件名称:request.js
* 创建日期:2021年06月16日
* 创建作者:fuzzy
*/
import axios from 'axios'
import {
ElMessage,
ElMessageBox
} from 'element-plus'
import storage from '@/utils/storage.js'
import {router} from '@/router/index.js'
const {
clearSession,
getSession
} =... | 21.635294 | 73 | 0.604676 |
83a0b7e1a1ba62426014e6cf91ed1eb39d44a749 | 2,368 | js | JavaScript | utils/Transaction.js | dtilik/yjs | ccaedda93fabb754049c2b88195cddcbcc23dfa6 | [
"MIT"
] | null | null | null | utils/Transaction.js | dtilik/yjs | ccaedda93fabb754049c2b88195cddcbcc23dfa6 | [
"MIT"
] | 1 | 2019-02-23T23:31:48.000Z | 2019-02-23T23:31:48.000Z | utils/Transaction.js | dtilik/yjs | ccaedda93fabb754049c2b88195cddcbcc23dfa6 | [
"MIT"
] | null | null | null | /**
* @module utils
*/
import * as encoding from '../lib/encoding.js'
import { Y } from '../utils/Y.js' // eslint-disable-line
import { Item } from '../structs/Item.js' // eslint-disable-line
import { Type } from '../structs/Type.js' // eslint-disable-line
import { YEvent } from './YEvent.js' // eslint-disable-line
... | 32.438356 | 79 | 0.629645 |
83a21e586e4f8df816453806039b1ee8dc5fb790 | 313 | js | JavaScript | src/lang/translations/index.js | DbgKinggg/gohan-go-nft | 2a6672389f530d66a23583ad8691ede76f306987 | [
"MIT"
] | 2 | 2022-03-12T12:06:46.000Z | 2022-03-21T01:49:35.000Z | src/lang/translations/index.js | DbgKinggg/gohan-go-nft | 2a6672389f530d66a23583ad8691ede76f306987 | [
"MIT"
] | null | null | null | src/lang/translations/index.js | DbgKinggg/gohan-go-nft | 2a6672389f530d66a23583ad8691ede76f306987 | [
"MIT"
] | null | null | null | export default {
en: {
name: "English",
load: () => {
return import("./en.json");
},
},
zh_Hans: {
name: "简体中文",
load: () => {
return import("./zh_Hans.json");
},
},
zh_Hant: {
name: "繁體中文",
load: () => {
return import("./zh_Hant.json");
},
},
};
| 14.904762 | 38 | 0.421725 |
83a290538edc46ac5f3b29d4faeaeabd7847fa26 | 703 | js | JavaScript | static/html/structt4_1_1pdf_1_1border_1_1effect.js | AdobeDocs/dc-testing | a69533527c3646ea8b0072b35df51ae50b07dae5 | [
"Apache-2.0"
] | null | null | null | static/html/structt4_1_1pdf_1_1border_1_1effect.js | AdobeDocs/dc-testing | a69533527c3646ea8b0072b35df51ae50b07dae5 | [
"Apache-2.0"
] | 9 | 2021-10-14T05:18:57.000Z | 2022-03-10T05:39:14.000Z | static/html/structt4_1_1pdf_1_1border_1_1effect.js | AdobeDocs/dc-testing | a69533527c3646ea8b0072b35df51ae50b07dae5 | [
"Apache-2.0"
] | null | null | null | var structt4_1_1pdf_1_1border_1_1effect =
[
[ "style", "structt4_1_1pdf_1_1border_1_1effect.html#a287452c10bb75e81f07efa630d9f63a6", [
[ "cloudy", "structt4_1_1pdf_1_1border_1_1effect.html#a287452c10bb75e81f07efa630d9f63a6af3639baeb4530db03ef930eb16073f61", null ]
] ],
[ "effect", "structt4_1_1pdf_1_1... | 70.3 | 135 | 0.805121 |
83a2a786d3cd3aa5c83a623b0878bd2918d7777c | 2,455 | js | JavaScript | src/kibi_plugins/kibi_sequential_join_vis/public/kibi_sequential_join_vis_params.js | rpatil524/kibi | ef015f25a559bf1623a5376fd24c68cd221fe240 | [
"Apache-2.0"
] | 546 | 2015-09-14T17:51:46.000Z | 2021-11-02T00:48:01.000Z | src/kibi_plugins/kibi_sequential_join_vis/public/kibi_sequential_join_vis_params.js | rpatil524/kibi | ef015f25a559bf1623a5376fd24c68cd221fe240 | [
"Apache-2.0"
] | 102 | 2015-09-28T14:14:32.000Z | 2020-07-21T21:23:20.000Z | src/kibi_plugins/kibi_sequential_join_vis/public/kibi_sequential_join_vis_params.js | rpatil524/kibi | ef015f25a559bf1623a5376fd24c68cd221fe240 | [
"Apache-2.0"
] | 144 | 2015-09-13T16:41:41.000Z | 2020-06-26T20:32:33.000Z | import 'ui/kibi/directives/kibi_select';
import 'ui/kibi/directives/kibi_array_param';
import 'ui/kibi/directives/kibi_menu_template';
import _ from 'lodash';
import menuTemplateHtml from 'ui/kibi/directives/kibi_menu_template_sequential_join_vis.html';
import template from 'plugins/kibi_sequential_join_vis/kibi_sequen... | 30.308642 | 116 | 0.564969 |
83a3174e33d13b079dad2c1698a1f937312d4fd9 | 3,994 | js | JavaScript | src/dependencies/ModuleDependencyTemplateAsResolveName.js | Beven91/webpack-node-module-plugin | 92ef544e4555241e2565aabc58d99587dcd35e23 | [
"MIT"
] | 4 | 2017-06-02T05:54:44.000Z | 2018-02-27T09:04:35.000Z | src/dependencies/ModuleDependencyTemplateAsResolveName.js | Beven91/webpack-node-module-plugin | 92ef544e4555241e2565aabc58d99587dcd35e23 | [
"MIT"
] | 1 | 2017-10-12T08:47:10.000Z | 2017-12-29T09:28:07.000Z | src/dependencies/ModuleDependencyTemplateAsResolveName.js | Beven91/webpack-node-module-plugin | 92ef544e4555241e2565aabc58d99587dcd35e23 | [
"MIT"
] | null | null | null | /**
* 名称:webpack 模块引用标识符模板
* 日期:2017-06-01
* 描述:用于替换CommonJsRequireDependency.Template
* 从而实现 require(模块名称) 而不是require(模块id)
*/
var path = require('path')
var NameResolve = require('./NameResolve');
var CommonJsRequireDependency = require('webpack/lib/dependencies/CommonJsRequireDependency.js')
var resolve... | 34.730435 | 114 | 0.698548 |
83a326f18561571faa80a880885bfc9e6cd7e9bc | 228 | js | JavaScript | src/shared/components/forms/components/FormField/styles.js | Blizzt/blizzt.io | a7178c379acee26269a51725f65a7e2b1ba44422 | [
"MIT"
] | null | null | null | src/shared/components/forms/components/FormField/styles.js | Blizzt/blizzt.io | a7178c379acee26269a51725f65a7e2b1ba44422 | [
"MIT"
] | null | null | null | src/shared/components/forms/components/FormField/styles.js | Blizzt/blizzt.io | a7178c379acee26269a51725f65a7e2b1ba44422 | [
"MIT"
] | null | null | null | // Dependencies
import styled from 'styled-components';
export const Layout = styled.div``;
export const Label = styled.h5`
font-size: 14px;
line-height: 20px;
`;
export const Container = styled.div`
margin-top: 4px;
`;
| 16.285714 | 39 | 0.70614 |
83a34bda4dc3124c975e3f06249b7b66ae2080e3 | 1,599 | js | JavaScript | index.js | mjhlybmwq/IconCSSToJSON | 94d258208cc06f1999c6fad1ffcf3baf8c55e161 | [
"MIT"
] | null | null | null | index.js | mjhlybmwq/IconCSSToJSON | 94d258208cc06f1999c6fad1ffcf3baf8c55e161 | [
"MIT"
] | null | null | null | index.js | mjhlybmwq/IconCSSToJSON | 94d258208cc06f1999c6fad1ffcf3baf8c55e161 | [
"MIT"
] | null | null | null | #! /usr/bin/env node
var css = require('css');
var argvs = require('minimist')(process.argv.slice(2));
var fs = require('fs');
var path = require('path');
var DEFAULT_PREFIX = "icon";
if(argvs._.length == 0) {
console.error("no css file");
process.exit();
}
if(argvs._.length > 1) {
console.error("more than on... | 19.035714 | 55 | 0.634146 |
83a3f114922a792f0d5a5f16c70d3484b913dcdb | 996 | js | JavaScript | bin/semantic-release-github-pr.js | pmowrer/semantic-release-github-pr | 8d7a71c8b452826a8b69df34721186e02dbe90ed | [
"MIT"
] | 17 | 2020-01-31T21:43:18.000Z | 2022-03-12T07:06:30.000Z | bin/semantic-release-github-pr.js | Updater/semantic-release-github-pr | 8d7a71c8b452826a8b69df34721186e02dbe90ed | [
"MIT"
] | 34 | 2017-12-05T00:46:59.000Z | 2019-07-19T05:07:39.000Z | bin/semantic-release-github-pr.js | Updater/semantic-release-github-pr | 8d7a71c8b452826a8b69df34721186e02dbe90ed | [
"MIT"
] | 4 | 2018-04-26T02:29:42.000Z | 2019-06-02T05:19:08.000Z | #!/usr/bin/env node
const execa = require('execa');
const envCi = require('env-ci');
const { argv } = process;
const { resolve } = require('path');
const { getCurrentBranchName } = require('../src/git-utils');
(async function() {
const plugins = `${resolve(__dirname, '../src/index.js')}`;
const currentBranchName =... | 35.571429 | 82 | 0.64759 |
83a3f2c01888a4c0c137be3276aeca6e70036523 | 1,338 | js | JavaScript | doc/html/search/all_c.js | astagi/sol-verificaC19-sdk-cpp-linux | fc95e5ad423e1ace5dc2f46c175605fd3bc28eea | [
"Apache-2.0"
] | null | null | null | doc/html/search/all_c.js | astagi/sol-verificaC19-sdk-cpp-linux | fc95e5ad423e1ace5dc2f46c175605fd3bc28eea | [
"Apache-2.0"
] | null | null | null | doc/html/search/all_c.js | astagi/sol-verificaC19-sdk-cpp-linux | fc95e5ad423e1ace5dc2f46c175605fd3bc28eea | [
"Apache-2.0"
] | null | null | null | var searchData=
[
['test_62',['test',['../classverificaC19Sdk_1_1CertificateModel.html#aca0bec1feacde03902c5a64af6b79420',1,'verificaC19Sdk::CertificateModel']]],
['testingcentre_63',['testingCentre',['../classverificaC19Sdk_1_1TestModel.html#a2e47619b1fa1c9e29292c046bb093209',1,'verificaC19Sdk::TestModel']]],
['... | 102.923077 | 174 | 0.801943 |
83a4553db7027d8f71c66b537643763e2aff1d30 | 2,121 | js | JavaScript | src/scenes/App/scenes/MapOverview/components/LeaderboardContainer/components/Leaderboard/index.js | laurirasanen/tempus-website | 24df3500f204517ad23557487420adc19bee8163 | [
"MIT"
] | null | null | null | src/scenes/App/scenes/MapOverview/components/LeaderboardContainer/components/Leaderboard/index.js | laurirasanen/tempus-website | 24df3500f204517ad23557487420adc19bee8163 | [
"MIT"
] | null | null | null | src/scenes/App/scenes/MapOverview/components/LeaderboardContainer/components/Leaderboard/index.js | laurirasanen/tempus-website | 24df3500f204517ad23557487420adc19bee8163 | [
"MIT"
] | null | null | null | import React from 'react'
import {CLASSINDEX_TO_NAME} from 'root/constants/TFClasses'
import Col from 'react-bootstrap/lib/Col'
import LeaderboardItem from './components/LeaderboardItem'
import {Scrollbars} from 'react-custom-scrollbars'
import './styles.styl'
export default class Leaderboard extends React.Componen... | 26.5125 | 77 | 0.517209 |
83a5cb7ef4f04702a62a15cd4409aec828a22a79 | 6,983 | js | JavaScript | prcon3dj/PRCON3_dj/static/PRCON3_dj/js/UI_main.js | MiloLug/prcon3 | 4e767b545aea10942f66926f35e5a85c43a237f7 | [
"BSD-3-Clause-Clear"
] | 1 | 2018-11-04T06:48:04.000Z | 2018-11-04T06:48:04.000Z | prcon3dj/PRCON3_dj/static/PRCON3_dj/js/UI_main.js | MiloLug/prcon3 | 4e767b545aea10942f66926f35e5a85c43a237f7 | [
"BSD-3-Clause-Clear"
] | null | null | null | prcon3dj/PRCON3_dj/static/PRCON3_dj/js/UI_main.js | MiloLug/prcon3 | 4e767b545aea10942f66926f35e5a85c43a237f7 | [
"BSD-3-Clause-Clear"
] | null | null | null | (function(){
"use stict";
A({
addFromText: function (txt, pos) {
var a = this.a(),
el = document.createElement('div');
el.innerHTML = txt;
el.children.all(function (elem) {
elem.paste({
in: a,
pos: pos
});
});
return a;
},
br: function get() {
var a = this.a();
a.parent... | 25.578755 | 123 | 0.485035 |
83a5cc34e3a9a968315ca444fe25dcf3e058c7a0 | 1,810 | js | JavaScript | client/src/components/general/spinner/Spinner.js | alecspringel/booking-app | 6a6719b63ae27ebda40e5795df6c1c83e28bf667 | [
"MIT"
] | 2 | 2020-10-28T01:27:03.000Z | 2020-10-28T01:48:44.000Z | client/src/components/general/spinner/Spinner.js | alecspringel/booking-app | 6a6719b63ae27ebda40e5795df6c1c83e28bf667 | [
"MIT"
] | null | null | null | client/src/components/general/spinner/Spinner.js | alecspringel/booking-app | 6a6719b63ae27ebda40e5795df6c1c83e28bf667 | [
"MIT"
] | null | null | null | /**
* @fileoverview A React Spinner component
* @exports JSX.Element
*/
import React, { useState, useEffect } from "react";
import "./spinner.css";
/**
* @name Spinner
* @extends `IconButton`
* @description Renders a `Spinner` component into an `IconButton`.
* @param {string} props.className The default class o... | 33.518519 | 109 | 0.671823 |
83a5f013c820889a8838035beb496823db0a01ff | 2,141 | js | JavaScript | src/app.js | ser163/tole-front | a1ed6535715da75180ccace584a12ee0a41537f9 | [
"MIT"
] | 1 | 2021-06-11T04:22:41.000Z | 2021-06-11T04:22:41.000Z | src/app.js | ser163/tole-front | a1ed6535715da75180ccace584a12ee0a41537f9 | [
"MIT"
] | null | null | null | src/app.js | ser163/tole-front | a1ed6535715da75180ccace584a12ee0a41537f9 | [
"MIT"
] | null | null | null | import './assets/styles/main.scss';
export default function () {
this.FesApp.set('FesName', '$i18n.title');
// 设置退出逻辑
this.on('fes_logout', () => {
this.FesApp.setRole('unLogin');
this.FesStorage.set('userLogin', false);
this.FesFesx.clear();
});
// 设置logo点击事件
this.on... | 23.788889 | 70 | 0.530126 |
83a6469a186c86f3488d8c073d0ccf6346a1f534 | 1,251 | js | JavaScript | web/src/providers/context/AuthContext.js | jacebenson/news.jace.pro | ec382dd9ff5f16f8e1eeda9f7bd776a19c9f5b89 | [
"MIT"
] | 3 | 2022-03-12T07:23:52.000Z | 2022-03-23T02:58:40.000Z | web/src/providers/context/AuthContext.js | jacebenson/news.jace.pro | ec382dd9ff5f16f8e1eeda9f7bd776a19c9f5b89 | [
"MIT"
] | 9 | 2022-02-25T06:09:43.000Z | 2022-03-23T03:12:34.000Z | web/src/providers/context/AuthContext.js | jacebenson/news.jace.pro | ec382dd9ff5f16f8e1eeda9f7bd776a19c9f5b89 | [
"MIT"
] | 2 | 2022-03-02T04:25:15.000Z | 2022-03-22T18:44:44.000Z | import { useAuth } from '@redwoodjs/auth'
const AuthContext = React.createContext()
const AuthContextProvider = ({ children }) => {
/**
* loading: boolean;
isAuthenticated: boolean;
currentUser: null | CurrentUser;
userMetadata: null | SupportedUserMetadata;
logIn(options?: unknown): Promise<any>;... | 30.512195 | 75 | 0.673861 |
83a703128c207c8301f41e4accff2187e459cec9 | 232 | js | JavaScript | src/components/btn/btn.js | smithavt14/wetech-site | c2102e99d44c383f0ae3a7cfadc9992c8e3f3a34 | [
"RSA-MD"
] | null | null | null | src/components/btn/btn.js | smithavt14/wetech-site | c2102e99d44c383f0ae3a7cfadc9992c8e3f3a34 | [
"RSA-MD"
] | null | null | null | src/components/btn/btn.js | smithavt14/wetech-site | c2102e99d44c383f0ae3a7cfadc9992c8e3f3a34 | [
"RSA-MD"
] | null | null | null | import React from "react"
import styles from "./btn.module.css"
import cx from "classnames"
export default function Button(props) {
return (
<div className={cx(styles.btn, styles.btnPrimary)}>
{props.content}
</div>
)
} | 21.090909 | 53 | 0.698276 |
83a751790934d80dd80a9b263170bc00cf709702 | 1,775 | js | JavaScript | src/features/restaurants/components/restaurants-info-card.component.js | vinhdps/MealsToGo | b6befffc556682e2f4868690773e2854b6dae7f5 | [
"MIT"
] | null | null | null | src/features/restaurants/components/restaurants-info-card.component.js | vinhdps/MealsToGo | b6befffc556682e2f4868690773e2854b6dae7f5 | [
"MIT"
] | null | null | null | src/features/restaurants/components/restaurants-info-card.component.js | vinhdps/MealsToGo | b6befffc556682e2f4868690773e2854b6dae7f5 | [
"MIT"
] | 1 | 2021-05-13T16:02:24.000Z | 2021-05-13T16:02:24.000Z | import React from "react";
import {
RestaurantCard,
CardPicture,
CardInfo,
LeftSection,
RightSection,
Rating,
Star,
Opening,
Icon,
} from "./restaurants-info-card.styles";
import { Text } from "../../../components/typography/text.components";
import { Spacer } from "../../../components/spacer/spacer.c... | 30.603448 | 115 | 0.592113 |
83a7b9e56980753faea6ca70feae649500873488 | 15,121 | js | JavaScript | Best Pandemic Movies to Binge in Quarantine – dailyaccessnews.com_files/single.js | alexgmartin/spigot-case-study | 21a888081d4d5a638b4c7ca39150814d1e9e1f29 | [
"Apache-2.0"
] | null | null | null | Best Pandemic Movies to Binge in Quarantine – dailyaccessnews.com_files/single.js | alexgmartin/spigot-case-study | 21a888081d4d5a638b4c7ca39150814d1e9e1f29 | [
"Apache-2.0"
] | null | null | null | Best Pandemic Movies to Binge in Quarantine – dailyaccessnews.com_files/single.js | alexgmartin/spigot-case-study | 21a888081d4d5a638b4c7ca39150814d1e9e1f29 | [
"Apache-2.0"
] | null | null | null | if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQ... | 7,560.5 | 15,120 | 0.716553 |
83a7eefa0b889b8d09b8d8891ae4f3936ff668a3 | 2,984 | js | JavaScript | src/dom/renderer.js | matthewtoast/runiq-vdom | a87938e2f6d1fc25c027210b1051ad15154f9ebd | [
"0BSD"
] | 1 | 2015-12-24T00:51:45.000Z | 2015-12-24T00:51:45.000Z | src/dom/renderer.js | matthewtoast/runiq-vdom | a87938e2f6d1fc25c027210b1051ad15154f9ebd | [
"0BSD"
] | null | null | null | src/dom/renderer.js | matthewtoast/runiq-vdom | a87938e2f6d1fc25c027210b1051ad15154f9ebd | [
"0BSD"
] | null | null | null | 'use strict'
var H = require('virtual-dom/h');
var Diff = require('virtual-dom/diff');
var Patch = require('virtual-dom/patch');
var CreateElement = require('virtual-dom/create-element');
var DEPRECATED_PROPS = {
'webkitMovementX': true,
'webkitMovementY': true,
'keyLocation': true
};
var UNSERIALIZABLE_... | 26.642857 | 80 | 0.607239 |
83a85b59c2f9b6a8fefca4363747bf757987c18e | 894 | js | JavaScript | projects/shojo/src/assets/js/imageResize.js | calibur-tv/arthur | d0a372d195a85e3d0c15922ab38a6f5cb694650c | [
"MIT"
] | null | null | null | projects/shojo/src/assets/js/imageResize.js | calibur-tv/arthur | d0a372d195a85e3d0c15922ab38a6f5cb694650c | [
"MIT"
] | null | null | null | projects/shojo/src/assets/js/imageResize.js | calibur-tv/arthur | d0a372d195a85e3d0c15922ab38a6f5cb694650c | [
"MIT"
] | null | null | null | export default (url, { width, height, rule, webP }) => {
if (!url) {
return ''
}
if (/imageMogr2/.test(url) || url.startsWith('data')) {
return url
}
const link = url.startsWith('http') ? url : `https://m1.calibur.tv/${url}`
const format = webP ? '/format/webp' : ''
const mode = rule === undefin... | 27.9375 | 83 | 0.52349 |
83a877a18281785eba19e4a67d82558f9c43d166 | 1,582 | js | JavaScript | tools.js | payfast-api/core | 6552ab8e69c9b4438222242d8d12b475cbc3fdc4 | [
"MIT"
] | null | null | null | tools.js | payfast-api/core | 6552ab8e69c9b4438222242d8d12b475cbc3fdc4 | [
"MIT"
] | null | null | null | tools.js | payfast-api/core | 6552ab8e69c9b4438222242d8d12b475cbc3fdc4 | [
"MIT"
] | 3 | 2020-07-01T01:36:49.000Z | 2021-05-25T09:38:35.000Z | var md5 = require('md5');
exports.urlencode = async (params) => {
let result = [];
Object.keys(params).sort().map(key => {
params[key] = encodeURIComponent(params[key]);
params[key] = params[key].replace(/\%20/g, '+');
result.push(key + "=" + params[key]);
});
return await res... | 23.969697 | 75 | 0.490518 |
83a9701be5c07f4a978c2ba4b52866252a99dcac | 2,339 | js | JavaScript | sources/src/yoast/search-metadata-previews/snippet-preview/ProductDataMobile.js | jvega190/yoast-plugin | b15e1dc4789db0b18a460aa8db7dba0372298cf6 | [
"MIT"
] | null | null | null | sources/src/yoast/search-metadata-previews/snippet-preview/ProductDataMobile.js | jvega190/yoast-plugin | b15e1dc4789db0b18a460aa8db7dba0372298cf6 | [
"MIT"
] | null | null | null | sources/src/yoast/search-metadata-previews/snippet-preview/ProductDataMobile.js | jvega190/yoast-plugin | b15e1dc4789db0b18a460aa8db7dba0372298cf6 | [
"MIT"
] | null | null | null | import React from "react";
import PropTypes from "prop-types";
import styled from "styled-components";
import { __ } from "@wordpress/i18n";
import { round, capitalize } from "lodash";
import { StarRating } from "../../components";
const ProductData = styled.div`
display: flex;
margin-top: -16px;
line-height: 1.6;... | 28.52439 | 107 | 0.695596 |
83a997c5009e3820d7203c67f606c6e08671ff07 | 1,381 | js | JavaScript | lib/axiom/fs/stream/writable_stream.js | samkenxstream/axiom | a9fad51fecd1de0d839085958e26a344944155ef | [
"Apache-2.0"
] | 56 | 2015-03-25T19:52:29.000Z | 2021-07-03T22:42:54.000Z | lib/axiom/fs/stream/writable_stream.js | samkenxstream/axiom | a9fad51fecd1de0d839085958e26a344944155ef | [
"Apache-2.0"
] | 88 | 2015-03-25T17:25:09.000Z | 2022-01-17T19:02:18.000Z | lib/axiom/fs/stream/writable_stream.js | samkenxstream/axiom | a9fad51fecd1de0d839085958e26a344944155ef | [
"Apache-2.0"
] | 25 | 2015-03-25T17:10:47.000Z | 2022-03-14T23:31:37.000Z | // Copyright 2015 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 applicable... | 27.62 | 76 | 0.708907 |
83aa2fe6bdc8f389553dc14b18db5f97e94b3b8a | 1,079 | js | JavaScript | packages/wiplib/src/operations/brightnessAndContrastAdjustment.js | cocoli89/WebImageProcessing | b771c24bccffd8926b09eaf3099b27bc39e8aec0 | [
"MIT"
] | 14 | 2019-02-21T09:21:02.000Z | 2019-07-23T06:16:19.000Z | packages/wiplib/src/operations/brightnessAndContrastAdjustment.js | cocoli89/WebImageProcessing | b771c24bccffd8926b09eaf3099b27bc39e8aec0 | [
"MIT"
] | 1 | 2019-04-05T20:09:04.000Z | 2019-04-05T20:22:26.000Z | packages/wiplib/src/operations/brightnessAndContrastAdjustment.js | cocoli89/WebImageProcessing | b771c24bccffd8926b09eaf3099b27bc39e8aec0 | [
"MIT"
] | 2 | 2019-05-31T18:43:32.000Z | 2021-07-17T03:41:12.000Z | import { createLookupTable, applyLookupTable } from "./transformImage";
/**
* Changes the contrast and the brightness of the given image
*
* @param {RgbaImageBuffer} imgBuffer Image to transform
* @param {number[]} oldBrightnesses Previous brightnesses of the image
* @param {number[]} oldContrasts Previous contra... | 32.69697 | 75 | 0.729379 |
83aa3611d8d5b233e1408a683b87c43f14d1933f | 1,377 | js | JavaScript | web/src/quiz/Quiz.js | Luke-Vear/nettaton | ae80017d5e48188bf83eec336ea27380b21c900f | [
"MIT"
] | 2 | 2017-09-18T10:49:26.000Z | 2018-03-25T18:13:22.000Z | web/src/quiz/Quiz.js | Luke-Vear/nettaton | ae80017d5e48188bf83eec336ea27380b21c900f | [
"MIT"
] | 1 | 2018-11-11T07:36:21.000Z | 2018-11-11T07:36:21.000Z | web/src/quiz/Quiz.js | Luke-Vear/nettaton | ae80017d5e48188bf83eec336ea27380b21c900f | [
"MIT"
] | 3 | 2018-02-16T10:01:50.000Z | 2018-11-11T00:55:57.000Z | import React from 'react'
import { connect } from 'react-redux'
import { actions } from './redux'
import { BusyButton } from '../components/BusyButton'
import { ResultDisplay } from '../components/ResultDisplay'
import { AnswerField } from '../components/AnswerField'
import { QuestionDisplay } from '../components/Quest... | 41.727273 | 128 | 0.718954 |
5d07c4559ae9a89190565fdc9fe510cadfe1cd32 | 235 | js | JavaScript | controllers/utils/isEmpty.js | PeterAyad/Backend-API | 5d3988944d33c1b909abc15bf3719497c9b435b2 | [
"MIT"
] | 7 | 2022-01-06T17:20:54.000Z | 2022-03-15T16:37:06.000Z | controllers/utils/isEmpty.js | TumblrX/Backend-API | 5d3988944d33c1b909abc15bf3719497c9b435b2 | [
"MIT"
] | null | null | null | controllers/utils/isEmpty.js | TumblrX/Backend-API | 5d3988944d33c1b909abc15bf3719497c9b435b2 | [
"MIT"
] | 2 | 2022-01-06T14:20:20.000Z | 2022-01-06T18:07:15.000Z | module.exports = function(strIn) {
if (strIn === undefined) {
return true;
} else if (strIn == null) {
return true;
} else if (strIn == '') {
return true;
} else {
return false;
}
};
| 19.583333 | 34 | 0.480851 |
5d084ed6d652183cc98db2f5fd6e6750525a193f | 302 | js | JavaScript | src/services/credentials.js | oleg19960606/react4 | a7b55456506f704071c6cf7477d4d12ae93cdb72 | [
"MIT"
] | 331 | 2018-04-06T13:11:04.000Z | 2022-03-17T13:51:55.000Z | src/services/credentials.js | cor/vue-testing-examples | ab9d206ec74c1764438926b01082f9efde457f0d | [
"MIT"
] | 6 | 2021-11-05T04:20:53.000Z | 2022-02-27T20:13:27.000Z | src/services/credentials.js | cor/vue-testing-examples | ab9d206ec74c1764438926b01082f9efde457f0d | [
"MIT"
] | 36 | 2018-09-03T12:36:42.000Z | 2021-05-14T15:32:10.000Z | import { Register } from '@di';
export const CREDENTIALS_SERVICE_ID = Symbol('credentialsService');
@Register(CREDENTIALS_SERVICE_ID)
export default class CredentialsService {
sanitize (input) {
if (input && input.trim) {
return input.trim();
} else {
return input;
}
}
}
| 20.133333 | 67 | 0.668874 |
5d0943c69e5b2d4bd01b7e7221e6c357132a23e5 | 586 | js | JavaScript | web/src/core/components/Page/Page.js | xvicmanx/activities-app | 091e3c8f1a6bf0a0517b82305f7a5e56aae50780 | [
"MIT"
] | 2 | 2020-12-11T02:56:10.000Z | 2020-12-14T21:36:50.000Z | web/src/core/components/Page/Page.js | xvicmanx/activities-app | 091e3c8f1a6bf0a0517b82305f7a5e56aae50780 | [
"MIT"
] | null | null | null | web/src/core/components/Page/Page.js | xvicmanx/activities-app | 091e3c8f1a6bf0a0517b82305f7a5e56aae50780 | [
"MIT"
] | 1 | 2020-12-14T19:36:20.000Z | 2020-12-14T19:36:20.000Z | // @flow
import React from 'react';
import type { Node } from 'react';
import { Heading } from 'react-bulma-components';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import './Page.css';
type Props = {
title: string,
icon: any,
children: Node,
};
const Page = ({ title, icon, children }: P... | 22.538462 | 74 | 0.658703 |
5d09fefc0c13a9bf9d3b5f2b3da2191ff9972c94 | 6,384 | js | JavaScript | services/dsrp-web/src/selectors/applicationSelectors.js | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | null | null | null | services/dsrp-web/src/selectors/applicationSelectors.js | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | 9 | 2020-05-06T23:29:43.000Z | 2022-03-14T22:58:17.000Z | services/dsrp-web/src/selectors/applicationSelectors.js | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | 3 | 2020-05-08T16:54:22.000Z | 2021-01-27T17:28:49.000Z | import {
startCase,
camelCase,
isObjectLike,
isEmpty,
isArrayLike,
sum,
get,
startsWith,
endsWith,
flatten,
} from "lodash";
import { createSelector } from "reselect";
import * as applicationReducer from "../reducers/applicationReducer";
import { getWells, getLiabilities, getNominatedWells } from "@... | 36.901734 | 100 | 0.658521 |
5d0b698457b0407a90ec7d1f76edca32506295a1 | 52 | js | JavaScript | test/projects/large/b806.js | homobel/makebird-node | 07f9621883a2247e538fb8d8e3824a403b5154b7 | [
"MIT"
] | 4 | 2015-02-22T22:08:52.000Z | 2018-05-12T18:08:21.000Z | test/projects/large/b806.js | homobel/makebird-node | 07f9621883a2247e538fb8d8e3824a403b5154b7 | [
"MIT"
] | null | null | null | test/projects/large/b806.js | homobel/makebird-node | 07f9621883a2247e538fb8d8e3824a403b5154b7 | [
"MIT"
] | null | null | null | //~ name b806
alert(b806);
//~ component b807.js
| 7.428571 | 21 | 0.615385 |
5d0be4cddfcd3727109218e2c18c21e81e7e0467 | 935 | js | JavaScript | packages/app/modules/oauth/oauth.reducer.js | LorenzoHiver-LV/LvConnect | 35ba943facf7a91418886428c72f7ae36dd46b32 | [
"MIT"
] | 1 | 2021-05-25T15:50:04.000Z | 2021-05-25T15:50:04.000Z | packages/app/modules/oauth/oauth.reducer.js | LorenzoHiver-LV/LvConnect | 35ba943facf7a91418886428c72f7ae36dd46b32 | [
"MIT"
] | 41 | 2019-02-19T12:11:09.000Z | 2022-02-26T09:56:25.000Z | packages/app/modules/oauth/oauth.reducer.js | isabella232/LvConnect | 3a5a2bce2196422971f350e9f314ddd360d738a6 | [
"MIT"
] | 3 | 2020-02-05T15:08:20.000Z | 2020-12-03T11:53:18.000Z | // @flow
import { FETCH_PERMISSIONS_ERROR, FETCH_PERMISSIONS_START, FETCH_PERMISSIONS_SUCCESS } from './oauth.actions';
type PermissionDetails = {
application: App,
permissionsToAllow: Array<string>,
redirectTo: string,
}
export type OAuthState = {
error: false | Error,
loading: boolean,
result: Permissi... | 19.893617 | 110 | 0.618182 |
5d0c388ca8b46c5e334f2b6182494ad91410f73e | 7,553 | js | JavaScript | client/apps/descriptor/collections/formatunit.js | coll-gate/collgate | 8c2ff1c59adda2bf318040f588c05263317a2812 | [
"MIT"
] | 2 | 2017-07-04T16:19:09.000Z | 2019-08-16T04:54:47.000Z | client/apps/descriptor/collections/formatunit.js | coll-gate/collgate | 8c2ff1c59adda2bf318040f588c05263317a2812 | [
"MIT"
] | null | null | null | client/apps/descriptor/collections/formatunit.js | coll-gate/collgate | 8c2ff1c59adda2bf318040f588c05263317a2812 | [
"MIT"
] | 1 | 2018-04-13T08:28:09.000Z | 2018-04-13T08:28:09.000Z | /**
* @file formatunit.js
* @brief Descriptor type format unit collection
* @author Frédéric SCHERMA (INRA UMR1095)
* @date 2017-01-04
* @copyright Copyright (c) 2017 INRA/CIRAD
* @license MIT (see LICENSE file)
* @details
*/
let FormatUnitModel = require('../models/formatunit');
let Collection = Backbone.Co... | 44.958333 | 101 | 0.548259 |
5d0d24629012cdc8723fe062e4c5a007e2d50565 | 1,205 | js | JavaScript | viz/rating_distributions/yelp/ratings_global_variables.js | rchurch4/georgetown-data-science-fall-2015 | b27ef028a37514bde9f96ab28aee15ba455101db | [
"MIT"
] | null | null | null | viz/rating_distributions/yelp/ratings_global_variables.js | rchurch4/georgetown-data-science-fall-2015 | b27ef028a37514bde9f96ab28aee15ba455101db | [
"MIT"
] | null | null | null | viz/rating_distributions/yelp/ratings_global_variables.js | rchurch4/georgetown-data-science-fall-2015 | b27ef028a37514bde9f96ab28aee15ba455101db | [
"MIT"
] | null | null | null | // Ratings Distribution - Local vs. Non-local d3 Bar Graphs
// Global Variables
// Version 1.3
// References:
// 1) d3 bar graph template: http://bl.ocks.org/mbostock/3885304
// 1b) d3 bar graph tutorial: https://github.com/mbostock/d3/wiki/Selections#data
// 2) using a div container for svg: professor singh's js5.htm... | 36.515152 | 119 | 0.696266 |
5d0dc2eabfe37920d83beb31ca1d5cac0ded648f | 247 | js | JavaScript | app/redux/Header/tests/saga.test.js | girards/React-Redux-Boilerplate | 5b73a7369b9df0c04bb92eb52c5368cf1863eab4 | [
"MIT"
] | null | null | null | app/redux/Header/tests/saga.test.js | girards/React-Redux-Boilerplate | 5b73a7369b9df0c04bb92eb52c5368cf1863eab4 | [
"MIT"
] | null | null | null | app/redux/Header/tests/saga.test.js | girards/React-Redux-Boilerplate | 5b73a7369b9df0c04bb92eb52c5368cf1863eab4 | [
"MIT"
] | null | null | null | /**
* Test sagas
*/
/* eslint-disable redux-saga/yield-effects */
// import { take, call, put, select } from 'redux-saga/effects';
// import headerSaga from '../saga';
// const generator = headerSaga();
describe('headerSaga Saga', () => {});
| 20.583333 | 64 | 0.631579 |
5d0dcbcdc634bc1d024e6b5c7c2d46603684f150 | 533 | js | JavaScript | node_modules/crownstone-cloud/dist/rest/sections/firmware.js | MJKoedam/crownstone-homey | e840ca18ef47c1eca56eb06336b772eac50669b8 | [
"MIT"
] | 2 | 2018-09-30T15:03:53.000Z | 2021-02-16T10:41:28.000Z | node_modules/crownstone-cloud/dist/rest/sections/firmware.js | crownstone/crownstone-homey | 53606a03ac431f5640b55e97d3dde47b0966827b | [
"MIT"
] | 8 | 2019-01-23T17:15:10.000Z | 2022-02-27T12:07:25.000Z | node_modules/crownstone-cloud/dist/rest/sections/firmware.js | mrquincle/crownstone-homey | 6c4b755ec54c0fbbb048e43b4491efe0f07a5ec5 | [
"MIT"
] | 3 | 2018-09-30T15:01:51.000Z | 2021-02-16T10:37:04.000Z | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const cloudApiBase_1 = require("./cloudApiBase");
exports.firmware = {
getFirmwareDetails: function (version, hardwareVersion) {
return cloudApiBase_1.cloudApiBase._setupRequest('GET', '/Firmwares?version=' + version + '&hardwareVe... | 44.416667 | 137 | 0.718574 |
5d0e58785d26067316e577299e3a782c278735b2 | 400 | js | JavaScript | webpack/plugins/html-to-disk.js | fengzilong/siji-riot | 553be368e3215614fed16f52982ecda463e370df | [
"MIT"
] | null | null | null | webpack/plugins/html-to-disk.js | fengzilong/siji-riot | 553be368e3215614fed16f52982ecda463e370df | [
"MIT"
] | null | null | null | webpack/plugins/html-to-disk.js | fengzilong/siji-riot | 553be368e3215614fed16f52982ecda463e370df | [
"MIT"
] | null | null | null | import fs from 'fs';
export default class HtmlToDiskPlugin {
constructor( options={} ){
this.options = options;
}
apply( compiler ){
compiler.plugin('compilation', function( compilation ){
compilation.plugin('html-webpack-plugin-after-html-processing', function (data, callback) {
fs.writeFile('index.html... | 22.222222 | 94 | 0.655 |
5d0e73016da71d118f85dde9cc005687ffd25bf1 | 400 | js | JavaScript | script.js | harshrawat20/Product-Landing-Page | 50c98e26a038acb95e892ec53dc2dbb4f67601d4 | [
"MIT"
] | null | null | null | script.js | harshrawat20/Product-Landing-Page | 50c98e26a038acb95e892ec53dc2dbb4f67601d4 | [
"MIT"
] | null | null | null | script.js | harshrawat20/Product-Landing-Page | 50c98e26a038acb95e892ec53dc2dbb4f67601d4 | [
"MIT"
] | null | null | null | var prevScrollpos = window.pageYOffset;
window.onscroll = function() {
var currentScrollPos = window.pageYOffset;
if (prevScrollpos > currentScrollPos) {
document.getElementById("nav-bar").style.top = "0";
} else {
document.getElementById("nav-bar").style.top = "-100vh";
}
prevScrollpos = currentScrollP... | 28.571429 | 60 | 0.7025 |
5d0ec32e58eab2f21c4f16220d7e27e62df76458 | 1,194 | js | JavaScript | test/helpers/factories/conversation.js | DoSomething/slothie | b789fa139b7c8c2c50fb99585110d784a9c6a84c | [
"MIT"
] | 2 | 2016-11-28T14:57:45.000Z | 2017-08-15T07:12:25.000Z | test/helpers/factories/conversation.js | DoSomething/gamb | b789fa139b7c8c2c50fb99585110d784a9c6a84c | [
"MIT"
] | 419 | 2016-08-10T14:56:37.000Z | 2022-02-27T11:22:24.000Z | test/helpers/factories/conversation.js | DoSomething/slothie | b789fa139b7c8c2c50fb99585110d784a9c6a84c | [
"MIT"
] | 1 | 2020-01-11T04:03:57.000Z | 2020-01-11T04:03:57.000Z | 'use strict';
const ObjectID = require('mongoose').Types.ObjectId;
const Conversation = require('../../../app/models/Conversation');
const messageFactory = require('./message');
const stubs = require('../stubs');
module.exports.getRawConversationData = function getRawConversationData(platformString) {
const platfor... | 32.27027 | 89 | 0.751256 |
5d0eea91dc289652621cef25d118409589eda2a6 | 611 | js | JavaScript | src/js/coremvc/comps/editor/lib/tinymce_wro_loader.js | titus0039/tetra-ui | 52356d749ff677c873bf536f8f8dec814e6039c2 | [
"Unlicense",
"MIT"
] | null | null | null | src/js/coremvc/comps/editor/lib/tinymce_wro_loader.js | titus0039/tetra-ui | 52356d749ff677c873bf536f8f8dec814e6039c2 | [
"Unlicense",
"MIT"
] | null | null | null | src/js/coremvc/comps/editor/lib/tinymce_wro_loader.js | titus0039/tetra-ui | 52356d749ff677c873bf536f8f8dec814e6039c2 | [
"Unlicense",
"MIT"
] | null | null | null | var sTinyMCERegistry = {
baseURI:"/javascript/coremvc/apps/comp_editor/lib/tiny_mce",
files: [
'tiny_mce.js',
'langs/en.js',
'themes/advanced/editor_template.js',
'themes/advanced/langs/en.js'/*,
'themes/advanced/skins/default/ui.css'*/
],
registerResources:function() {
tinymce.baseURL = new tinymce... | 30.55 | 91 | 0.721768 |
5d0f4f91423c6d4c505551ed4ec504850dc69676 | 138 | js | JavaScript | renren-admin/src/main/resources/statics/plugins/treegrid/jquery.treegrid.bootstrap3.js | jiujunkeji/resource-catalog | f1f5a155ee0193ebaee0d09e321a351cdd1f5c4a | [
"Apache-2.0"
] | null | null | null | renren-admin/src/main/resources/statics/plugins/treegrid/jquery.treegrid.bootstrap3.js | jiujunkeji/resource-catalog | f1f5a155ee0193ebaee0d09e321a351cdd1f5c4a | [
"Apache-2.0"
] | 2 | 2021-04-22T16:53:30.000Z | 2021-09-20T20:50:51.000Z | renren-admin/src/main/resources/statics/plugins/treegrid/jquery.treegrid.bootstrap3.js | jiujunkeji/resource-catalog | f1f5a155ee0193ebaee0d09e321a351cdd1f5c4a | [
"Apache-2.0"
] | null | null | null | $.extend($.fn.treegrid.defaults, {
expanderExpandedClass: 'el-icon-arrow-down',
expanderCollapsedClass: 'el-icon-arrow-right'
});
| 27.6 | 49 | 0.710145 |
5d10323ce6ca460e8aa79090a410203d9d7302d0 | 198 | js | JavaScript | client/src/main.js | mu-mo/weixin-login | bf61639bdf670ba125f326a41a5d8c0972505007 | [
"MIT"
] | 2 | 2019-04-18T15:12:13.000Z | 2020-08-18T23:07:52.000Z | client/src/main.js | mu-mo/weixin-login | bf61639bdf670ba125f326a41a5d8c0972505007 | [
"MIT"
] | null | null | null | client/src/main.js | mu-mo/weixin-login | bf61639bdf670ba125f326a41a5d8c0972505007 | [
"MIT"
] | null | null | null | import Vue from 'vue';
import router from '@/router';
import store from '@/store/';
import '@/common/common.scss';
// eslint-disable-next-line no-new
new Vue({
el: '#app',
router,
store,
});
| 16.5 | 34 | 0.646465 |