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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6fca79756ea61e49d5b6219a3535aad48f802712 | 1,344 | js | JavaScript | src/javascripts/lib/interpolate.js | dzucconi/without-order | 95c107ba0d49d96cdd1d1c342937c47d49b278a5 | [
"MIT"
] | 2 | 2018-09-19T01:05:42.000Z | 2018-10-10T17:10:47.000Z | src/javascripts/lib/interpolate.js | dzucconi/without-order | 95c107ba0d49d96cdd1d1c342937c47d49b278a5 | [
"MIT"
] | 13 | 2017-07-04T04:04:58.000Z | 2022-03-22T00:54:22.000Z | src/javascripts/lib/interpolate.js | dzucconi/without-order | 95c107ba0d49d96cdd1d1c342937c47d49b278a5 | [
"MIT"
] | null | null | null | import SVG from "svg.js";
import "svg.shapes.js";
import { interpolate, toCircle, fromCircle } from "flubber";
import * as shapes from "./shapes";
export default class Interpolate {
constructor(el) {
this.el = el;
this.width = el.offsetWidth;
this.height = el.offsetHeight;
this.surface = SVG(this.el... | 26.352941 | 71 | 0.615327 |
6fca79a87da10e94235d120929d8aff3cf6601c5 | 1,426 | js | JavaScript | omui/src/components/code/code.stories.js | m15e/omui | 73e71d7fa75449b2a4fe7ee2ec776f68ea5764ac | [
"Apache-2.0"
] | 11 | 2020-06-08T15:03:34.000Z | 2021-06-23T07:15:19.000Z | omui/src/components/code/code.stories.js | m15e/omui | 73e71d7fa75449b2a4fe7ee2ec776f68ea5764ac | [
"Apache-2.0"
] | 20 | 2020-07-18T01:19:46.000Z | 2021-07-01T11:02:09.000Z | omui/src/components/code/code.stories.js | m15e/omui | 73e71d7fa75449b2a4fe7ee2ec776f68ea5764ac | [
"Apache-2.0"
] | 8 | 2020-06-30T12:32:13.000Z | 2021-06-24T09:01:26.000Z | import React from 'react';
import { withKnobs, boolean, text, select } from '@storybook/addon-knobs';
import { Code, CodeEditor } from './';
import { Text } from '../../';
import {
themeCodeLanguages,
themeCodePrettyLanguages
} from '../../theme/helpers';
const themeLanguages = {};
themeCodePrettyLanguages.forEa... | 21.606061 | 74 | 0.617812 |
6fca7e9486f6ce983052834a212c3e798b1c2397 | 1,963 | js | JavaScript | packages/with-view-layout-props/test/index.js | nmccready/hocs | 8ad07d80a165e02473054b36280db6798160b0cd | [
"MIT"
] | 1,850 | 2017-08-01T07:33:51.000Z | 2022-02-28T09:17:26.000Z | packages/with-view-layout-props/test/index.js | nmccready/hocs | 8ad07d80a165e02473054b36280db6798160b0cd | [
"MIT"
] | 36 | 2017-08-02T19:51:27.000Z | 2021-09-01T03:45:49.000Z | packages/with-view-layout-props/test/index.js | nmccready/hocs | 8ad07d80a165e02473054b36280db6798160b0cd | [
"MIT"
] | 60 | 2017-08-02T13:51:58.000Z | 2022-03-20T23:21:16.000Z | import React from 'react'
import { mount } from 'enzyme'
import withViewLayoutProps from '../src/'
const Target = () => null
describe('withViewLayoutProps', () => {
it('should pass props through', () => {
const EnhancedTarget = withViewLayoutProps((state) => state)(Target)
const wrapper = mount(
<Enh... | 24.5375 | 82 | 0.604687 |
6fcb5433def855cdb4a35c02f8c60cff1fa20f1b | 274 | js | JavaScript | WebAppBuilderForArcGIS/client/stemapp3d/widgets/Environment/nls/sr/strings.js | vgauri1797/Eclipse | d342fe9e7e68718ae736c2b9a1e88c84ad50dfcf | [
"Apache-2.0"
] | null | null | null | WebAppBuilderForArcGIS/client/stemapp3d/widgets/Environment/nls/sr/strings.js | vgauri1797/Eclipse | d342fe9e7e68718ae736c2b9a1e88c84ad50dfcf | [
"Apache-2.0"
] | null | null | null | WebAppBuilderForArcGIS/client/stemapp3d/widgets/Environment/nls/sr/strings.js | vgauri1797/Eclipse | d342fe9e7e68718ae736c2b9a1e88c84ad50dfcf | [
"Apache-2.0"
] | null | null | null | define({
"_widgetLabel": "Okruženje",
"dragSunSliderText": "Prevucite slajder da biste promenili vreme dana.",
"directShadow": "Direktna senka (bačena sunčevom svetlošću)",
"diffuseShadow": "Difuzne senke (ambijentalna okluzija)",
"shadowing": "Senčenje"
}); | 39.142857 | 75 | 0.711679 |
6fcb566ce7e30dc12036b98741faadaeb98ef128 | 61,754 | js | JavaScript | public/libs/pusher.min.js | codewithvinit/test-push | 28ddc787813afe092997a3ce93b75070a95362d4 | [
"MIT"
] | null | null | null | public/libs/pusher.min.js | codewithvinit/test-push | 28ddc787813afe092997a3ce93b75070a95362d4 | [
"MIT"
] | 7 | 2021-06-18T16:04:18.000Z | 2022-02-27T15:24:31.000Z | public/libs/pusher.min.js | codewithvinit/test-push | 28ddc787813afe092997a3ce93b75070a95362d4 | [
"MIT"
] | null | null | null | /*!
* Pusher JavaScript Library v3.1.0
* http://pusher.com/
*
* Copyright 2016, Pusher
* Released under the MIT licence.
*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Pusher=e():t.Pusher=e(... | 6,175.4 | 32,023 | 0.732163 |
6fcb63273e31bee19b7c0be810babf5ee34ccfb6 | 7,808 | js | JavaScript | ethereumcontract/runtime.js | unvYoda/EthereumC2Plugin | 4dad907462261c9d2f22f045039bbee67b8d4e89 | [
"MIT"
] | null | null | null | ethereumcontract/runtime.js | unvYoda/EthereumC2Plugin | 4dad907462261c9d2f22f045039bbee67b8d4e89 | [
"MIT"
] | null | null | null | ethereumcontract/runtime.js | unvYoda/EthereumC2Plugin | 4dad907462261c9d2f22f045039bbee67b8d4e89 | [
"MIT"
] | null | null | null | // ECMAScript 5 strict mode
"use strict";
assert2(cr, "cr namespace not created");
assert2(cr.plugins_, "cr.plugins_ not created");
/////////////////////////////////////
// Plugin class
cr.plugins_.EthereumContract = function(runtime)
{
this.runtime = runtime;
};
(function ()
{
var pluginProto = cr.plugins_.Ether... | 33.800866 | 195 | 0.672643 |
6fcbcff38e18d4ab24278670130d2b7e75c092f7 | 444 | js | JavaScript | app/Helpers/Fileupload.js | AhmedMedDev/Node-NoSQL-Auth | 8602048782469ec1cc457524b3f0855bff6b09a9 | [
"MIT"
] | 2 | 2022-02-20T01:53:41.000Z | 2022-03-08T04:02:32.000Z | app/Helpers/Fileupload.js | AhmedMedDev/Node-NoSQL-Auth | 8602048782469ec1cc457524b3f0855bff6b09a9 | [
"MIT"
] | null | null | null | app/Helpers/Fileupload.js | AhmedMedDev/Node-NoSQL-Auth | 8602048782469ec1cc457524b3f0855bff6b09a9 | [
"MIT"
] | null | null | null |
module.exports = {
saveFile (path, file)
{
let today = new Date();
let date = today.getFullYear()+';'+(today.getMonth()+1)+';'+today.getDate();
let time = today.getHours() + "," + today.getMinutes() + "," + today.getSeconds();
let dateTime = `${date}${time}`;
let filen... | 27.75 | 90 | 0.527027 |
6fcc03b6040a9b3dda358d11eaa454f4e62126fd | 394 | js | JavaScript | src/standard-library.js | baixiaoji/dropbear | b679a69c8f1f56a4b5449dac246e9d9715e6412a | [
"Apache-2.0"
] | 90 | 2019-05-30T15:21:30.000Z | 2022-03-29T08:08:33.000Z | src/standard-library.js | baixiaoji/dropbear | b679a69c8f1f56a4b5449dac246e9d9715e6412a | [
"Apache-2.0"
] | 5 | 2019-11-12T12:59:34.000Z | 2021-05-09T00:01:31.000Z | src/standard-library.js | wDKidd/icecream | 87e49728c7f47d9e513f8e890a698ca25b8f890a | [
"Apache-2.0"
] | 67 | 2019-05-30T15:21:31.000Z | 2022-03-29T08:08:40.000Z | const all = fn => (...list) => list.reduce(fn);
const add = all((a, b) => a + b);
const subtract = all((a, b) => a - b);
const multiply = all((a, b) => a * b);
const divide = all((a, b) => a / b);
const modulo = all((a, b) => a % b);
const log = console.log;
const environment = {
add,
subtract,
multiply,
divi... | 18.761905 | 47 | 0.550761 |
6fcc56da81ae3c73f6525e9f2e4f99cc290eee6f | 294 | js | JavaScript | public/main.js | GrafSoul/dictantor-chrome-app | a0dc1c696f552142c051f40463d31e034f22a40b | [
"MIT"
] | null | null | null | public/main.js | GrafSoul/dictantor-chrome-app | a0dc1c696f552142c051f40463d31e034f22a40b | [
"MIT"
] | null | null | null | public/main.js | GrafSoul/dictantor-chrome-app | a0dc1c696f552142c051f40463d31e034f22a40b | [
"MIT"
] | null | null | null | chrome.app.runtime.onLaunched.addListener(function () {
chrome.app.window.create('index.html', {
id: 'root',
innerBounds: {
width: 600,
height: 450,
minWidth: 360,
minHeight: 280,
},
frame: 'none',
});
});
| 22.615385 | 55 | 0.479592 |
6fcc90a6ea572da370ffaf5253fd9709dc29c350 | 133,525 | js | JavaScript | data/mods/ssb/moves.js | TheMezStrikes/Pokemon-Showdown | fc458396f234d126b4fb2ac4beb094b89293cde7 | [
"MIT"
] | null | null | null | data/mods/ssb/moves.js | TheMezStrikes/Pokemon-Showdown | fc458396f234d126b4fb2ac4beb094b89293cde7 | [
"MIT"
] | null | null | null | data/mods/ssb/moves.js | TheMezStrikes/Pokemon-Showdown | fc458396f234d126b4fb2ac4beb094b89293cde7 | [
"MIT"
] | null | null | null | 'use strict';
// Used for bumbadadabum and Snaquaza's move
const RandomStaffBrosTeams = require('./random-teams');
/** @type {typeof import('../../../sim/pokemon').Pokemon} */
const Pokemon = require(/** @type {any} */ ('../../../.sim-dist/pokemon')).Pokemon;
/** @type {{[k: string]: ModdedMoveData}} */
let BattleMov... | 32.952863 | 1,639 | 0.644928 |
6fccaa29565d5447411c8ae0fc7a935a8324caef | 2,526 | js | JavaScript | lib/main.js | Poolitzer/notifier-action | d28b85e921efb8603d16a47df85392707342668b | [
"MIT"
] | null | null | null | lib/main.js | Poolitzer/notifier-action | d28b85e921efb8603d16a47df85392707342668b | [
"MIT"
] | null | null | null | lib/main.js | Poolitzer/notifier-action | d28b85e921efb8603d16a47df85392707342668b | [
"MIT"
] | null | null | null | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... | 40.095238 | 151 | 0.530879 |
6fcda8eeb01d3b897280ed9517413dacc3e8adac | 473 | js | JavaScript | app/components/LocalDbManager.js | lis355/ksl | e34259ca49068def0b8b72397bacd1831129f9b6 | [
"MIT"
] | null | null | null | app/components/LocalDbManager.js | lis355/ksl | e34259ca49068def0b8b72397bacd1831129f9b6 | [
"MIT"
] | null | null | null | app/components/LocalDbManager.js | lis355/ksl | e34259ca49068def0b8b72397bacd1831129f9b6 | [
"MIT"
] | null | null | null | const low = require("lowdb");
const FileSync = require("lowdb/adapters/FileSync");
const DB_FILE_NAME = "db.json";
module.exports = class LocalDbManager extends ndapp.ApplicationComponent {
async initialize() {
await super.initialize();
const dbFileName = app.userDataManager.userDataPath(DB_FILE_NAME);... | 21.5 | 75 | 0.67019 |
6fcde55b95d7f1a6f7582692bd61d27e285ed90f | 1,520 | js | JavaScript | src/Subheader/Subheader.react.js | Brucbbro/react-native-material-ui | 0ca39f7a1eeab9214051fc9f46fd2f4cc86f8221 | [
"MIT"
] | 1 | 2018-03-18T06:01:54.000Z | 2018-03-18T06:01:54.000Z | src/Subheader/Subheader.react.js | Brucbbro/react-native-material-ui | 0ca39f7a1eeab9214051fc9f46fd2f4cc86f8221 | [
"MIT"
] | null | null | null | src/Subheader/Subheader.react.js | Brucbbro/react-native-material-ui | 0ca39f7a1eeab9214051fc9f46fd2f4cc86f8221 | [
"MIT"
] | 2 | 2018-02-15T18:32:54.000Z | 2019-05-17T19:42:51.000Z | /* eslint-disable import/no-unresolved, import/extensions */
import { View, Text } from 'react-native';
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
/* eslint-enable import/no-unresolved, import/extensions */
import { ViewPropTypes } from '../utils';
const propTypes = {
text: P... | 24.126984 | 64 | 0.598026 |
6fce05cc82bbaa3a5a2772b22ccf48ffef2c11cf | 579 | js | JavaScript | lib/css-modules.js | fastcms/stylelint-config | cb7b3b295a0b8027e7e659f50a2a3950a4f522c6 | [
"MIT"
] | null | null | null | lib/css-modules.js | fastcms/stylelint-config | cb7b3b295a0b8027e7e659f50a2a3950a4f522c6 | [
"MIT"
] | 3 | 2021-06-16T15:16:57.000Z | 2021-10-20T06:03:31.000Z | lib/css-modules.js | fastcms/stylelint-config | cb7b3b295a0b8027e7e659f50a2a3950a4f522c6 | [
"MIT"
] | null | null | null | /**
* @type {import("stylelint").Configuration}
*/
module.exports = {
rules: {
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['export', 'import', 'global', 'local', 'external'],
},
],
'property-no-unknown': [
true,
{
ignoreProperties: [... | 19.965517 | 90 | 0.499136 |
6fce1dd937ad3c33967a8fa8a062d97ab424a3c2 | 8,918 | js | JavaScript | build-system/tasks/prepend-global/index.js | deekshithraop/amphtml | 08a6c76cdcdf343fb25d6f11435228fcc8a02d55 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-04-23T04:46:42.000Z | 2021-02-27T18:18:52.000Z | build-system/tasks/prepend-global/index.js | deekshithraop/amphtml | 08a6c76cdcdf343fb25d6f11435228fcc8a02d55 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2021-01-23T07:30:44.000Z | 2022-03-02T10:06:32.000Z | build-system/tasks/prepend-global/index.js | deekshithraop/amphtml | 08a6c76cdcdf343fb25d6f11435228fcc8a02d55 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-08-12T14:53:01.000Z | 2019-08-12T14:53:01.000Z | /**
* Copyright 2016 The AMP HTML Authors. 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 require... | 28.675241 | 82 | 0.653622 |
6fce5c6bc9d1338667446c832ef2858df21a8e91 | 1,126 | js | JavaScript | src/js/options.js | WagnerDeQueiroz/chrome.ipcamviewer | 6f41c0cf017a2da148ee62f75bb5a8ae0811dfb0 | [
"MIT"
] | 15 | 2018-02-14T17:39:04.000Z | 2022-02-07T19:51:26.000Z | src/js/options.js | WagnerDeQueiroz/chrome.ipcamviewer | 6f41c0cf017a2da148ee62f75bb5a8ae0811dfb0 | [
"MIT"
] | 15 | 2018-04-03T17:35:20.000Z | 2022-02-18T03:25:28.000Z | src/js/options.js | WagnerDeQueiroz/chrome.ipcamviewer | 6f41c0cf017a2da148ee62f75bb5a8ae0811dfb0 | [
"MIT"
] | 9 | 2018-02-14T17:39:05.000Z | 2021-09-08T21:18:14.000Z | import './../img/icon16.png';
import './../img/icon48.png';
import './../img/icon128.png';
import Vue from 'vue';
import VueRouter from 'vue-router';
import App from './../components/App.vue';
import Fullscreen from './../components/Fullscreen.vue';
import Settings from './../components/Settings.vue';
import Multiview ... | 28.871795 | 94 | 0.653641 |
6fceae94d694e67c00500f536f1bd91607ffa571 | 704 | js | JavaScript | resources/assets/js/stores/PositionStore/mutations.js | thel5coder/jumbara9jatim | 9cb85119b505dd19ac486b81bdffa21e989a62fc | [
"MIT"
] | null | null | null | resources/assets/js/stores/PositionStore/mutations.js | thel5coder/jumbara9jatim | 9cb85119b505dd19ac486b81bdffa21e989a62fc | [
"MIT"
] | 1 | 2021-01-05T08:19:47.000Z | 2021-01-05T08:19:47.000Z | resources/assets/js/stores/PositionStore/mutations.js | thel5coder/jumbara9jatim | 9cb85119b505dd19ac486b81bdffa21e989a62fc | [
"MIT"
] | null | null | null | import * as types from '../mutation-types';
export default {
[types.BROWSE](state, { data }) {
state.positions = data;
},
[types.READ](state,{index,data}){
if(index == null){
state.position = data
}else{
state.position = state.positions[index]
}
}... | 27.076923 | 63 | 0.576705 |
6fcf1f89f6ea66b497d2cfecb912d2ffe0a45bdd | 125 | js | JavaScript | src/example.spec.js | csterritt/react_golden_layout_example | 48bb6e8d0efdff2b095e44a2b0aa53ef23aff183 | [
"MIT"
] | 9 | 2016-04-05T08:13:00.000Z | 2021-08-10T05:48:40.000Z | src/example.spec.js | csterritt/react_golden_layout_example | 48bb6e8d0efdff2b095e44a2b0aa53ef23aff183 | [
"MIT"
] | null | null | null | src/example.spec.js | csterritt/react_golden_layout_example | 48bb6e8d0efdff2b095e44a2b0aa53ef23aff183 | [
"MIT"
] | 3 | 2016-06-15T09:07:40.000Z | 2018-06-17T07:30:09.000Z | import expect from 'expect';
describe('example', () => {
it('should work', () => {
expect(1 + 1).toEqual(2);
})
});
| 15.625 | 29 | 0.52 |
6fd0863b465e91e38f05e9b2b847719fe8d2c3ad | 3,145 | js | JavaScript | lib/decode/lldp_tlv.js | tkokada/node_htip_dev | 63a1c1d141ad4be49fde20fff4d192d35a2b24bf | [
"MIT"
] | null | null | null | lib/decode/lldp_tlv.js | tkokada/node_htip_dev | 63a1c1d141ad4be49fde20fff4d192d35a2b24bf | [
"MIT"
] | null | null | null | lib/decode/lldp_tlv.js | tkokada/node_htip_dev | 63a1c1d141ad4be49fde20fff4d192d35a2b24bf | [
"MIT"
] | null | null | null | // tkokada modified
var EthernetAddr = require("./ethernet_addr");
var HtipTlv = require("./htip_tlv");
var ChassisIdTlv = function(raw_packet, offset, len) {
if (!(this instanceof ChassisIdTlv)) {
return new ChassisIdTlv(raw_packet, offset);
}
this.subtype = raw_packet.readUInt8(offset);
// Currently, ... | 30.833333 | 103 | 0.655962 |
6fd0b5ec8a8cbeb9f1be77a5d6cf5cee1440dc32 | 477 | js | JavaScript | test/CashableUniswapAaveStrategy.test.js | GoldenSylph/cashable-factory | d088eee81c48fb3d1ec340867ed666a0cfede21c | [
"MIT"
] | null | null | null | test/CashableUniswapAaveStrategy.test.js | GoldenSylph/cashable-factory | d088eee81c48fb3d1ec340867ed666a0cfede21c | [
"MIT"
] | null | null | null | test/CashableUniswapAaveStrategy.test.js | GoldenSylph/cashable-factory | d088eee81c48fb3d1ec340867ed666a0cfede21c | [
"MIT"
] | null | null | null | /* eslint no-unused-vars: 0 */
/* eslint eqeqeq: 0 */
const { expect, assert } = require('chai');
const {
BN,
constants,
expectEvent,
expectRevert,
ether,
time
} = require('@openzeppelin/test-helpers');
const { ZERO_ADDRESS } = constants;
const { ZERO, ONE, getMockTokenPrepared, processEventArgs, checkSett... | 21.681818 | 104 | 0.69392 |
6fd2487b481a7ded5fd2f7273d34dbe359312b76 | 895 | js | JavaScript | src/flashes/service.js | youka-project/youka-client | 08a5a8cf00191746fd4de9a5bb1eaa3b64612b04 | [
"MIT"
] | null | null | null | src/flashes/service.js | youka-project/youka-client | 08a5a8cf00191746fd4de9a5bb1eaa3b64612b04 | [
"MIT"
] | 7 | 2015-04-10T15:31:24.000Z | 2015-04-11T14:55:51.000Z | src/flashes/service.js | youka-project/youka-client | 08a5a8cf00191746fd4de9a5bb1eaa3b64612b04 | [
"MIT"
] | null | null | null | import Service from '../common/service';
import Collection from './collection';
import CollectionView from './collection-view';
export default Service.extend({
channelName: 'flashes',
initialize(options) {
this.container = options.container;
this.collection = new Collection();
this.start();
},
on... | 18.645833 | 49 | 0.623464 |
6fd2c69bdca59f1331e26b35c594e35674f0c6a4 | 158 | js | JavaScript | postcss.config.js | wuzhanfly/filescan-frontend | 07dd9bf9a265ae1b7e73332e95c252c6e7e57bb2 | [
"Apache-2.0",
"MIT"
] | null | null | null | postcss.config.js | wuzhanfly/filescan-frontend | 07dd9bf9a265ae1b7e73332e95c252c6e7e57bb2 | [
"Apache-2.0",
"MIT"
] | null | null | null | postcss.config.js | wuzhanfly/filescan-frontend | 07dd9bf9a265ae1b7e73332e95c252c6e7e57bb2 | [
"Apache-2.0",
"MIT"
] | null | null | null | module.exports = {
plugins: {
autoprefixer: {},
"postcss-px-to-viewport": {
viewportWidth: 1920,
minPixelValue: 2
}
}
};
| 15.8 | 32 | 0.518987 |
6fd31510e313c2e7e226b4257f11f0737f516cb3 | 8,301 | js | JavaScript | site2/website/pages/en/download.js | joefk/pulsar | 4b820cdcafe2e6af7f051242127b41dc4c0ec714 | [
"Apache-2.0"
] | null | null | null | site2/website/pages/en/download.js | joefk/pulsar | 4b820cdcafe2e6af7f051242127b41dc4c0ec714 | [
"Apache-2.0"
] | 1 | 2020-07-18T23:23:51.000Z | 2020-07-18T23:23:51.000Z | site2/website/pages/en/download.js | joefk/pulsar | 4b820cdcafe2e6af7f051242127b41dc4c0ec714 | [
"Apache-2.0"
] | null | null | null | const React = require('react');
const CompLibrary = require('../../core/CompLibrary');
const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */
const Container = CompLibrary.Container;
const GridBlock = CompLibrary.GridBlock;
const CWD = process.cwd();
const translate = require('../../server/tran... | 43.920635 | 166 | 0.519937 |
6fd3af93eca64eb2ec6344ac5772a1199af3b4b3 | 10,801 | js | JavaScript | include/javascripts/cb_base.js | dixy/Connectix-Boards | 7a4206754765276d2de12a0e03fd0757fbc8782e | [
"Unlicense"
] | 1 | 2015-08-20T17:45:01.000Z | 2015-08-20T17:45:01.000Z | include/javascripts/cb_base.js | dixy/Connectix-Boards | 7a4206754765276d2de12a0e03fd0757fbc8782e | [
"Unlicense"
] | 2 | 2019-12-21T21:03:09.000Z | 2019-12-21T21:10:49.000Z | include/javascripts/cb_base.js | dixy/Connectix-Boards | 7a4206754765276d2de12a0e03fd0757fbc8782e | [
"Unlicense"
] | null | null | null | /**
* Connectix Boards 1.0, free interactive php bulletin boards.
* Copyright (C) 2005-2010 Jasienski Martin.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, ... | 32.730303 | 164 | 0.676789 |
6fd4ad00722cc887de4575ca9e05404dca3cecd1 | 160 | js | JavaScript | db/models/Player.js | JasenABaker/Dungeon_Master | 46be6686c611c6deccd8a3331718dcc77c7f6ff5 | [
"CC-BY-3.0"
] | null | null | null | db/models/Player.js | JasenABaker/Dungeon_Master | 46be6686c611c6deccd8a3331718dcc77c7f6ff5 | [
"CC-BY-3.0"
] | null | null | null | db/models/Player.js | JasenABaker/Dungeon_Master | 46be6686c611c6deccd8a3331718dcc77c7f6ff5 | [
"CC-BY-3.0"
] | null | null | null | const mongoose = require('mongoose')
const Schema = require('../schema')
const Player = mongoose.model('Player', Schema.PlayerSchema)
module.exports = Player | 22.857143 | 60 | 0.74375 |
6fd4ef40c5cbfb82e308e128671d9a075bcae225 | 2,734 | js | JavaScript | ionic/www/js/controllers/client/checkout.js | juliofiuza/code-delivery | 31040d276037caef7c20280e9639ba653aca3add | [
"MIT"
] | null | null | null | ionic/www/js/controllers/client/checkout.js | juliofiuza/code-delivery | 31040d276037caef7c20280e9639ba653aca3add | [
"MIT"
] | null | null | null | ionic/www/js/controllers/client/checkout.js | juliofiuza/code-delivery | 31040d276037caef7c20280e9639ba653aca3add | [
"MIT"
] | null | null | null | angular.module('code-delivery.controllers')
.controller('ClientCheckoutCtrl', [
'$scope', '$state', '$ionicLoading', '$ionicPopup', '$cordovaBarcodeScanner', '$cart', 'ClientOrder', 'Cupom',
function($scope, $state, $ionicLoading, $ionicPopup, $cordovaBarcodeScanner, $cart, ClientOrder, Cupom) {
var cart = $cart.g... | 25.551402 | 111 | 0.566569 |
6fd511c93b705c2cdc81b56b7ca9b930ba4e8537 | 5,883 | js | JavaScript | src/main/docs/html/search/all_13.js | Team302/Training2020 | 144cb24e5674c857c45fe4544ab42f27e07371f9 | [
"MIT"
] | 1 | 2020-09-03T21:28:43.000Z | 2020-09-03T21:28:43.000Z | src/main/docs/html/search/all_13.js | Team302/training2020 | 144cb24e5674c857c45fe4544ab42f27e07371f9 | [
"MIT"
] | null | null | null | src/main/docs/html/search/all_13.js | Team302/training2020 | 144cb24e5674c857c45fe4544ab42f27e07371f9 | [
"MIT"
] | null | null | null | var searchData=
[
['ultrasonicfactory_1106',['UltrasonicFactory',['../class_ultrasonic_factory.html',1,'']]],
['ultrasonicfactory_2ecpp_1107',['UltrasonicFactory.cpp',['../_ultrasonic_factory_8cpp.html',1,'']]],
['ultrasonicfactory_2eh_1108',['UltrasonicFactory.h',['../_ultrasonic_factory_8h.html',1,'']]],
... | 173.029412 | 532 | 0.82169 |
6fd688f29f2d1536f79b0829745fa42bae58f48b | 6,246 | js | JavaScript | test/api/routes/createUser.test.js | eglouberman/friendbank | a44113cfb8befa553ab3d90bdbdc6668fff5cd27 | [
"MIT"
] | null | null | null | test/api/routes/createUser.test.js | eglouberman/friendbank | a44113cfb8befa553ab3d90bdbdc6668fff5cd27 | [
"MIT"
] | null | null | null | test/api/routes/createUser.test.js | eglouberman/friendbank | a44113cfb8befa553ab3d90bdbdc6668fff5cd27 | [
"MIT"
] | null | null | null | const fetch = require('node-fetch');
const chai = require('chai');
const { MongoClient } = require('mongodb');
const { API_URL, MONGODB_URL } = process.env;
// Reference: https://www.chaijs.com/api/assert/
const assert = chai.assert;
require('./_setup');
const {
standardTestSetup,
fakeUser,
} = require('./_fake... | 28.008969 | 100 | 0.60919 |
6fd6f4063bdacad84daa8ffcd0fb73277f08520f | 319 | js | JavaScript | examples/your-first-app/fac.js | Swizec/modernapp-workshop | dd2064c00d8cd1d4a050d28ebc6d1dc9845525b0 | [
"MIT"
] | 1 | 2019-05-19T20:37:40.000Z | 2019-05-19T20:37:40.000Z | examples/your-first-app/fac.js | Swizec/modernapp-workshop | dd2064c00d8cd1d4a050d28ebc6d1dc9845525b0 | [
"MIT"
] | 26 | 2020-12-31T07:41:18.000Z | 2022-03-08T23:33:36.000Z | examples/your-first-app/fac.js | Swizec/modernapp-workshop | dd2064c00d8cd1d4a050d28ebc6d1dc9845525b0 | [
"MIT"
] | 1 | 2020-06-18T19:16:45.000Z | 2020-06-18T19:16:45.000Z | const Fac = ({ children }) => (
<div>
<h1>One</h1>
{children({ number: 1 })}
</div>
)
const PrettyNumber = () => (
<Fac>
{({ number }) => (
<span style={{ color: '#E52B50', fontSize: '2em' }}>{number}</span>
)}
</Fac>
)
ReactDOM.render(<PrettyNumber />, document.getElementById('root'))
| 18.764706 | 73 | 0.520376 |
6fd72efc0cd6e3393af22e60e248a1d50e47c6d2 | 292 | js | JavaScript | docroot/modules/custom/bos_components/modules/bos_web_app/apps/metrolist/src/components/Callout/_CalloutCta/CalloutCta.test.js | CityOfBoston/boston.gov-d8 | 56f116ed4c354692605d83d7d2db6a1204f62c84 | [
"CC0-1.0"
] | 21 | 2018-06-20T01:17:15.000Z | 2021-12-18T05:26:21.000Z | docroot/modules/custom/bos_components/modules/bos_web_app/apps/metrolist/src/components/Callout/_CalloutCta/CalloutCta.test.js | TMfranken/boston.gov-d8 | 1422cbe6532ad3d550e52555ea897479cfe1120e | [
"CC0-1.0"
] | 1,309 | 2018-07-23T13:55:32.000Z | 2022-03-30T13:47:12.000Z | docroot/modules/custom/bos_components/modules/bos_web_app/apps/metrolist/src/components/Callout/_CalloutCta/CalloutCta.test.js | TMfranken/boston.gov-d8 | 1422cbe6532ad3d550e52555ea897479cfe1120e | [
"CC0-1.0"
] | 15 | 2018-06-20T01:17:19.000Z | 2021-07-21T19:17:48.000Z | import '__mocks__/matchMedia';
import React from 'react';
import { render } from '@testing-library/react';
import '@testing-library/jest-dom/extend-expect';
import CalloutCta from './index';
describe( 'CalloutCta', () => {
it( 'Renders', () => {
render( <CalloutCta /> );
} );
} );
| 22.461538 | 49 | 0.640411 |
6fd7ba68e73ba5a9eaa8d7e0e3d16fd296b46dbb | 2,170 | js | JavaScript | exercises/237-caesar-cipher.js | piasoy/js201 | c2d2d8850a6a4d21a589108b0159a626924ba858 | [
"ISC"
] | null | null | null | exercises/237-caesar-cipher.js | piasoy/js201 | c2d2d8850a6a4d21a589108b0159a626924ba858 | [
"ISC"
] | null | null | null | exercises/237-caesar-cipher.js | piasoy/js201 | c2d2d8850a6a4d21a589108b0159a626924ba858 | [
"ISC"
] | null | null | null | // Write a function "cipher" which is given a string, a shift, and returns
// the Caesar cipher of the string.
// Caesar cipher --> http://practicalcryptography.com/ciphers/caesar-cipher/
//
// Examples:
// > cipher('Genius without education is like silver in the mine', 5)
// 'ljsnzx bnymtzy jizhfynts nx qnpj xnqajw ns... | 27.125 | 119 | 0.478341 |
6fd7cc6197f2816c00d6a785188b7aa19863a58c | 1,244 | js | JavaScript | modules/rules/tests/rules/StalemateTest.js | embarced/micro-moves | 90e3dba1d09a50b0f7df3f742a58a6e558bf1500 | [
"Apache-2.0"
] | 9 | 2018-09-30T09:14:55.000Z | 2020-09-06T08:01:29.000Z | modules/rules/tests/rules/StalemateTest.js | embarced/micro-moves | 90e3dba1d09a50b0f7df3f742a58a6e558bf1500 | [
"Apache-2.0"
] | 52 | 2019-06-15T17:50:12.000Z | 2021-08-01T04:16:01.000Z | modules/rules/tests/rules/StalemateTest.js | embarced/micro-moves | 90e3dba1d09a50b0f7df3f742a58a6e558bf1500 | [
"Apache-2.0"
] | 5 | 2018-04-26T14:34:04.000Z | 2020-06-03T12:16:33.000Z | const assert = require('assert');
const domain = require("../../domain.js");
const rules = require("../../rules.js");
const ChessRules = rules.ChessRules;
const Position = domain.Position;
const Colour = domain.Colour;
const boardGeometry = require("../../geometry.js");
const Square = boardGeometry.Square;
descri... | 28.930233 | 82 | 0.561093 |
6fd813a6c8ea017f46c83f2afddd41b69cc93377 | 354 | js | JavaScript | client/plugins/axios.js | uiuxarghya/webcrate | 34beb5aaf65af1f418ea67f92f06ba8f7184979d | [
"MIT"
] | 271 | 2021-08-24T11:42:12.000Z | 2022-03-28T03:38:42.000Z | client/plugins/axios.js | uiuxarghya/webcrate | 34beb5aaf65af1f418ea67f92f06ba8f7184979d | [
"MIT"
] | 13 | 2021-08-24T12:04:33.000Z | 2022-01-11T16:38:15.000Z | client/plugins/axios.js | uiuxarghya/webcrate | 34beb5aaf65af1f418ea67f92f06ba8f7184979d | [
"MIT"
] | 26 | 2021-08-25T06:28:00.000Z | 2022-03-30T10:31:21.000Z | export default function({ $axios, redirect }) {
$axios.onError((error) => {
const loginUrl = process.client ? `https://deta.space/auth?redirect_uri=${ window.location.toString() }` : `https://deta.space/library?open=webcrate`
const code = parseInt(error.response && error.response.status)
if (code === 403) {
r... | 39.333333 | 151 | 0.683616 |
6fd91b47ebcbaec503c4a0089c498d2cb5b6eaad | 3,223 | js | JavaScript | src/app/utils/physics.js | Themis3000/drone_sim | 49dd8cb60a07b424f5df0a230605bff7feb3a68d | [
"MIT"
] | null | null | null | src/app/utils/physics.js | Themis3000/drone_sim | 49dd8cb60a07b424f5df0a230605bff7feb3a68d | [
"MIT"
] | null | null | null | src/app/utils/physics.js | Themis3000/drone_sim | 49dd8cb60a07b424f5df0a230605bff7feb3a68d | [
"MIT"
] | null | null | null | export class Physics {
constructor(camera, getHidState, forcesScale) {
this.camera = camera;
this.getHidState = getHidState;
this.forcesScale = forcesScale;
this.motorPower = 4;
//max rotations per second in radians
this.rates = 3;
//added camera angle in degr... | 39.790123 | 120 | 0.636984 |
6fd9c97e30ab6d26a98df78cdee6755fac510a65 | 1,684 | js | JavaScript | client/src/components/topbar.js | bjpreece/mercury | 7cd12420ab2ad6fb312b0959bed3558387f40c45 | [
"MIT"
] | 1 | 2018-06-19T16:04:39.000Z | 2018-06-19T16:04:39.000Z | client/src/components/topbar.js | bjpreece/mercury | 7cd12420ab2ad6fb312b0959bed3558387f40c45 | [
"MIT"
] | null | null | null | client/src/components/topbar.js | bjpreece/mercury | 7cd12420ab2ad6fb312b0959bed3558387f40c45 | [
"MIT"
] | 1 | 2018-08-06T10:33:41.000Z | 2018-08-06T10:33:41.000Z | import React from 'react'
import styled from 'styled-components'
import { NavLink } from 'react-router-dom'
import { colour, size } from '../style/theme'
import Halo from '../img/md-aperture.svg'
const TopBarGrid = styled.section`
display: grid;
grid-template-columns: 240px 1fr;
grid-template-rows: ... | 20.289157 | 50 | 0.603325 |
6fda0332999eb143f0cd83be5e7620e84e1d0acf | 678 | js | JavaScript | packages/opensdk/__tests__/examples/plugin/miniprogram/pages/index/index.js | ChuanfengZhang/dingtalk-design-cli | 8a3c1f003a9069fc5e548c889302a78c05e8c0c2 | [
"MIT"
] | 11 | 2021-05-24T06:31:22.000Z | 2022-03-14T10:13:29.000Z | packages/opensdk/__tests__/examples/plugin/miniprogram/pages/index/index.js | tobuf/dingtalk-design-cli | 8d6283c7c0527f64fda3bf17d5eb3bbef31806f9 | [
"MIT"
] | 3 | 2021-04-29T06:14:50.000Z | 2022-03-31T09:48:22.000Z | packages/opensdk/__tests__/examples/plugin/miniprogram/pages/index/index.js | tobuf/dingtalk-design-cli | 8d6283c7c0527f64fda3bf17d5eb3bbef31806f9 | [
"MIT"
] | 6 | 2021-06-27T15:29:24.000Z | 2022-01-06T09:17:29.000Z | var plugin = requirePlugin("myPlugin");
Page({
onLoad(query) {
plugin.getData();
// 页面加载
console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
},
onReady() {
// 页面加载完成
},
onShow() {
// 页面显示
},
onHide() {
// 页面隐藏
},
onUnload() {
// 页面被关闭
},
onTitleClick() {
... | 15.409091 | 69 | 0.516224 |
6fda6b2b019bdc3e0693d9a7cfc2da65d115d2ba | 102 | js | JavaScript | ecosystem.config.js | lpgera/air-conditioner-web-remote | 2d4d1e5c4f7646be3e8ddcbde2be01f661c9c726 | [
"MIT"
] | null | null | null | ecosystem.config.js | lpgera/air-conditioner-web-remote | 2d4d1e5c4f7646be3e8ddcbde2be01f661c9c726 | [
"MIT"
] | null | null | null | ecosystem.config.js | lpgera/air-conditioner-web-remote | 2d4d1e5c4f7646be3e8ddcbde2be01f661c9c726 | [
"MIT"
] | null | null | null | module.exports = {
apps: [
{
name: 'ac-remote',
script: 'src/server.js',
}
]
} | 12.75 | 30 | 0.45098 |
6fdb3aabfdc49cbdefd9daf1b7475af09004d690 | 865 | js | JavaScript | docs/implementors/core/iter/traits/collect/trait.FromIterator.js | HuguesGuilleus/srt2webvtt | e2bfbe1896b9a35b6e49ede89872bd67df42cb80 | [
"BSD-3-Clause"
] | null | null | null | docs/implementors/core/iter/traits/collect/trait.FromIterator.js | HuguesGuilleus/srt2webvtt | e2bfbe1896b9a35b6e49ede89872bd67df42cb80 | [
"BSD-3-Clause"
] | null | null | null | docs/implementors/core/iter/traits/collect/trait.FromIterator.js | HuguesGuilleus/srt2webvtt | e2bfbe1896b9a35b6e49ede89872bd67df42cb80 | [
"BSD-3-Clause"
] | null | null | null | (function() {var implementors = {};
implementors["proc_macro2"] = [{"text":"impl FromIterator<TokenTree> for TokenStream","synthetic":false,"types":[]},{"text":"impl FromIterator<TokenStream> for TokenStream","synthetic":false,"types":[]}];
implementors["syn"] = [{"text":"impl<T, P> FromIterator<T&... | 173 | 343 | 0.695954 |
6fdc5948f048498f152614dbfc46866b8a734541 | 781 | js | JavaScript | res/project/plan.js | 13927729580/kooteam | 4fc376c2296ce2dff0ca414adaec6125dc016d43 | [
"Apache-2.0"
] | 38 | 2018-12-01T06:48:50.000Z | 2021-05-22T12:45:24.000Z | res/project/plan.js | hafly/kooteam | 4fc376c2296ce2dff0ca414adaec6125dc016d43 | [
"Apache-2.0"
] | 6 | 2018-12-26T03:52:56.000Z | 2021-05-19T11:49:43.000Z | res/project/plan.js | hafly/kooteam | 4fc376c2296ce2dff0ca414adaec6125dc016d43 | [
"Apache-2.0"
] | 18 | 2019-01-11T03:55:46.000Z | 2021-05-22T12:45:26.000Z | zenTemplate={"content":"<div id='J_app'><z-datasource> <var name=\"data\">/select/thing.json</var></z-datasource><div class=\"k-plan z-row\"><div class=\"z-col k-project-toolbar\"><div v-href=\"'/project/board.htm?$id'\"> <i class=\"z-icon\"></i> <span>看板</span></div><div class=\"active\"> <i class=\"z-icon\">&... | 781 | 781 | 0.590269 |
6fdc8c8db4b7158c4e56be5ff25c275cd77464ba | 21,774 | js | JavaScript | bomberman/game.js | slawyn/pc-bomberman-javascript | b6ae5241f30496ec1f81b75a2fe48031f306e19c | [
"Apache-2.0"
] | null | null | null | bomberman/game.js | slawyn/pc-bomberman-javascript | b6ae5241f30496ec1f81b75a2fe48031f306e19c | [
"Apache-2.0"
] | null | null | null | bomberman/game.js | slawyn/pc-bomberman-javascript | b6ae5241f30496ec1f81b75a2fe48031f306e19c | [
"Apache-2.0"
] | null | null | null | var G_FIELD;
var G_CONCRETE_BLOCKS = {};
var G_CONCRETE_DEATH_BLOCKS={};
var G_START_SUDDEN_DEATH=0;
var G_BOMBS = {};
var G_CRATES = {};
var G_EXPLOSIONS = [];
var G_GAMECONTEXT;
var G_BORDERCONTEXT=[];
var G_DECORATIONS_BACK=[];
var G_DECORATIONS_FRONT =[]
var G_SPRITES=[];
var G_ROUND_ENDED;
var G_SUDDEN_DEATH_TIME;... | 27.2175 | 193 | 0.579866 |
6fdc92b42cc40736e729fe4fbc0c0c1e0aa78dbd | 1,442 | js | JavaScript | services/frontend/src/components/mobile-search.js | kuronosec/eos-rate | 3300dcacb12756d7e25c2b328af7130e39cea4ea | [
"MIT"
] | null | null | null | services/frontend/src/components/mobile-search.js | kuronosec/eos-rate | 3300dcacb12756d7e25c2b328af7130e39cea4ea | [
"MIT"
] | null | null | null | services/frontend/src/components/mobile-search.js | kuronosec/eos-rate | 3300dcacb12756d7e25c2b328af7130e39cea4ea | [
"MIT"
] | null | null | null | import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import { withStyles } from '@material-ui/core/styles'
import Dialog from '@material-ui/core/Dialog'
import AppBar from '@material-ui/core/AppBar'
import Toolbar from '@material-ui/core/Toolbar'
import IconButton from '@material-ui/core/Icon... | 26.218182 | 98 | 0.651179 |
6fdce372d58487919676723b9385915e83a64bb1 | 6,978 | js | JavaScript | node_modules/@progress/kendo-angular-upload/dist/npm/navigation.service.js | divlaksh/questionnaire-new | 900b4a74943dbbddffce930ad2d2b8216233facd | [
"Apache-2.0"
] | null | null | null | node_modules/@progress/kendo-angular-upload/dist/npm/navigation.service.js | divlaksh/questionnaire-new | 900b4a74943dbbddffce930ad2d2b8216233facd | [
"Apache-2.0"
] | 6 | 2020-06-17T13:26:07.000Z | 2022-03-02T09:09:27.000Z | node_modules/@progress/kendo-angular-upload/dist/npm/navigation.service.js | divlaksh/questionnaire-new | 900b4a74943dbbddffce930ad2d2b8216233facd | [
"Apache-2.0"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var upload_service_1 = require("./upload.service");
var kendo_angular_common_1 = require("@progress/kendo-angular-common");
/**
* @hidden
*/
var NavigationService = /** @class */ (function () {
func... | 41.784431 | 168 | 0.603181 |
6fdd315f3681642783f99a2a99bbc42b029e8f88 | 11,505 | js | JavaScript | app/home/GDHome.js | Hey2Li/RNGD | 67ee45439c5fe05aa8f2f358f6b28470e3832684 | [
"Apache-2.0"
] | null | null | null | app/home/GDHome.js | Hey2Li/RNGD | 67ee45439c5fe05aa8f2f358f6b28470e3832684 | [
"Apache-2.0"
] | null | null | null | app/home/GDHome.js | Hey2Li/RNGD | 67ee45439c5fe05aa8f2f358f6b28470e3832684 | [
"Apache-2.0"
] | null | null | null | import React, { Component } from 'react';
import {
StyleSheet,
View,
TouchableOpacity,
Image,
ListView,
Dimensions,
ActivityIndicator,
Modal,
AsyncStorage,
Navigator
} from 'react-native';
// 组件
import CommunaNavBar from '../main/GDCommunalNavBar';
import HalfHourHot from './GDHalf... | 27.789855 | 105 | 0.458931 |
6fdd9f2bd4c0fa5173b53b9513dd566c3e53f712 | 1,230 | js | JavaScript | client/src/redux/reducers/board.reducer.js | mfasman95/HTTP-API-assignmentt | a76d72f283960e2c88fe2a1d7ad0335445c502f1 | [
"MIT"
] | null | null | null | client/src/redux/reducers/board.reducer.js | mfasman95/HTTP-API-assignmentt | a76d72f283960e2c88fe2a1d7ad0335445c502f1 | [
"MIT"
] | null | null | null | client/src/redux/reducers/board.reducer.js | mfasman95/HTTP-API-assignmentt | a76d72f283960e2c88fe2a1d7ad0335445c502f1 | [
"MIT"
] | null | null | null | import extend from 'extend';
// Set initial application state
const initialState = {};
// Handle actions dispatched to the reducer
const actionHandlers = {
ENTER_BOARD: (returnState, action) => {
const rs = returnState;
// Set the new page value
rs.board = action.board;
return rs;
},
LEAVE_BOA... | 24.6 | 74 | 0.665041 |
6fdda44481ae401edeef11885805a0feb19e67fa | 212 | js | JavaScript | index.js | ariutta/ariutta-loading | 5dc176ad9a54054e2faa236c627861a846005cf5 | [
"Apache-2.0"
] | null | null | null | index.js | ariutta/ariutta-loading | 5dc176ad9a54054e2faa236c627861a846005cf5 | [
"Apache-2.0"
] | null | null | null | index.js | ariutta/ariutta-loading | 5dc176ad9a54054e2faa236c627861a846005cf5 | [
"Apache-2.0"
] | null | null | null | 'use strict';
var fs = require('fs');
var insertCss = require('insert-css');
module.exports = (function() {
var css = [
fs.readFileSync(__dirname + '/ariutta-loading.css')
];
css.map(insertCss);
})();
| 19.272727 | 55 | 0.627358 |
6fddae20b8e54ee78216e7470e03f2ff54b44a27 | 6,453 | js | JavaScript | src/components/menu/menu-item/menu-item.style.js | liam-cochrane/carbon | 09a244ec004462e7ef7d4a6da9c097e36b3ab70c | [
"Apache-2.0"
] | null | null | null | src/components/menu/menu-item/menu-item.style.js | liam-cochrane/carbon | 09a244ec004462e7ef7d4a6da9c097e36b3ab70c | [
"Apache-2.0"
] | null | null | null | src/components/menu/menu-item/menu-item.style.js | liam-cochrane/carbon | 09a244ec004462e7ef7d4a6da9c097e36b3ab70c | [
"Apache-2.0"
] | null | null | null | import styled, { css } from "styled-components";
import { baseTheme } from "../../../style/themes";
import LinkStyle from "../../link/link.style";
import IconStyle from "../../icon/icon.style";
const StyledMenuItemWrapper = styled.a`
${({
menuType,
theme,
selected,
hasSubmenu,
isOpen,
variant... | 20.420886 | 77 | 0.477607 |
6fddbb34e92a23d5d1070cad7d9051332e2fab21 | 703 | js | JavaScript | server/src/routes.js | Hayato9203/imooc_fullstatck | b6aea73bed137c6918144a2e2572e230dbe065fd | [
"MIT"
] | null | null | null | server/src/routes.js | Hayato9203/imooc_fullstatck | b6aea73bed137c6918144a2e2572e230dbe065fd | [
"MIT"
] | null | null | null | server/src/routes.js | Hayato9203/imooc_fullstatck | b6aea73bed137c6918144a2e2572e230dbe065fd | [
"MIT"
] | null | null | null | // 集中处理从client端过来的请求
const GoodsController = require('./controllers/GoodsController')
const CartController = require('./controllers/CartController')
const AuthenticationController = require('./controllers/AuthenticationController')
const isAuthenticated = require('./policies/isAuthenticated')
// 将下面的server路由请求暴露一个名为app... | 33.47619 | 82 | 0.742532 |
6fde00ddfcd93e8782fe8f8dd2809d2bf9b37126 | 7,399 | js | JavaScript | couchdb/homework/_design/status/_list/complex.js | ICT-Infer/DDU | 8feed71a4cd652650749f875cc9ef135cbe79248 | [
"0BSD"
] | null | null | null | couchdb/homework/_design/status/_list/complex.js | ICT-Infer/DDU | 8feed71a4cd652650749f875cc9ef135cbe79248 | [
"0BSD"
] | 1 | 2016-10-26T16:16:43.000Z | 2016-10-26T17:41:24.000Z | couchdb/homework/_design/status/_list/complex.js | ICT-Infer/DDU | 8feed71a4cd652650749f875cc9ef135cbe79248 | [
"0BSD"
] | null | null | null | /*
* Copyright (c) 2016, 2017 Erik Nordstrøm <erikn@ict-infer.no>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED ... | 20.783708 | 75 | 0.540208 |
6fde3480e71c873892d447c0a6986b22f6d092fb | 1,081 | js | JavaScript | resources/js/store/store.js | hfazlul/blog | 7da65a693e2882d44626d5e34fc0327882356f05 | [
"MIT"
] | 1 | 2020-12-06T05:27:35.000Z | 2020-12-06T05:27:35.000Z | resources/js/store/store.js | hfazlul/blog | 7da65a693e2882d44626d5e34fc0327882356f05 | [
"MIT"
] | null | null | null | resources/js/store/store.js | hfazlul/blog | 7da65a693e2882d44626d5e34fc0327882356f05 | [
"MIT"
] | null | null | null | export default {
state: {
catData: [],
postData: [],
},
getters:{
categories(state){
return state.catData;
},
posts(state){
return state.postData;
}
},
actions: {
getCategories(data){
axios.... | 20.396226 | 65 | 0.456984 |
6fde51e02f6d3dec767e8638b1966bd9736cdbee | 1,774 | js | JavaScript | src/utils/shortcodes.js | jasperro/jasperro-website | 0b6fc277c668596314f4c11b0a0ada1e1c9821b5 | [
"0BSD"
] | 3 | 2020-06-23T17:46:22.000Z | 2021-02-01T18:51:15.000Z | src/utils/shortcodes.js | jasperro/jasperro-website | 0b6fc277c668596314f4c11b0a0ada1e1c9821b5 | [
"0BSD"
] | 5 | 2021-02-05T08:45:08.000Z | 2021-06-08T16:17:19.000Z | src/utils/shortcodes.js | jasperro/jasperro-website | 0b6fc277c668596314f4c11b0a0ada1e1c9821b5 | [
"0BSD"
] | null | null | null | const fs = require("fs");
const Image = require("@11ty/eleventy-img");
module.exports = {
icon: function (name, size = "small", rest, inline = true) {
const iconsprites = "/assets/icons/icons.sprite.svg";
const iconid = `#icon-${name}`;
const href = inline ? iconid : `${iconsprites}${iconid... | 31.122807 | 92 | 0.470124 |
6fdea379409ddbe8ef6c20a21d96ef610efcd3cc | 1,257 | js | JavaScript | app/scripts/directives/nobeProjectModal/nobeProjectModal.js | gruan/NOBEIllinois-Website | e6fbd3d80a499102b9a25c155f04eb754be68e93 | [
"MIT"
] | null | null | null | app/scripts/directives/nobeProjectModal/nobeProjectModal.js | gruan/NOBEIllinois-Website | e6fbd3d80a499102b9a25c155f04eb754be68e93 | [
"MIT"
] | null | null | null | app/scripts/directives/nobeProjectModal/nobeProjectModal.js | gruan/NOBEIllinois-Website | e6fbd3d80a499102b9a25c155f04eb754be68e93 | [
"MIT"
] | null | null | null | /**
* Created by George Ruan on July 3, 2016.
*
* nobeProjectModal defines the appearance and functionality of
* the project modal.
*/
(function() {
'use strict';
angular.module('nobe')
.directive('nobeProjectModal', nobeProjectModal);
nobeProjectModal.$inject = ['$timeout', 'nobeWindowData'];
func... | 20.95 | 78 | 0.566428 |
6fdeee6e592bcad2768ace68a1d01028ce24ca61 | 12,273 | js | JavaScript | docs/html/search/all_8.js | FThompsonAWS/aws-iot-device-sdk-cpp-v2 | 4131533736a47cd82cac38416586cbd8f60f3ccc | [
"Apache-2.0"
] | 88 | 2019-11-29T19:30:29.000Z | 2022-03-28T02:29:51.000Z | docs/html/search/all_8.js | FThompsonAWS/aws-iot-device-sdk-cpp-v2 | 4131533736a47cd82cac38416586cbd8f60f3ccc | [
"Apache-2.0"
] | 194 | 2019-12-01T15:54:42.000Z | 2022-03-31T22:06:11.000Z | docs/html/search/all_8.js | FThompsonAWS/aws-iot-device-sdk-cpp-v2 | 4131533736a47cd82cac38416586cbd8f60f3ccc | [
"Apache-2.0"
] | 64 | 2019-12-17T14:13:40.000Z | 2022-03-12T07:43:13.000Z | var searchData=
[
['has_5fvalue_0',['has_value',['../class_aws_1_1_crt_1_1_optional.html#a4356231bdd8a67fd565f8a8211a2e770',1,'Aws::Crt::Optional']]],
['hash_1',['Hash',['../class_aws_1_1_crt_1_1_crypto_1_1_hash.html',1,'Aws::Crt::Crypto::Hash'],['../class_aws_1_1_crt_1_1_crypto_1_1_hash.html#afcf6014cc28bf7fd3110e... | 255.6875 | 1,099 | 0.813493 |
6fdf18393edb9ce149a2ea54a14288997fd68af2 | 11,633 | js | JavaScript | js/jquery.windows-engine.js | vitt76/majordomo | 0fdd61b440087c6185b5c074f9b78a657b5be36f | [
"MIT"
] | 1 | 2019-07-09T11:06:34.000Z | 2019-07-09T11:06:34.000Z | js/jquery.windows-engine.js | vitt76/majordomo | 0fdd61b440087c6185b5c074f9b78a657b5be36f | [
"MIT"
] | null | null | null | js/jquery.windows-engine.js | vitt76/majordomo | 0fdd61b440087c6185b5c074f9b78a657b5be36f | [
"MIT"
] | 1 | 2017-05-28T09:58:36.000Z | 2017-05-28T09:58:36.000Z | /**
* jQuery Windows Engine Plugin
* @requires jQuery v1.2.6 or greater
* http://hernan.amiune.com/labs
*
* Copyright(c) Hernan Amiune (hernan.amiune.com)
* Licensed under MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Version: 1.3
*/
var jqWindowsEngineZIndex = 100;
jQue... | 35.145015 | 105 | 0.462048 |
6fdf73fd72f0ebea4893702bf8b8f451c8ab1dc0 | 2,537 | js | JavaScript | src/components/App/index.js | suresh4swamy/usermanagement | 06c61980b1d4b50818499c90fe232a620d774e5f | [
"OML"
] | null | null | null | src/components/App/index.js | suresh4swamy/usermanagement | 06c61980b1d4b50818499c90fe232a620d774e5f | [
"OML"
] | 9 | 2020-09-06T09:39:28.000Z | 2022-02-26T14:58:37.000Z | src/components/App/index.js | suresh4swamy/usermanagement | 06c61980b1d4b50818499c90fe232a620d774e5f | [
"OML"
] | null | null | null | import React from 'react';
import {
BrowserRouter as Router,
Route,
Switch,
Redirect,
} from 'react-router-dom';
// import $ from 'jquery';
// import 'react-bootstrap';
import 'bootstrap/dist/css/bootstrap.css';
import 'bootstrap/dist/js/bootstrap';
import 'font-awesome/css/font-awesome.css';
import '@emotion... | 30.566265 | 70 | 0.610958 |
6fe01dc1b0b49ace62919a48948a22ab9e93ebb2 | 693 | js | JavaScript | src/data/examples/zh-Hans/21_Input/02_Easing.js | Divyansh013/p5.js-website | f0285037f96a5530d55cbdb9fa12bd322c4e94ae | [
"MIT"
] | 248 | 2015-02-16T22:22:42.000Z | 2022-03-28T12:59:56.000Z | src/data/examples/zh-Hans/21_Input/02_Easing.js | Divyansh013/p5.js-website | f0285037f96a5530d55cbdb9fa12bd322c4e94ae | [
"MIT"
] | 1,113 | 2015-02-16T17:17:07.000Z | 2022-03-31T21:13:40.000Z | src/data/examples/zh-Hans/21_Input/02_Easing.js | Divyansh013/p5.js-website | f0285037f96a5530d55cbdb9fa12bd322c4e94ae | [
"MIT"
] | 554 | 2015-02-17T21:43:35.000Z | 2022-03-31T00:15:16.000Z | /*
* @name Easing
* @description Move the mouse across the screen and the symbol
* will follow. Between drawing each frame of the animation, the
* program calculates the difference between the position of the
* symbol and the cursor. If the distance is larger than 1 pixel,
* the symbol moves part of the distance ... | 22.354839 | 65 | 0.666667 |
6fe04eb82d08e8e58d769aea9ef1ed3bdf304322 | 174 | js | JavaScript | src/docs/directives/script/scroll.js | ahmadfajar/vue-mdbootstrap-docs | 63e7353f9103b9ef43d1006b03ad5753c6b39398 | [
"BSD-3-Clause"
] | null | null | null | src/docs/directives/script/scroll.js | ahmadfajar/vue-mdbootstrap-docs | 63e7353f9103b9ef43d1006b03ad5753c6b39398 | [
"BSD-3-Clause"
] | null | null | null | src/docs/directives/script/scroll.js | ahmadfajar/vue-mdbootstrap-docs | 63e7353f9103b9ef43d1006b03ad5753c6b39398 | [
"BSD-3-Clause"
] | null | null | null | export default {
data: () => ({
offsetTop: 0,
}),
methods: {
onScroll(el, e) {
this.offsetTop = e.target.scrollTop;
}
}
}
| 15.818182 | 48 | 0.425287 |
6fe0b39adc6ebde70925304fcd70bd40c42c27d6 | 37 | js | JavaScript | crates/swc_ecma_minifier/tests/terser/compress/export/keyword_valid_3/output.terser.js | mengxy/swc | bcc3ae86ae0732979f9fbfef370ae729ba9af080 | [
"Apache-2.0"
] | 21,008 | 2017-04-01T04:06:55.000Z | 2022-03-31T23:11:05.000Z | ecmascript/minifier/tests/terser/compress/export/keyword_valid_3/output.terser.js | sventschui/swc | cd2a2777d9459ba0f67774ed8a37e2b070b51e81 | [
"Apache-2.0",
"MIT"
] | 2,309 | 2018-01-14T05:54:44.000Z | 2022-03-31T15:48:40.000Z | ecmascript/minifier/tests/terser/compress/export/keyword_valid_3/output.terser.js | sventschui/swc | cd2a2777d9459ba0f67774ed8a37e2b070b51e81 | [
"Apache-2.0",
"MIT"
] | 768 | 2018-01-14T05:15:43.000Z | 2022-03-30T11:29:42.000Z | export { default } from "module.js";
| 18.5 | 36 | 0.675676 |
6fe1905e2119a8c9850e453e2af85e9ed0a5967f | 6,589 | js | JavaScript | static/1627814429/amp/100/9/payload.js | mazipan-quran-offline/mazipan-quran-offline.github.io | 5c4d73b71f87b51903bf88d8e50490d71a6a2b9a | [
"MIT",
"0BSD"
] | 3 | 2020-05-20T03:24:38.000Z | 2020-05-23T14:57:35.000Z | static/1627814429/amp/100/9/payload.js | mazipan-quran-offline/mazipan-quran-offline.github.io | 5c4d73b71f87b51903bf88d8e50490d71a6a2b9a | [
"MIT",
"0BSD"
] | null | null | null | static/1627814429/amp/100/9/payload.js | mazipan-quran-offline/mazipan-quran-offline.github.io | 5c4d73b71f87b51903bf88d8e50490d71a6a2b9a | [
"MIT",
"0BSD"
] | 2 | 2020-05-23T15:10:55.000Z | 2020-06-18T05:57:38.000Z | __NUXT_JSONP__("/amp/100/9", (function(a,b,c,d,e,f,g,h){return {data:[{metaTitle:d,metaDesc:e,verseId:9,surahId:100,currentSurah:{number:"100",name:"العٰديٰت",name_latin:"Al-'Adiyat",number_of_ayah:"11",text:{"1":"وَالْعٰدِيٰتِ ضَبْحًاۙ ","2":"فَالْمُوْرِيٰتِ قَدْحًاۙ","3":"فَالْمُغِيْرٰتِ صُبْحًاۙ","4":"فَاَثَرْنَ بِه... | 6,589 | 6,589 | 0.773562 |
6fe26bbc5d0734673b53abdd9f0da33fc9a68a91 | 7,422 | js | JavaScript | src/marionette.region.js | cmaher/backbone.marionette | c304ecfb9d2a5ffbef39ec2f5df1a139b7833635 | [
"MIT"
] | 1 | 2015-07-17T11:01:17.000Z | 2015-07-17T11:01:17.000Z | src/marionette.region.js | peterblazejewicz/backbone.marionette | 0b010337e1022ee1906b17aa7e106c6986d9e507 | [
"MIT"
] | null | null | null | src/marionette.region.js | peterblazejewicz/backbone.marionette | 0b010337e1022ee1906b17aa7e106c6986d9e507 | [
"MIT"
] | null | null | null | /* jshint maxcomplexity: 10, maxstatements: 27 */
// Region
// ------
//
// Manage the visual regions of your composite application. See
// http://lostechies.com/derickbailey/2011/12/12/composite-js-apps-regions-and-region-managers/
Marionette.Region = function(options) {
this.options = options || {};
this.el = t... | 28.436782 | 95 | 0.652115 |
6fe2bd738a73f3cb4beca26735790c53f47792d8 | 301 | js | JavaScript | tests/functional/tests/components/card.spec.js | marlonfrontend/vue-sdz | 50b59fd58fe30ed46e2e10959de337238c2bfe8f | [
"MIT"
] | 1 | 2021-07-23T14:06:47.000Z | 2021-07-23T14:06:47.000Z | tests/functional/tests/components/card.spec.js | sdz-front/vue-sdz | 50b59fd58fe30ed46e2e10959de337238c2bfe8f | [
"MIT"
] | 2 | 2021-08-13T18:40:22.000Z | 2021-09-09T17:54:10.000Z | tests/functional/tests/components/card.spec.js | seedz-ag/vue-sdz | 50b59fd58fe30ed46e2e10959de337238c2bfe8f | [
"MIT"
] | null | null | null | describe('SCard', () => {
it('test 1', () => {
cy.common('app.responsive', 'desktop')
// cy.common('element.click', 'logged-actions-button')
// cy.common('element.click', 'popover-Configurações')
// cy
// .get('.configuration-container')
// .should('be.visible')
})
})
| 27.363636 | 58 | 0.561462 |
6fe3030edd33b89d3f0681701c4fd19161179cb8 | 4,788 | js | JavaScript | src/test/scripts/suite/syntax/identifier/unicode_escape_binding_let.js | mathiasbynens/es6draft | 7e196e8a1482384ca83946998f5fbd22068b47c6 | [
"MIT"
] | 48 | 2015-01-29T09:32:22.000Z | 2022-02-10T11:12:29.000Z | src/test/scripts/suite/syntax/identifier/unicode_escape_binding_let.js | mathiasbynens/es6draft | 7e196e8a1482384ca83946998f5fbd22068b47c6 | [
"MIT"
] | 26 | 2015-01-19T09:16:29.000Z | 2022-02-22T12:15:13.000Z | src/test/scripts/suite/syntax/identifier/unicode_escape_binding_let.js | mathiasbynens/es6draft | 7e196e8a1482384ca83946998f5fbd22068b47c6 | [
"MIT"
] | 17 | 2015-07-10T18:53:24.000Z | 2022-03-23T02:25:05.000Z | /*
* Copyright (c) André Bargull
* Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms.
*
* <https://github.com/anba/es6draft>
*/
const {
assertSyntaxError
} = Assert;
// 11.6.2.1 Keywords
const Keywords =
`
break do in typeof
case else instanceof var
c... | 32.794521 | 115 | 0.592523 |
6fe383e9389378f4279180e0552da60756c432d2 | 1,596 | js | JavaScript | Header/doxygen/html/group___s_t_m8_a_f___s_t_m8_s_struct___c_a_n__t_8_page_8_p_a_g_e__0.js | STM8-SPL-license/discussion | 1a565af33b229c6e14887a1f02f51aa77b267cbe | [
"CNRI-Python",
"Xnet",
"X11"
] | 1 | 2019-06-02T20:40:18.000Z | 2019-06-02T20:40:18.000Z | Header/doxygen/html/group___s_t_m8_a_f___s_t_m8_s_struct___c_a_n__t_8_page_8_p_a_g_e__0.js | STM8-SPL-license/discussion | 1a565af33b229c6e14887a1f02f51aa77b267cbe | [
"CNRI-Python",
"Xnet",
"X11"
] | 2 | 2019-01-06T10:54:45.000Z | 2020-06-14T05:24:21.000Z | Header/doxygen/html/group___s_t_m8_a_f___s_t_m8_s_struct___c_a_n__t_8_page_8_p_a_g_e__0.js | STM8-SPL-license/discussion | 1a565af33b229c6e14887a1f02f51aa77b267cbe | [
"CNRI-Python",
"Xnet",
"X11"
] | null | null | null | var group___s_t_m8_a_f___s_t_m8_s_struct___c_a_n__t_8_page_8_p_a_g_e__0 =
[
[ "MCSR", "group___s_t_m8_a_f___s_t_m8_s.html#a2afa689ca12af7a68d7ec2998eeeb8f2", null ],
[ "MDAR1", "group___s_t_m8_a_f___s_t_m8_s.html#ae556d494a322169ad317404e01a80af0", null ],
[ "MDAR2", "group___s_t_m8_a_f___s_t_m8_s.html#a1e0... | 84 | 94 | 0.795113 |
6fe45c91e2ba27e61be4e6881ab72c6dab81ce25 | 471 | js | JavaScript | packages/ember-views/lib/views/states/destroying.js | rob-e-pitts/ember.js | ca76dba3cd9fdf3f7f0a4173e6d9454d5bcfc666 | [
"MIT"
] | 1 | 2019-02-24T08:01:28.000Z | 2019-02-24T08:01:28.000Z | packages/ember-views/lib/views/states/destroying.js | rob-e-pitts/ember.js | ca76dba3cd9fdf3f7f0a4173e6d9454d5bcfc666 | [
"MIT"
] | 1 | 2021-05-07T17:13:03.000Z | 2021-05-07T17:13:03.000Z | packages/ember-views/lib/views/states/destroying.js | rob-e-pitts/ember.js | ca76dba3cd9fdf3f7f0a4173e6d9454d5bcfc666 | [
"MIT"
] | null | null | null | import { assign } from 'ember-utils';
import { Error as EmberError } from 'ember-metal';
import _default from './default';
/**
@module ember
@submodule ember-views
*/
const destroying = Object.create(_default);
assign(destroying, {
appendChild() {
throw new EmberError('You can\'t call appendChild on a view bein... | 22.428571 | 82 | 0.700637 |
6fe47cd8862905470b456c7f03ebc92fbd9ea41d | 601 | js | JavaScript | nutz-integration-zbus/src/main/resources/org/nutz/integration/zbus/zbus-rpc-service.js | lihongwu19921215/nutzmore | 798fc634128c8bb4239e3b76a233b87c7a2932cc | [
"Apache-2.0"
] | 353 | 2015-02-13T14:04:50.000Z | 2022-03-04T08:36:19.000Z | nutz-integration-zbus/src/main/resources/org/nutz/integration/zbus/zbus-rpc-service.js | SaviourWong/nutzmore | a49568058a8239f1156bb6b87f1114d0b033e455 | [
"Apache-2.0"
] | 132 | 2015-03-17T07:08:29.000Z | 2022-03-10T02:18:38.000Z | nutz-integration-zbus/src/main/resources/org/nutz/integration/zbus/zbus-rpc-service.js | SaviourWong/nutzmore | a49568058a8239f1156bb6b87f1114d0b033e455 | [
"Apache-2.0"
] | 231 | 2015-02-13T01:30:11.000Z | 2021-06-13T17:18:19.000Z | var ioc = {
// 服务端配置------------------------
rpcProcessor:{
type: "org.zbus.rpc.RpcProcessor"
},
serviceConfig : {
type : "org.zbus.rpc.mq.ServiceConfig",
args : [{refer:"broker"}],
fields:{
mq : {java:"$conf.get('zbus.mq.name', 'nutzbook')"},
consumerCount : {java:"$conf.getInt('zbus.rpc.se... | 25.041667 | 79 | 0.537438 |
6fe57785506550272f22e8e7a65be8b7406eebb6 | 716 | js | JavaScript | test/sandbox.test.js | roman-spiridonov/mortgage-calc | a3c628754abb6ae53262b27006327b3245b12d0e | [
"MIT"
] | 1 | 2019-04-30T01:28:08.000Z | 2019-04-30T01:28:08.000Z | test/sandbox.test.js | roman-spiridonov/mortgage-calc | a3c628754abb6ae53262b27006327b3245b12d0e | [
"MIT"
] | null | null | null | test/sandbox.test.js | roman-spiridonov/mortgage-calc | a3c628754abb6ae53262b27006327b3245b12d0e | [
"MIT"
] | null | null | null | /**
* Created by Roman Spiridonov <romars@phystech.edu> on 4/20/2017.
*/
"use strict";
const
// Libraries
path = require('path'),
expect = require('chai').expect,
sinon = require('sinon'),
// Project modules
mjAPI = require("mathjax-node"),
mjpage = require("mathjax-node-page").mjpage;
describe("sand... | 20.457143 | 66 | 0.543296 |
6fe63c4b6cb9c2e8203403a981ec1ceb4ff2b1d0 | 718 | js | JavaScript | jest.config.js | mattkenney/react-bulma-components | 5d103ef780e9ba3387cdbbc33d303a66c71ff247 | [
"MIT"
] | null | null | null | jest.config.js | mattkenney/react-bulma-components | 5d103ef780e9ba3387cdbbc33d303a66c71ff247 | [
"MIT"
] | null | null | null | jest.config.js | mattkenney/react-bulma-components | 5d103ef780e9ba3387cdbbc33d303a66c71ff247 | [
"MIT"
] | null | null | null | module.exports = {
setupFilesAfterEnv: ['./__test__/setup.js'],
rootDir: 'src',
testMatch: ['**/*.test.js'],
coverageDirectory: '<rootDir>/../.coverage',
collectCoverageFrom: [
'**/*.js',
'!**/node_modules/**',
'!**/*.story.js',
'!**/*.test.js',
],
coverageReporters: ['lcov', 'text', 'text... | 21.757576 | 65 | 0.527855 |
6fe64c0baf1e70449fad7b332a0a355884f73167 | 613 | js | JavaScript | test/serializer/pure-functions/ObjectAssign2.js | himanshiLt/prepack | 185bc0208b0ab98950f45b8dc33307209b6f21ac | [
"BSD-3-Clause"
] | 15,477 | 2017-05-03T17:07:59.000Z | 2022-02-11T15:50:02.000Z | test/serializer/pure-functions/ObjectAssign2.js | himanshiLt/prepack | 185bc0208b0ab98950f45b8dc33307209b6f21ac | [
"BSD-3-Clause"
] | 1,419 | 2017-05-03T17:40:19.000Z | 2022-02-10T16:38:28.000Z | test/serializer/pure-functions/ObjectAssign2.js | himanshiLt/prepack | 185bc0208b0ab98950f45b8dc33307209b6f21ac | [
"BSD-3-Clause"
] | 609 | 2017-05-03T17:12:43.000Z | 2022-01-25T06:55:55.000Z | (function() {
var someAbstract = global.__abstract ? __abstract("function", "(function() {})") : () => {};
var evaluatePureFunction = global.__evaluatePureFunction || (f => f());
var result;
evaluatePureFunction(() => {
function calculate(y) {
var z = { c: 3, e: 1 };
if (global.__makePartial) _... | 26.652174 | 94 | 0.570962 |
6fe65723ce80c2e9617f20eb5b66e3faa432c843 | 3,885 | js | JavaScript | src/components/common/NetworkBanner.js | Mintbase/near-wallet | 573702b2b27c3aec8817c1c09c959a343a003a9e | [
"Apache-2.0",
"MIT"
] | 5 | 2021-01-19T07:38:46.000Z | 2021-11-17T17:51:04.000Z | src/components/common/NetworkBanner.js | buiquanganh2001/near-wallet | 573702b2b27c3aec8817c1c09c959a343a003a9e | [
"Apache-2.0",
"MIT"
] | null | null | null | src/components/common/NetworkBanner.js | buiquanganh2001/near-wallet | 573702b2b27c3aec8817c1c09c959a343a003a9e | [
"Apache-2.0",
"MIT"
] | 3 | 2021-01-19T01:42:49.000Z | 2021-09-27T14:15:59.000Z | import React, { useEffect } from 'react';
import styled from 'styled-components';
import helpIconWhite from '../../images/icon-help-white.svg';
import helpIconBrown from '../../images/icon-help-brown.svg';
import { IS_MAINNET, SHOW_PRERELEASE_WARNING, NODE_URL } from '../../utils/wallet';
import { Modal } from 'semanti... | 29.656489 | 137 | 0.497297 |
6fe66b5a7c0f575c8576f418486867a379a9ffa5 | 1,275 | js | JavaScript | docs/assets/read-notes_weread_jiucaideziwoxiuyang.md.f5403116.lean.js | MShineRay/MShineRay.github.io | 57ed79235b9753e8ecdd019f966cac26ed18774b | [
"MIT"
] | null | null | null | docs/assets/read-notes_weread_jiucaideziwoxiuyang.md.f5403116.lean.js | MShineRay/MShineRay.github.io | 57ed79235b9753e8ecdd019f966cac26ed18774b | [
"MIT"
] | null | null | null | docs/assets/read-notes_weread_jiucaideziwoxiuyang.md.f5403116.lean.js | MShineRay/MShineRay.github.io | 57ed79235b9753e8ecdd019f966cac26ed18774b | [
"MIT"
] | null | null | null | import { l as logCreated } from "./log-created.c3942cf7.js";
import { _ as _export_sfc, o as openBlock, c as createElementBlock, i as createStaticVNode, g as createVNode } from "./app.2b2dcef6.js";
var _imports_0 = "/img/weread/jiucaideziwoxiuyang/t6_23027232.jpg";
var jiucaideziwoxiuyang_vue_vue_type_style_index_0_sco... | 42.5 | 154 | 0.704314 |
6fe6b6bc4493c8060edce8b2661ca8bac5aed66f | 4,668 | js | JavaScript | src/assets/js/notification.js | fabianskutta/personal-site | 0d14b45a07ad7849408c39c986a9956fbc09e980 | [
"MIT"
] | 2 | 2022-01-04T22:26:41.000Z | 2022-03-07T22:42:58.000Z | src/assets/js/notification.js | fabianskutta/personal-site | 0d14b45a07ad7849408c39c986a9956fbc09e980 | [
"MIT"
] | null | null | null | src/assets/js/notification.js | fabianskutta/personal-site | 0d14b45a07ad7849408c39c986a9956fbc09e980 | [
"MIT"
] | null | null | null | var a1 = localStorage.getItem('achievement-1');
if (a1 === null) {
localStorage.setItem("achievement-1", false)
}
var a2 = localStorage.getItem('achievement-2');
if (a2 === null) {
localStorage.setItem("achievement-2", false)
}
var a3 = localStorage.getItem('achievement-3');
if (a3 === null) {
localStorag... | 45.320388 | 137 | 0.635604 |
6fe731f4b9ec49307e37a370c37bed252da2884a | 9,329 | js | JavaScript | src/shared/walletv3.js | xertSuns1/Niffler | 84702319322c9b8ab23236a4fadac24cad76058c | [
"Apache-2.0"
] | 77 | 2019-05-20T08:51:39.000Z | 2022-02-08T13:09:35.000Z | src/shared/walletv3.js | xertSuns1/Niffler | 84702319322c9b8ab23236a4fadac24cad76058c | [
"Apache-2.0"
] | 62 | 2019-05-22T16:13:54.000Z | 2021-04-25T08:18:09.000Z | src/shared/walletv3.js | xertSuns1/Niffler | 84702319322c9b8ab23236a4fadac24cad76058c | [
"Apache-2.0"
] | 25 | 2019-05-30T08:46:38.000Z | 2022-02-13T06:06:54.000Z | const axios = require('axios')
require('promise.prototype.finally').shim()
const crypto = require('crypto')
import fs from 'fs'
import {ownerApiSecretPath, grinWalletPath, platform} from './config'
import log from './logger'
import {exec, execFile} from 'child_process'
let client
let ecdh
let publicKey
let sharedSecre... | 30.993355 | 87 | 0.578304 |
6fe770abc62ea53225292cb4d630e92a0d668ee0 | 253 | js | JavaScript | www/src/helpers/isCriticalError.js | LiTO773/Noodle-core | d38fd0e21a0a372ff5afe45eaf2ddac5471dc38d | [
"MIT"
] | 1 | 2020-02-25T23:57:47.000Z | 2020-02-25T23:57:47.000Z | www/src/helpers/isCriticalError.js | LiTO773/Noodle-core | d38fd0e21a0a372ff5afe45eaf2ddac5471dc38d | [
"MIT"
] | null | null | null | www/src/helpers/isCriticalError.js | LiTO773/Noodle-core | d38fd0e21a0a372ff5afe45eaf2ddac5471dc38d | [
"MIT"
] | null | null | null | /**
* Receives an erro code and return if it is critical
* @return {boolean} true if critical
*/
export default errorCode => {
switch (errorCode) {
case 2:
case 3:
case 5:
case 6:
case 7:
return true
}
return false
}
| 14.882353 | 53 | 0.596838 |
6fe7a9e5336b4f37c047e78c7b87ad08b50f46b8 | 1,673 | js | JavaScript | Software/ChromeExtension/js/not_yet_used/complex_array.js | HiLivin/HEG_ESP32 | c2bdbc8d6de62b07276def183c7e7462002be1d1 | [
"MIT"
] | 72 | 2018-07-24T19:20:03.000Z | 2022-03-31T22:40:50.000Z | Software/ChromeExtension/js/not_yet_used/complex_array.js | HiLivin/HEG_ESP32 | c2bdbc8d6de62b07276def183c7e7462002be1d1 | [
"MIT"
] | 3 | 2019-09-23T07:43:12.000Z | 2020-09-13T18:44:50.000Z | Software/ChromeExtension/js/not_yet_used/complex_array.js | HiLivin/HEG_ESP32 | c2bdbc8d6de62b07276def183c7e7462002be1d1 | [
"MIT"
] | 19 | 2019-02-16T23:15:47.000Z | 2022-03-31T22:40:53.000Z | class baseComplexArray {
constructor(other, arrayType = Float32Array) {
if (other instanceof baseComplexArray) {
// Copy constuctor.
this.ArrayType = other.ArrayType;
this.real = new this.ArrayType(other.real);
this.imag = new this.ArrayType(other.imag);
} else {
this.ArrayType =... | 22.013158 | 73 | 0.563658 |
6fe824b9e45d2b22e90e1a4cb99a4c840f3e3b45 | 5,854 | js | JavaScript | gulpfile.js | spacegospod/Crate | 784d6f672c67990a47019004ade3c70729910d3a | [
"0BSD"
] | 1 | 2016-06-19T05:33:37.000Z | 2016-06-19T05:33:37.000Z | gulpfile.js | spacegospod/Crate | 784d6f672c67990a47019004ade3c70729910d3a | [
"0BSD"
] | null | null | null | gulpfile.js | spacegospod/Crate | 784d6f672c67990a47019004ade3c70729910d3a | [
"0BSD"
] | null | null | null | const gulp = require('gulp'),
concat = require('gulp-concat'),
ts = require('gulp-typescript'),
uglify = require('gulp-uglify'),
jsonMinify = require('gulp-json-minify'),
zip = require('gulp-zip'),
del = require('del'),
run = require('run-sequence');
/* ------ CLEANUP STEPS ------ */
// De... | 28.417476 | 75 | 0.5726 |
6fe846a338d956517d8cfb0feb35e587d33ede7d | 2,238 | js | JavaScript | src/infinityScroll.js | pcpl2/infinite-scroll-mithril | e81fd808d7763c13425e4754755d599bf2263325 | [
"BSD-2-Clause"
] | 1 | 2021-09-08T12:57:29.000Z | 2021-09-08T12:57:29.000Z | src/infinityScroll.js | pcpl2/infinite-scroll-mithril | e81fd808d7763c13425e4754755d599bf2263325 | [
"BSD-2-Clause"
] | null | null | null | src/infinityScroll.js | pcpl2/infinite-scroll-mithril | e81fd808d7763c13425e4754755d599bf2263325 | [
"BSD-2-Clause"
] | null | null | null | import m from 'mithril';
function runRequest(vnode) {
if(vnode.state.loading) {
return
}
vnode.state.loading = true
vnode.attrs.pageRequest(vnode.state.page, vnode.state.pageRequestParam).then((result) => {
vnode.state.page = vnode.state.page + 1
vnode.state.scrollElements = vnode.state.scrollElem... | 30.657534 | 172 | 0.658624 |
6fe87fbdfbb0b0646395cb7b3251ef0250eab27f | 5,683 | js | JavaScript | src/MovieClipInstance.js | SpringRoll/springroll-pixi-animate | 6971e98d83f218a745d9e227542021c201cbb7a6 | [
"MIT"
] | null | null | null | src/MovieClipInstance.js | SpringRoll/springroll-pixi-animate | 6971e98d83f218a745d9e227542021c201cbb7a6 | [
"MIT"
] | null | null | null | src/MovieClipInstance.js | SpringRoll/springroll-pixi-animate | 6971e98d83f218a745d9e227542021c201cbb7a6 | [
"MIT"
] | null | null | null | /**
* @module SpringRoll Plugin
* @namespace springroll.pixi.animate
* @requires Pixi Animate
*/
(function(undefined)
{
var MovieClip = include('PIXI.animate.MovieClip');
var AnimatorInstance = include('springroll.AnimatorInstance');
var Animator = include('PIXI.animate.Animator');
var Application = include("sp... | 25.484305 | 90 | 0.674644 |
b50ac7b5855ffd4f60c45a0f08230aae17600a85 | 5,307 | js | JavaScript | app/components/layout/TabbedPage.js | zubairzia0/decrediton | ae5f57fe013674a278f2abd10d29ffc380c4934a | [
"ISC"
] | null | null | null | app/components/layout/TabbedPage.js | zubairzia0/decrediton | ae5f57fe013674a278f2abd10d29ffc380c4934a | [
"ISC"
] | null | null | null | app/components/layout/TabbedPage.js | zubairzia0/decrediton | ae5f57fe013674a278f2abd10d29ffc380c4934a | [
"ISC"
] | null | null | null | import { classNames } from "pi-ui";
import { Switch, Route, matchPath } from "react-router-dom";
import { isArray } from "util";
import { RoutedTabsHeader, RoutedTab } from "shared";
import { TransitionMotion, spring } from "react-motion";
import theme from "theme";
import {
createElement as h,
cloneElement as k,
... | 28.686486 | 102 | 0.593367 |
6fed0f9de463496de9c52153fabcad0f6e7a0983 | 590 | js | JavaScript | test/cases/require-scripts-html/expected/assets/js/main.8a90.js | webdiscus/pug-plugin | bfeebf813fc17714d4eff654fbab38b280eb288e | [
"ISC"
] | 11 | 2021-12-23T20:34:30.000Z | 2022-03-24T15:09:18.000Z | test/cases/require-scripts-html/expected/assets/js/main.8a90.js | webdiscus/pug-plugin | bfeebf813fc17714d4eff654fbab38b280eb288e | [
"ISC"
] | 7 | 2021-12-23T20:32:10.000Z | 2022-03-31T14:03:16.000Z | test/cases/require-scripts-html/expected/assets/js/main.8a90.js | webdiscus/pug-plugin | bfeebf813fc17714d4eff654fbab38b280eb288e | [
"ISC"
] | 3 | 2022-01-27T04:41:29.000Z | 2022-03-19T13:37:24.000Z | (()=>{var e={271:(e,o,t)=>{"use strict";t.r(o),t.d(o,{default:()=>r});const r="<h2>Component</h2>"}},o={};function t(r){var n=o[r];if(void 0!==n)return n.exports;var l=o[r]={exports:{}};return e[r](l,l.exports,t),l.exports}t.d=(e,o)=>{for(var r in o)t.o(o,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]... | 590 | 590 | 0.638983 |
6fe9e8168c176ce9c53a5ed4c1894f0d59c29e0a | 5,077 | js | JavaScript | data/data.js | Nhawdge/stardew-helper | bd5dcb7dcaa612d99ea578e1bf226caca1595a82 | [
"MIT"
] | null | null | null | data/data.js | Nhawdge/stardew-helper | bd5dcb7dcaa612d99ea578e1bf226caca1595a82 | [
"MIT"
] | 1 | 2019-06-01T15:12:19.000Z | 2019-06-01T15:12:19.000Z | data/data.js | Nhawdge/stardew-helper | bd5dcb7dcaa612d99ea578e1bf226caca1595a82 | [
"MIT"
] | null | null | null | // Don't judge. I don't want to deal with ajax & github.
var data = {
"birthdays": [
{
"name": "Kent",
"date": "4",
"season": "spring"
},
{
"name": "Lewis",
"date": "7",
"season": "spring"
},
{
... | 21.696581 | 56 | 0.272208 |
6feb0f1425c326d5bf76d642f368c0c536696e97 | 47 | js | JavaScript | src/Tooltip/index.js | 13banda/material-ui | 2c365131307b2071580e8b710b26a17a6cd9cb6b | [
"MIT"
] | null | null | null | src/Tooltip/index.js | 13banda/material-ui | 2c365131307b2071580e8b710b26a17a6cd9cb6b | [
"MIT"
] | 8 | 2020-08-08T10:08:31.000Z | 2022-03-02T09:40:07.000Z | src/Tooltip/index.js | 13banda/material-ui | 2c365131307b2071580e8b710b26a17a6cd9cb6b | [
"MIT"
] | null | null | null | // @flow
export { default } from './Tooltip';
| 11.75 | 36 | 0.595745 |
6feb314c03691eec6bbe47ab3fac76ed6f8e34d8 | 371 | js | JavaScript | src/theme/index.js | TampaBayDesigners/design-challenges-2020 | 05f29a531fcd4366f015c7660d6d25785f0962b0 | [
"MIT"
] | null | null | null | src/theme/index.js | TampaBayDesigners/design-challenges-2020 | 05f29a531fcd4366f015c7660d6d25785f0962b0 | [
"MIT"
] | null | null | null | src/theme/index.js | TampaBayDesigners/design-challenges-2020 | 05f29a531fcd4366f015c7660d6d25785f0962b0 | [
"MIT"
] | null | null | null | export const Theme = {
black: 'hsla(0,0,0,1)',
white: 'hsla(100,100,100,1)',
grayDarkest: '#333333',
grayDarker: '#4F4F4F',
grayDark: '#828282',
grayLight: '#BDBDBD',
grayLighter: '#E0E0E0',
grayLightest: '#F2F2F2',
red: '#EB5757',
orange: '#e06c00',
yellow: '#F2C94C',
green: '#27AE60',
blue: ... | 21.823529 | 31 | 0.595687 |
6febf08ef67ca9b866556e5fa2d477cb4473df28 | 5,470 | js | JavaScript | src/lib/structures/base/Store.js | dragondev/klasa | 63bec6b78aea4cd877ad26538b90f37898d7c73c | [
"MIT"
] | null | null | null | src/lib/structures/base/Store.js | dragondev/klasa | 63bec6b78aea4cd877ad26538b90f37898d7c73c | [
"MIT"
] | null | null | null | src/lib/structures/base/Store.js | dragondev/klasa | 63bec6b78aea4cd877ad26538b90f37898d7c73c | [
"MIT"
] | 1 | 2021-06-09T21:26:43.000Z | 2021-06-09T21:26:43.000Z | const { join, extname, relative, sep } = require('path');
const { Collection } = require('discord.js');
const fs = require('fs-nextra');
const { isClass } = require('../../util/util');
/**
* The common base for all stores
* @see ArgumentStore
* @see CommandStore
* @see EventStore
* @see ExtendableStore
* @see Fi... | 26.945813 | 138 | 0.653382 |
6fec4b0f4a23836e16d45a1ee1e37112dc00626a | 1,544 | js | JavaScript | out.js | hisland/object-tree-flat-exchange | 16964e64ed287c663c895bf5680d5a6c13bf2f6f | [
"MIT"
] | null | null | null | out.js | hisland/object-tree-flat-exchange | 16964e64ed287c663c895bf5680d5a6c13bf2f6f | [
"MIT"
] | null | null | null | out.js | hisland/object-tree-flat-exchange | 16964e64ed287c663c895bf5680d5a6c13bf2f6f | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var isPlainObject = require('lodash.isplainobject');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var isPlainObject__default = /*#__PURE__*/_interopDefaultLegacy(isPlain... | 24.507937 | 114 | 0.596503 |
6fed825c93b21f86128c63f47efc72b589db0869 | 296 | js | JavaScript | src/scripts/config/config.js | veerleprins/web-app-from-scratch-2021 | b5263550f2c64faea3c4511a9952ef201cd3cd96 | [
"MIT"
] | null | null | null | src/scripts/config/config.js | veerleprins/web-app-from-scratch-2021 | b5263550f2c64faea3c4511a9952ef201cd3cd96 | [
"MIT"
] | 11 | 2021-02-05T09:43:50.000Z | 2021-03-02T10:50:08.000Z | src/scripts/config/config.js | veerleprins/web-app-from-scratch-2021 | b5263550f2c64faea3c4511a9952ef201cd3cd96 | [
"MIT"
] | null | null | null | export const URL = `https://api.themoviedb.org/3/`;
export const posterPath = `https://image.tmdb.org/t/p/w342/`;
export const KEY = `?api_key=04d41953aef99908d20a6535b916898e`;
export const param = `&with_genres=27&without_genres=35%2C14%2C18%2C28&page=`;
export const lang = `&language=en-US`;
| 49.333333 | 78 | 0.746622 |
6fee68b07202738960a77517d107b2451f685e4f | 4,221 | js | JavaScript | src/Inverter/ESP3K5/protocol.js | sm-project-dev/sm-protocol-manager | 5709767ecc29983eed164f44a1b04b51c60aa256 | [
"MIT"
] | null | null | null | src/Inverter/ESP3K5/protocol.js | sm-project-dev/sm-protocol-manager | 5709767ecc29983eed164f44a1b04b51c60aa256 | [
"MIT"
] | null | null | null | src/Inverter/ESP3K5/protocol.js | sm-project-dev/sm-protocol-manager | 5709767ecc29983eed164f44a1b04b51c60aa256 | [
"MIT"
] | null | null | null | const _ = require('lodash');
const { BU } = require('base-util-jh');
const Model = require('./Model');
const { parsingMethod } = require('../../format/moduleDefine');
const { makeTroubleList } = require('../../utils/troubleConverter');
const onDeviceOperationStatus = {
/** @param {Buffer} buf -> LSB 로 비트 index 계산... | 21.535714 | 68 | 0.493485 |
6feeef36d81dd35083a05a529a3bead0b7f74d92 | 863 | js | JavaScript | assets/report_page.js | iparips/flog-and-churn | 7289a3d61fecd7b823209f10cee20a8e4cf4835a | [
"MIT"
] | null | null | null | assets/report_page.js | iparips/flog-and-churn | 7289a3d61fecd7b823209f10cee20a8e4cf4835a | [
"MIT"
] | null | null | null | assets/report_page.js | iparips/flog-and-churn | 7289a3d61fecd7b823209f10cee20a8e4cf4835a | [
"MIT"
] | null | null | null | function onPageLoad(metrics) {
var data = new google.visualization.DataTable();
data.addColumn('number', 'Flog');
data.addColumn('number', 'Churn');
data.addColumn({type:'string', role:'tooltip'});
var options = {
title: 'Flog & Churn',
hAxis: {title: 'Churn', minValue: 0, maxValue: 10},
vAxis: ... | 23.324324 | 90 | 0.66628 |
6fefc31fbb30efa1ef1faf0b5f76515a63458ce9 | 644 | js | JavaScript | Gruntfile.js | Beckuro/portofolioproject | 6e696a71d7d9a5b9fc3da2cbb060f372acc7962d | [
"MIT"
] | null | null | null | Gruntfile.js | Beckuro/portofolioproject | 6e696a71d7d9a5b9fc3da2cbb060f372acc7962d | [
"MIT"
] | null | null | null | Gruntfile.js | Beckuro/portofolioproject | 6e696a71d7d9a5b9fc3da2cbb060f372acc7962d | [
"MIT"
] | null | null | null | /*
After you have changed the settings at "Your code goes here",
run this with one of these options:
"grunt" alone creates a new, completed images directory
"grunt clean" removes the images directory
"grunt responsive_images" re-processes images without removing the old ones
*/
module.exports = function(grunt)... | 22.206897 | 77 | 0.607143 |
6ff11386dd9e6ea46184a429423045cafbd8fcb3 | 1,487 | js | JavaScript | EthAdapter/utils/config.js | PharmaLedger-IMI/ethadapter | 62c61b45c9ff44900d31d79d1efc803e024c3589 | [
"MIT"
] | null | null | null | EthAdapter/utils/config.js | PharmaLedger-IMI/ethadapter | 62c61b45c9ff44900d31d79d1efc803e024c3589 | [
"MIT"
] | null | null | null | EthAdapter/utils/config.js | PharmaLedger-IMI/ethadapter | 62c61b45c9ff44900d31d79d1efc803e024c3589 | [
"MIT"
] | null | null | null |
module.exports = function Config(callback) {
//config map
if (typeof process.env.SMARTCONTRACTADDRESS !== "undefined")
{
console.log('Using env SMARTCONTRACTADDRESS : ', process.env.SMARTCONTRACTADDRESS);
this.contractAddress = process.env.SMARTCONTRACTADDRESS;
}else {
retu... | 27.036364 | 91 | 0.644923 |
6ff2147a0ffe526c87b4330f44e304f86064b609 | 504 | js | JavaScript | components/Footer/BlogSummary.js | PaulHaze/archo | 5e4c464de328e0953791e5347035fc27ed6e9b9a | [
"MIT"
] | null | null | null | components/Footer/BlogSummary.js | PaulHaze/archo | 5e4c464de328e0953791e5347035fc27ed6e9b9a | [
"MIT"
] | null | null | null | components/Footer/BlogSummary.js | PaulHaze/archo | 5e4c464de328e0953791e5347035fc27ed6e9b9a | [
"MIT"
] | null | null | null | import Image from 'next/image';
import styles from './Footer.module.scss';
export function BlogSummary({ blogThumbImgUrl, blogTitle, blogDate }) {
return (
<div className={styles.blogSummaryContainer}>
<div className={styles.imgContainer}>
<Image src={blogThumbImgUrl} objectFit="cover" layout="fil... | 28 | 71 | 0.636905 |
6ff2ad5a17f69340cdd5d573229f8354497dd8d9 | 396 | js | JavaScript | rules/reactRules.js | tobiasalthoff/eslint-config-epbs | 0d198120131b30b5ae591e64e192e98041a724f6 | [
"MIT"
] | null | null | null | rules/reactRules.js | tobiasalthoff/eslint-config-epbs | 0d198120131b30b5ae591e64e192e98041a724f6 | [
"MIT"
] | null | null | null | rules/reactRules.js | tobiasalthoff/eslint-config-epbs | 0d198120131b30b5ae591e64e192e98041a724f6 | [
"MIT"
] | null | null | null | // https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules
module.exports = {
'react/forbid-prop-types': 'off',
'react/jsx-filename-extension': [
'warn',
{
extensions: ['.js', '.jsx'],
},
],
'react/no-array-index-key': 'off',
'react/prefer-stateless-function': 'off',
'reac... | 24.75 | 74 | 0.623737 |
6ff461e559a803dedfffcf7e0445aba4a6c7c78c | 5,398 | js | JavaScript | src/AppBundle/Resources/public/js/app.js | sfarkas1988/bankingStatistics | cd6e2cfd754b9cd81b954a2a59d8f3551393844d | [
"MIT"
] | null | null | null | src/AppBundle/Resources/public/js/app.js | sfarkas1988/bankingStatistics | cd6e2cfd754b9cd81b954a2a59d8f3551393844d | [
"MIT"
] | null | null | null | src/AppBundle/Resources/public/js/app.js | sfarkas1988/bankingStatistics | cd6e2cfd754b9cd81b954a2a59d8f3551393844d | [
"MIT"
] | null | null | null | var app = angular.module("banking-stats", []);
app.controller('MonthlyCtrl', function($scope, DateRangePickerService, MonthlyService) {
DateRangePickerService.init();
MonthlyService.loadData(DateRangePickerService.getUnixStart(), DateRangePickerService.getUnixEnd(), $scope);
DateRangePickerService.getOb... | 28.86631 | 131 | 0.465913 |
6ff57bbd10c246938352095d34850e7bdddcd103 | 8,929 | js | JavaScript | data-visualization/cases/hamilton/src/ProcessGraph.js | zouv/frontend-boilerplates | 22becd0bca0b7aed072b883f7ddb4b77eab5225b | [
"MIT"
] | null | null | null | data-visualization/cases/hamilton/src/ProcessGraph.js | zouv/frontend-boilerplates | 22becd0bca0b7aed072b883f7ddb4b77eab5225b | [
"MIT"
] | null | null | null | data-visualization/cases/hamilton/src/ProcessGraph.js | zouv/frontend-boilerplates | 22becd0bca0b7aed072b883f7ddb4b77eab5225b | [
"MIT"
] | null | null | null | import _ from 'lodash';
import * as d3 from "d3";
// load the data
import charList from './data/char_list.json';
import songList from './data/song_list.json';
import rawLines from './data/lines.json';
import themeList from './data/theme_list.json';
import rawCharacters from './data/characters.json';
import rawThemes fr... | 33.07037 | 103 | 0.556389 |
6ff79c1ac405061b94186e405b0cf0a7dcf0a863 | 2,581 | js | JavaScript | node_modules/neo.mjs/node_modules/siesta-lite/lib/Siesta/Test/Simulator.js | dnabusinessintelligence/production | 4da3f443392b20a334a53022c5e1f6e445558e0a | [
"MIT"
] | null | null | null | node_modules/neo.mjs/node_modules/siesta-lite/lib/Siesta/Test/Simulator.js | dnabusinessintelligence/production | 4da3f443392b20a334a53022c5e1f6e445558e0a | [
"MIT"
] | null | null | null | node_modules/neo.mjs/node_modules/siesta-lite/lib/Siesta/Test/Simulator.js | dnabusinessintelligence/production | 4da3f443392b20a334a53022c5e1f6e445558e0a | [
"MIT"
] | null | null | null | /*
Siesta 5.3.2
Copyright(c) 2009-2020 Bryntum AB
https://bryntum.com/contact
https://bryntum.com/products/siesta/license
*/
Class('Siesta.Test.Simulator', {
does : [
Siesta.Util.Role.CanGetType,
Siesta.Test.Browser.Role.CanRebindJQueryContext,
Siesta.Test.Simulate.Event,
Siesta.... | 25.554455 | 137 | 0.543588 |
6ff7b92fd5c9a33834cdbc4affd509cc3ae8fd77 | 244 | js | JavaScript | store/user.js | yqw19920724/realworld-nuxt-demo | eb48bde8ac4ba648b28874aa1155b81f281ef710 | [
"MIT"
] | null | null | null | store/user.js | yqw19920724/realworld-nuxt-demo | eb48bde8ac4ba648b28874aa1155b81f281ef710 | [
"MIT"
] | null | null | null | store/user.js | yqw19920724/realworld-nuxt-demo | eb48bde8ac4ba648b28874aa1155b81f281ef710 | [
"MIT"
] | null | null | null | export const state = () => ({
user: ''
})
export const mutations = {
setUser(state, payload) {
state.user = payload
}
}
export const actions = {
setUser({ commit }, payload) {
commit('setUser', payload)
}
} | 16.266667 | 34 | 0.545082 |
6ff82aa8103fd33f34a96919be9505ef09af4ceb | 4,410 | js | JavaScript | gulptest/dist/script/home.js | 1610736291/project | 2e96c718a6803329f0c792c60ca8e03170fbd1ba | [
"MIT"
] | null | null | null | gulptest/dist/script/home.js | 1610736291/project | 2e96c718a6803329f0c792c60ca8e03170fbd1ba | [
"MIT"
] | null | null | null | gulptest/dist/script/home.js | 1610736291/project | 2e96c718a6803329f0c792c60ca8e03170fbd1ba | [
"MIT"
] | null | null | null | "use strict";!function(a){var n=a(".banner"),t=a(".banner ul"),l=a(".banner ul li"),e=a(".banner p span"),i=a(".banner .wrapper .left"),o=a(".banner .wrapper .right"),c=0,s=null,p=l.eq(0).width();function r(){++c>e.length-1&&(t.stop(!0).animate({left:-p*c},400),c=0),c<0&&(t.stop(!0).animate({left:-p*c},400),c=e.length-... | 4,410 | 4,410 | 0.551247 |
6ff86b2f05f81fe8d40e0a46c547fd28cdf3a12e | 794 | js | JavaScript | src/views/item/index.js | notYou263/svantic | bdd641b8e9b5c49aef3ead4c4e25946c4521681b | [
"MIT"
] | null | null | null | src/views/item/index.js | notYou263/svantic | bdd641b8e9b5c49aef3ead4c4e25946c4521681b | [
"MIT"
] | null | null | null | src/views/item/index.js | notYou263/svantic | bdd641b8e9b5c49aef3ead4c4e25946c4521681b | [
"MIT"
] | null | null | null |
import { default as Items } from './items.svelte'
import { default as Item } from './item.svelte'
import { default as Content } from './content.svelte'
import { default as Image } from './image.svelte'
import { default as Link } from './link.svelte'
import { default as Description } from './description.svelte'
import ... | 30.538462 | 86 | 0.720403 |
6ff8bc52f0c91bf22bfe521405246b6424da54e4 | 323 | js | JavaScript | app/plugins/i18n.js | fightforthefuture/earth-day-live | 2a7e6acd210ab81fa1a1681a438565656a23001f | [
"MIT"
] | null | null | null | app/plugins/i18n.js | fightforthefuture/earth-day-live | 2a7e6acd210ab81fa1a1681a438565656a23001f | [
"MIT"
] | 61 | 2020-03-24T20:35:15.000Z | 2022-01-22T11:10:52.000Z | app/plugins/i18n.js | fightforthefuture/earth-day-live | 2a7e6acd210ab81fa1a1681a438565656a23001f | [
"MIT"
] | null | null | null | import Vue from "vue";
import VueI18n from "vue-i18n";
Vue.use(VueI18n)
export default ({ app }) => {
app.i18n = new VueI18n({
locale: "en", // Default locale
fallbackLocale: "en", // The locale to use if the current locale can't be found
messages: {
en: require("~/locales/en.json")
}
});
... | 21.533333 | 84 | 0.606811 |
6ffa75a0ce6f08d3feded11f9f03219f5059b009 | 4,901 | js | JavaScript | src/components/Videos.js | zyra-zia/badger-community | effb2961d101b14604f0be485868110f148a44af | [
"MIT"
] | null | null | null | src/components/Videos.js | zyra-zia/badger-community | effb2961d101b14604f0be485868110f148a44af | [
"MIT"
] | null | null | null | src/components/Videos.js | zyra-zia/badger-community | effb2961d101b14604f0be485868110f148a44af | [
"MIT"
] | null | null | null | import React from "react";
import VideoCard from "./VideoCard";
export default function Videos(props) {
const external = <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fillRule="evenodd" d="M10.604 1h4.146a.25.25 0 01.25.25v4.146a.25.25 0 01-.427.177L13.03 4.03 9.28 7.78a... | 55.067416 | 501 | 0.612936 |
6ffbb94984c996ddfc5ccd219c66a56cd0efce61 | 2,974 | js | JavaScript | test/common/models/SetResponse.js | linagora/jmap-draft-client | 6036b1308b6c8affe86f0784b2e1397eede05511 | [
"MIT"
] | null | null | null | test/common/models/SetResponse.js | linagora/jmap-draft-client | 6036b1308b6c8affe86f0784b2e1397eede05511 | [
"MIT"
] | 4 | 2020-04-30T15:23:00.000Z | 2020-05-18T10:31:20.000Z | test/common/models/SetResponse.js | linagora/jmap-draft-client | 6036b1308b6c8affe86f0784b2e1397eede05511 | [
"MIT"
] | null | null | null | 'use strict';
var expect = require('chai').expect,
jmapDraft = require('../../../dist/jmap-draft-client');
describe('The SetResponse class', function() {
describe('The constructor', function() {
it('should use default values for all fields if not defined', function() {
var response = new jmapDraft.Set... | 31.978495 | 102 | 0.608608 |
6ffc139dfadef8b2ad64de01448b2ec637ff7a7d | 25,247 | js | JavaScript | node_modules/element-plus/lib/el-message-box/index.js | Rizq-Solutions/etiqa-ncov-tracker | dcf8a7c7e587c74915f9ea96729f0b537cb87718 | [
"MIT"
] | null | null | null | node_modules/element-plus/lib/el-message-box/index.js | Rizq-Solutions/etiqa-ncov-tracker | dcf8a7c7e587c74915f9ea96729f0b537cb87718 | [
"MIT"
] | null | null | null | node_modules/element-plus/lib/el-message-box/index.js | Rizq-Solutions/etiqa-ncov-tracker | dcf8a7c7e587c74915f9ea96729f0b537cb87718 | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
var ElButton = require('../el-button');
var ElInput = require('../el-input');
var locale = require('../locale');
var Dialog = require('../utils/aria-dialog');
var usePopup = require('../utils/popup/usePopup');
var d... | 36.642961 | 167 | 0.50406 |