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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fcee81b17210ced16143e19f8d33c5abf8807590 | 972 | js | JavaScript | lib/tasks/links.js | my5t3ry/inliner | 00bb293f4d88da5abee9c953a9fefdefb87af6c4 | [
"MIT"
] | 791 | 2015-01-02T16:02:19.000Z | 2022-03-28T12:50:16.000Z | lib/tasks/links.js | my5t3ry/inliner | 00bb293f4d88da5abee9c953a9fefdefb87af6c4 | [
"MIT"
] | 165 | 2015-01-25T09:03:05.000Z | 2022-03-30T19:55:25.000Z | lib/tasks/links.js | my5t3ry/inliner | 00bb293f4d88da5abee9c953a9fefdefb87af6c4 | [
"MIT"
] | 156 | 2015-01-13T12:15:05.000Z | 2022-03-30T19:48:27.000Z | module.exports = resolve;
var debug = require('debug')('inliner');
var basename = require('path').basename;
function resolve(inliner, todo, $) {
debug('start %s links', todo.length);
return todo.map(function links(link) {
var url = $(link).attr('href');
if (inliner.options.skipAbsoluteUrls &&
(url.... | 33.517241 | 73 | 0.603909 |
fcee8969a3ee3abd814930dadf9ba4037a744350 | 28,524 | js | JavaScript | src/encoded/static/components/testdata/workflow_run/awsem-partc.js | 4dn-dcic/fourfron | 29601961706d2371b982e57ae085e8ebec3b2714 | [
"MIT"
] | 11 | 2016-11-23T02:33:13.000Z | 2021-06-18T14:21:20.000Z | src/encoded/static/components/testdata/workflow_run/awsem-partc.js | 4dn-dcic/fourfron | 29601961706d2371b982e57ae085e8ebec3b2714 | [
"MIT"
] | 1,159 | 2016-11-21T15:40:24.000Z | 2022-03-29T03:18:38.000Z | src/encoded/static/components/testdata/workflow_run/awsem-partc.js | 4dn-dcic/fourfron | 29601961706d2371b982e57ae085e8ebec3b2714 | [
"MIT"
] | 5 | 2017-01-27T16:36:15.000Z | 2019-06-14T14:39:54.000Z | const WorkflowRunDataBlob = {
"lab":{
"uuid":"828cd4fe-ebb0-4b36-a94a-d2e3a36cc989",
"link_id":"~labs~4dn-dcic-lab~",
"@id":"/labs/4dn-dcic-lab/",
"display_title":"4DN DCIC Lab, HMS",
"principals_allowed":{
"view":[
"system.Everyone"
],... | 39.073973 | 220 | 0.359627 |
fcef3c1920c56b859b7e294732b225774d617bc5 | 4,573 | js | JavaScript | notifications/slack.js | PHeonix25/lambci | 96af18877413e0d6e689ed0efaf054593d377451 | [
"MIT"
] | null | null | null | notifications/slack.js | PHeonix25/lambci | 96af18877413e0d6e689ed0efaf054593d377451 | [
"MIT"
] | null | null | null | notifications/slack.js | PHeonix25/lambci | 96af18877413e0d6e689ed0efaf054593d377451 | [
"MIT"
] | null | null | null | var async = require('async')
var utils = require('../utils')
var config = require('../utils/config')
var log = require('../utils/log')
var USER_AGENT = config.STACK
exports.createClient = function(token, options, build) {
return new SlackClient(token, options, build)
}
exports.SlackClient = SlackClient
function S... | 30.085526 | 103 | 0.635032 |
fcef4f70f48907f01c3c01591fe9c69c28a7aa3d | 908 | js | JavaScript | src/Topxia/WebBundle/Resources/public/js/controller/group/group_logo_crop.js | smeagonline-developers/OnlineEducationPlatform---SMEAGonline | dce7114bde92d6ca9f4daed880b8163df4e6a1b2 | [
"MIT"
] | null | null | null | src/Topxia/WebBundle/Resources/public/js/controller/group/group_logo_crop.js | smeagonline-developers/OnlineEducationPlatform---SMEAGonline | dce7114bde92d6ca9f4daed880b8163df4e6a1b2 | [
"MIT"
] | null | null | null | src/Topxia/WebBundle/Resources/public/js/controller/group/group_logo_crop.js | smeagonline-developers/OnlineEducationPlatform---SMEAGonline | dce7114bde92d6ca9f4daed880b8163df4e6a1b2 | [
"MIT"
] | null | null | null | define(function(require, exports, module) {
var ImageCrop = require('edusoho.imagecrop');
exports.run = function() {
var $form = $("#avatar-crop-form"),
$picture = $("#avatar-crop");
var imageCrop = new ImageCrop({
element: "#logo-crop",
group: 'group',
... | 25.222222 | 82 | 0.461454 |
fcefda76ff4bfdba5f1031a64003f3cf271bd1d5 | 2,270 | js | JavaScript | _next/static/chunks/react-syntax-highlighter_languages_highlight_rust.cb6ab459279f0ba8.js | zkeq/onedrive-vercel-index | 3f8ce4f43ad2a628299fc6e1f22b060d52baee93 | [
"MIT"
] | 2 | 2022-03-14T06:54:33.000Z | 2022-03-19T00:39:51.000Z | _next/static/chunks/react-syntax-highlighter_languages_highlight_rust.cb6ab459279f0ba8.js | zkeq/onedrive-vercel-index | 3f8ce4f43ad2a628299fc6e1f22b060d52baee93 | [
"MIT"
] | 10 | 2022-01-30T14:41:35.000Z | 2022-03-30T10:06:21.000Z | _next/static/chunks/react-syntax-highlighter_languages_highlight_rust.cb6ab459279f0ba8.js | zkeq/onedrive-vercel-index | 3f8ce4f43ad2a628299fc6e1f22b060d52baee93 | [
"MIT"
] | 1 | 2022-03-14T06:55:42.000Z | 2022-03-14T06:55:42.000Z | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3478],{77077:function(e){e.exports=function(e){const n="([ui](8|16|32|64|128|size)|f(32|64))?",t="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone D... | 2,270 | 2,270 | 0.707489 |
fcf004cd07b4247fe17f39af2f76c725fc3e065d | 772 | js | JavaScript | shared/isomorphic/containers/UIElements/Carousel/Carousel.styles.js | hoanglongla/Team6-FE | 2a617ff9f29691237ec54f88d7b82b146d014bee | [
"Apache-2.0"
] | null | null | null | shared/isomorphic/containers/UIElements/Carousel/Carousel.styles.js | hoanglongla/Team6-FE | 2a617ff9f29691237ec54f88d7b82b146d014bee | [
"Apache-2.0"
] | 1 | 2021-09-03T04:59:53.000Z | 2021-09-03T04:59:53.000Z | app/shared/isomorphic/containers/UIElements/Carousel/Carousel.styles.js | langhoangtien/lifetek-core | d7654e5296c129e9c84fa3af5ec391a62f0aa2fc | [
"MIT"
] | null | null | null | import styled from 'styled-components';
import { palette } from 'styled-theme';
import WithDirection from '@iso/lib/helpers/rtl';
const CarouselStyleWrapper = styled.div`
.isoCarousalDemoContainer {
width: 100%;
display: flex;
flex-flow: row wrap;
}
.ant-carousel {
.slick-slider {
direction... | 23.393939 | 79 | 0.569948 |
fcf0edcdc01e0b7be577195d7b1fea99971325ee | 10,002 | js | JavaScript | app/assets/javascripts/models/activity.js | mpushpav/chorus | 4e726a5a082d019919af72f1f943bb8f109c1b4f | [
"Apache-2.0"
] | null | null | null | app/assets/javascripts/models/activity.js | mpushpav/chorus | 4e726a5a082d019919af72f1f943bb8f109c1b4f | [
"Apache-2.0"
] | null | null | null | app/assets/javascripts/models/activity.js | mpushpav/chorus | 4e726a5a082d019919af72f1f943bb8f109c1b4f | [
"Apache-2.0"
] | null | null | null | (function() {
var CLASS_MAP = {
"actor": "User",
"dataset": "WorkspaceDataset",
'dataSource': 'DynamicDataSource',
"gnipDataSource": "GnipDataSource",
"newOwner": "User",
"hdfsDataSource": "HdfsDataSource",
"hdfsDataset": "HdfsDataset",
"workfile": "Wo... | 33.34 | 133 | 0.5022 |
fcf1908a784439d7a182849238543568453cf036 | 332 | js | JavaScript | src/action-types/region.js | leogoesger/gutsy-client | 4d2d107e6c537c6be9d5d1d34db2959553ca7733 | [
"MIT"
] | null | null | null | src/action-types/region.js | leogoesger/gutsy-client | 4d2d107e6c537c6be9d5d1d34db2959553ca7733 | [
"MIT"
] | null | null | null | src/action-types/region.js | leogoesger/gutsy-client | 4d2d107e6c537c6be9d5d1d34db2959553ca7733 | [
"MIT"
] | null | null | null | const RegionTypes = {
FETCH_REGIONS_OBJECT: 'FETCH_REGIONS_OBJECT',
FETCH_REGIONS_SUCCESS: 'FETCH_REGIONS_SUCCESS',
FETCH_REGIONS_FAIL: 'FETCH_REGIONS_FAIL',
FETCH_REGION_OBJECT: 'FETCH_REGION_OBJECT',
FETCH_REGION_SUCCESS: 'FETCH_REGION_SUCCESS',
FETCH_REGION_FAIL: 'FETCH_REGION_FAIL',
};
export default R... | 30.181818 | 49 | 0.813253 |
fcf1a0a40b93eebcdf6a7f6531a21fbf6fc783e7 | 862 | js | JavaScript | packages/webpack-plugin/lib/platform/template/wx/component-config/form.js | hubvue/mpx | e65d3f565a1b980f2f47a1820b23698aee2dddc8 | [
"Apache-2.0"
] | 1 | 2021-06-25T15:36:18.000Z | 2021-06-25T15:36:18.000Z | packages/webpack-plugin/lib/platform/template/wx/component-config/form.js | Casey-ckx/mpx | 2d460f15e4ef5e7225dec8e666db4bf481fe256a | [
"Apache-2.0"
] | null | null | null | packages/webpack-plugin/lib/platform/template/wx/component-config/form.js | Casey-ckx/mpx | 2d460f15e4ef5e7225dec8e666db4bf481fe256a | [
"Apache-2.0"
] | null | null | null | const TAG_NAME = 'form'
module.exports = function ({ print }) {
const aliPropLog = print({ platform: 'ali', tag: TAG_NAME, isError: false })
const baiduPropLog = print({ platform: 'baidu', tag: TAG_NAME, isError: false })
const qqPropLog = print({ platform: 'qq', tag: TAG_NAME, isError: false })
// const ttPro... | 27.806452 | 86 | 0.582367 |
fcf1c259e79afab89f4164bf1e0a098e68e54e4d | 701 | js | JavaScript | web/js/ticket.js | EternalRat/EternalLobbies-Manager | 97fd3d2d38821c14faa15d69d5d8f05728572fdb | [
"CC0-1.0",
"MIT"
] | null | null | null | web/js/ticket.js | EternalRat/EternalLobbies-Manager | 97fd3d2d38821c14faa15d69d5d8f05728572fdb | [
"CC0-1.0",
"MIT"
] | null | null | null | web/js/ticket.js | EternalRat/EternalLobbies-Manager | 97fd3d2d38821c14faa15d69d5d8f05728572fdb | [
"CC0-1.0",
"MIT"
] | null | null | null | const { ipcRenderer, IpcRendererEvent } = require("electron");
const ipc = ipcRenderer;
ipc.on('previewHTMLFile',
/**
*
* @param {IpcRendererEvent} evt
* @param {String} args
*/
(evt, args) => {
var preview = document.getElementsByClassName('preview')[0];
if (preview.chil... | 29.208333 | 114 | 0.611983 |
fcf1d91f49488083f470f6f45d18f384f9ea77df | 1,005 | js | JavaScript | aggregatorcomparor/static/libs/jQuery/src/exports/amd.js | docking-org/aggregator-comparor | c142c9694e4891f2ed98eca5ffe36685205ac799 | [
"MIT"
] | 1 | 2015-08-25T23:10:53.000Z | 2015-08-25T23:10:53.000Z | flaskapp/static/libs/jQuery/src/exports/amd.js | skipallmighty/flask-app | f3d6521767a18c91090c6fc3c97ed3a445f7287f | [
"BSD-3-Clause"
] | null | null | null | flaskapp/static/libs/jQuery/src/exports/amd.js | skipallmighty/flask-app | f3d6521767a18c91090c6fc3c97ed3a445f7287f | [
"BSD-3-Clause"
] | 1 | 2021-01-18T01:35:13.000Z | 2021-01-18T01:35:13.000Z | define([
"../core"
], function( jQuery ) {
// Register as a named AMD module, since jQuery can be concatenated with other
// files that may use define, but not via a proper concatenation script that
// understands anonymous AMD modules. A named AMD is safest and most robust
// way to register. Lowercase jquery is use... | 41.875 | 82 | 0.741294 |
fcf23881861f68f53d28843bca1fbd3a0387f8bb | 1,895 | js | JavaScript | d2l-tab-panel.js | d2lfederation/tabs | fda7cd24242b9dc83d5ea4f145d1a284dfa2405c | [
"Apache-2.0"
] | null | null | null | d2l-tab-panel.js | d2lfederation/tabs | fda7cd24242b9dc83d5ea4f145d1a284dfa2405c | [
"Apache-2.0"
] | null | null | null | d2l-tab-panel.js | d2lfederation/tabs | fda7cd24242b9dc83d5ea4f145d1a284dfa2405c | [
"Apache-2.0"
] | null | null | null | /**
`d2l-tab-panel`
Polymer-based web components for tab
@demo demo/index.html
*/
/*
FIXME(polymer-modulizer): the above comments were extracted
from HTML and may be out of place here. Review them and
then delete this comment!
*/
import '@polymer/polymer/polymer-legacy.js';
import { Polymer } from '@polymer/pol... | 17.877358 | 95 | 0.644855 |
fcf252c31ed1a30478d2a467727a9f438905ed10 | 4,282 | js | JavaScript | WebsiteFramework_src/WebSite/Extjs_lib/pkgs/data-xml.js | Jarrey/tbwebframework | c26241776b0dd04c6041e8d50f69d97a2b64a565 | [
"Apache-2.0"
] | 1 | 2016-05-06T13:37:57.000Z | 2016-05-06T13:37:57.000Z | WebsiteFramework_src/WebSite/Extjs_lib/pkgs/data-xml.js | Jarrey/tbwebframework | c26241776b0dd04c6041e8d50f69d97a2b64a565 | [
"Apache-2.0"
] | null | null | null | WebsiteFramework_src/WebSite/Extjs_lib/pkgs/data-xml.js | Jarrey/tbwebframework | c26241776b0dd04c6041e8d50f69d97a2b64a565 | [
"Apache-2.0"
] | null | null | null | /*
* Ext JS Library 3.1.0
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
Ext.data.XmlWriter=function(a){Ext.data.XmlWriter.superclass.constructor.apply(this,arguments);this.tpl=(typeof(this.tpl)==="string")?new Ext.XTemplate(this.tpl).compile():this.tpl.compile()};Ext.... | 611.714286 | 4,158 | 0.749883 |
fcf2a95b3c06f6162b65bfe4a22249ec2edbc7a8 | 1,868 | js | JavaScript | src/js/main.js | yrtzaleman11/jquery-apod | 1b2ae6a9b89fd8da61ec41cc95ce3b593cf6ae88 | [
"MIT"
] | null | null | null | src/js/main.js | yrtzaleman11/jquery-apod | 1b2ae6a9b89fd8da61ec41cc95ce3b593cf6ae88 | [
"MIT"
] | null | null | null | src/js/main.js | yrtzaleman11/jquery-apod | 1b2ae6a9b89fd8da61ec41cc95ce3b593cf6ae88 | [
"MIT"
] | null | null | null | var apod = {
//Create a random date
randomDate: function(start, end) {
//Randomize the date https://gist.github.com/miguelmota/5b67e03845d840c949c4
let date = new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));
//Format the date
let d = date.getDate();
let m = date... | 26.685714 | 114 | 0.584582 |
fcf2ee52677645b73d42e836a7b6e456900eeb3e | 5,411 | js | JavaScript | js/registerCard.js | eunjju1209/munch-PHP | 076a70507b294bee282aa46a57e21e1f35c2bef2 | [
"MIT"
] | null | null | null | js/registerCard.js | eunjju1209/munch-PHP | 076a70507b294bee282aa46a57e21e1f35c2bef2 | [
"MIT"
] | null | null | null | js/registerCard.js | eunjju1209/munch-PHP | 076a70507b294bee282aa46a57e21e1f35c2bef2 | [
"MIT"
] | null | null | null | $(function () {
/**
* 빌링키 발급
*/
var issueBilling = function (params) {
var resultCode = false;
$.ajax({
url: '/Order/issueBilling',
type: "POST",
async: false,
data: {
expiry: params.expiry,
birth: params.... | 30.061111 | 129 | 0.419701 |
fcf378efb2de77b57001bed622f8c5bef4890e24 | 7,489 | js | JavaScript | src/pages/our-style.js | BosEriko/talkpush-com | 7d4e9c3b2fd135b166f7847ec89434b8f4de7a06 | [
"MIT"
] | null | null | null | src/pages/our-style.js | BosEriko/talkpush-com | 7d4e9c3b2fd135b166f7847ec89434b8f4de7a06 | [
"MIT"
] | null | null | null | src/pages/our-style.js | BosEriko/talkpush-com | 7d4e9c3b2fd135b166f7847ec89434b8f4de7a06 | [
"MIT"
] | null | null | null | import React from 'react'
import Helmet from 'react-helmet'
import Link from 'gatsby-link'
import styles from '../pages-style/our-style.module.scss'
import phoneIcon from '../pages-images/our-style/phone-icon.svg'
import talentIcon from '../pages-images/our-style/talent-icon.png'
import cultureIcon from '../pages-image... | 86.08046 | 698 | 0.708372 |
fcf48f6968937bfcff0243fcd8d889650c7ed918 | 1,119 | js | JavaScript | src/routes.js | alanalv3s/Foodfy | b2a5d83e8f03db5d6628d29652e8dd6ac127e72d | [
"MIT"
] | null | null | null | src/routes.js | alanalv3s/Foodfy | b2a5d83e8f03db5d6628d29652e8dd6ac127e72d | [
"MIT"
] | 1 | 2021-05-11T15:51:34.000Z | 2021-05-11T15:51:34.000Z | src/routes.js | alanalv3s/Foodfy | b2a5d83e8f03db5d6628d29652e8dd6ac127e72d | [
"MIT"
] | null | null | null | const express = require('express')
const routes = express.Router()
const {recipes} = require('./data')
const RecipesController = require('./app/controllers/RecipesController')
// Admin
routes.get('/admin', (req,res) => res.redirect(301, '/admin/recipes'))
routes.get('/admin/recipes', RecipesController.index);
routes... | 36.096774 | 85 | 0.701519 |
fcf4a2a82181558c25018c5412e71bf7885cee67 | 487 | js | JavaScript | test/built-ins/Array/prototype/filter/15.4.4.20-1-10.js | katemihalikova/test262 | aaf4402b4ca9923012e61830fba588bf7ceb6027 | [
"BSD-3-Clause"
] | 1,849 | 2015-01-15T12:42:53.000Z | 2022-03-30T21:23:59.000Z | test/built-ins/Array/prototype/filter/15.4.4.20-1-10.js | katemihalikova/test262 | aaf4402b4ca9923012e61830fba588bf7ceb6027 | [
"BSD-3-Clause"
] | 2,157 | 2015-01-06T05:01:55.000Z | 2022-03-31T17:18:08.000Z | test/built-ins/Array/prototype/filter/15.4.4.20-1-10.js | katemihalikova/test262 | aaf4402b4ca9923012e61830fba588bf7ceb6027 | [
"BSD-3-Clause"
] | 411 | 2015-01-22T01:40:04.000Z | 2022-03-28T19:19:16.000Z | // Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.filter
description: Array.prototype.filter applied to the Math object
---*/
function callbackfn(val, idx, obj) {
return '[object Math]' === Object.pr... | 27.055556 | 70 | 0.716632 |
fcf4f050e933e5c4841d789ac229c8371973e4fc | 102 | js | JavaScript | test/chunking-form/samples/dynamic-import-only-default/_expected/es/main.js | mistlog/rollup | 6f28151f53adb7f91b3e635eeebb0eba5e5d621c | [
"0BSD",
"MIT"
] | 20 | 2020-05-20T08:29:38.000Z | 2022-03-31T03:18:54.000Z | test/chunking-form/samples/dynamic-import-only-default/_expected/es/main.js | mistlog/rollup | 6f28151f53adb7f91b3e635eeebb0eba5e5d621c | [
"0BSD",
"MIT"
] | 9 | 2020-03-18T12:12:44.000Z | 2022-03-26T08:12:15.000Z | test/chunking-form/samples/dynamic-import-only-default/_expected/es/main.js | mistlog/rollup | 6f28151f53adb7f91b3e635eeebb0eba5e5d621c | [
"0BSD",
"MIT"
] | 3 | 2021-06-16T08:48:14.000Z | 2022-03-25T10:31:04.000Z | var main = Promise.all([import('./entry.js'), import('./generated-other.js')]);
export default main;
| 25.5 | 79 | 0.676471 |
fcf56f3a66969b02fff19010fc01656ec746db64 | 3,296 | js | JavaScript | client/src/app_component/Weather.js | manuelbiolatiri/auth_weatherapi | ad64206595fd698ed152187108350683ee77e17c | [
"MIT"
] | null | null | null | client/src/app_component/Weather.js | manuelbiolatiri/auth_weatherapi | ad64206595fd698ed152187108350683ee77e17c | [
"MIT"
] | 1 | 2021-09-02T14:10:01.000Z | 2021-09-02T14:10:01.000Z | client/src/app_component/Weather.js | manuelbiolatiri/auth_weatherapi | ad64206595fd698ed152187108350683ee77e17c | [
"MIT"
] | null | null | null | import React from "react";
import "bootstrap/dist/css/bootstrap.min.css";
import "./weather.style.css";
class Weather extends React.Component {
handleClicked() {
this.props.clickHandler();
}
calculateTemp(degreesK, displayUnits) {
if (displayUnits === "C") return Math.floor(degreesK - 273);
else re... | 27.466667 | 78 | 0.37318 |
fcf7d633c8d4de8827f00b72865423449a88519a | 531 | js | JavaScript | packages/romanus-aux/src/validators.js | vladamon/romanus-numerus | 86e694c440e95e3b00d08b901b776c81c46806d1 | [
"MIT"
] | null | null | null | packages/romanus-aux/src/validators.js | vladamon/romanus-numerus | 86e694c440e95e3b00d08b901b776c81c46806d1 | [
"MIT"
] | null | null | null | packages/romanus-aux/src/validators.js | vladamon/romanus-numerus | 86e694c440e95e3b00d08b901b776c81c46806d1 | [
"MIT"
] | null | null | null | // source - https://www.oreilly.com/library/view/regular-expressions-cookbook/9780596802837/ch06s09.html
export const romanNumberRegex = /^(?=[MDCLXVI])(M{0,3})(C[MD]|D?C{0,3})(X[CL]|L?X{0,3})(I[XV]|V?I{0,3})$/
export const integerNumberRegex = /^[1-9]\d*$/
export const isValidInt = (intNumber) => {
return integerN... | 31.235294 | 105 | 0.702448 |
fcf813545c70d3bd583fa5d3211713305703ab0e | 538 | js | JavaScript | packages/bpk-svgs/dist/js/icons/sm/account-circle.js | tomcorke/backpack | f40d5b57671e211f8dc2098c18e35089880f81b2 | [
"Apache-2.0"
] | null | null | null | packages/bpk-svgs/dist/js/icons/sm/account-circle.js | tomcorke/backpack | f40d5b57671e211f8dc2098c18e35089880f81b2 | [
"Apache-2.0"
] | null | null | null | packages/bpk-svgs/dist/js/icons/sm/account-circle.js | tomcorke/backpack | f40d5b57671e211f8dc2098c18e35089880f81b2 | [
"Apache-2.0"
] | null | null | null | import React from "react";
export default class SVG extends React.Component {
render() {
return <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" style={{
width: "1.125rem",
height: "1.125rem"
}} {...this.props}><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 1... | 53.8 | 287 | 0.581784 |
fcf8525e841cc808421cf09d9e2cbed552d68ff1 | 5,561 | js | JavaScript | js/entities/entities.js | wangTheTiger/fog_test | a362db1755b193467587e366c111602c774e2e00 | [
"MIT"
] | null | null | null | js/entities/entities.js | wangTheTiger/fog_test | a362db1755b193467587e366c111602c774e2e00 | [
"MIT"
] | null | null | null | js/entities/entities.js | wangTheTiger/fog_test | a362db1755b193467587e366c111602c774e2e00 | [
"MIT"
] | null | null | null |
/**
* Player Entity
*/
game.PlayerEntity = me.Entity.extend({
/**
* constructor
*/
init:function (x, y, settings) {
// call the constructor
this._super(me.Entity, 'init', [x, y , settings]);
// set the default horizontal & vertical speed (accel vector)
this.body... | 27.805 | 107 | 0.630282 |
fcf8b3b075591195f9985a2b2471a9539a4c6768 | 97 | js | JavaScript | distribution/FIXLIB/reference/type-search-index.js | ericfickes/FIXLIB | b316925eefc641bf231f4369a6a5fd88d85bb54c | [
"Apache-2.0"
] | 1 | 2020-12-25T07:49:10.000Z | 2020-12-25T07:49:10.000Z | distribution/FIXLIB/reference/type-search-index.js | ericfickes/FIXLIB | b316925eefc641bf231f4369a6a5fd88d85bb54c | [
"Apache-2.0"
] | null | null | null | distribution/FIXLIB/reference/type-search-index.js | ericfickes/FIXLIB | b316925eefc641bf231f4369a6a5fd88d85bb54c | [
"Apache-2.0"
] | null | null | null | typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"fixlib","l":"Fixlib"}] | 97 | 97 | 0.639175 |
fcf8e3dd5f565b5786ab910562aa1f6b338d4b48 | 6,130 | js | JavaScript | public/scripts/loadTodos.js | AlulaLeak/todo-ai | adc0dac5c88ae8476449c94d1100cf8aa2cbcd3b | [
"MIT",
"PostgreSQL",
"Unlicense"
] | null | null | null | public/scripts/loadTodos.js | AlulaLeak/todo-ai | adc0dac5c88ae8476449c94d1100cf8aa2cbcd3b | [
"MIT",
"PostgreSQL",
"Unlicense"
] | null | null | null | public/scripts/loadTodos.js | AlulaLeak/todo-ai | adc0dac5c88ae8476449c94d1100cf8aa2cbcd3b | [
"MIT",
"PostgreSQL",
"Unlicense"
] | null | null | null | $(function () {
$.ajax({
url: `/api/todos/all`,
type: "GET",
success: function (memoRows) {
console.log("These are the memoRows", memoRows);
function createMemoElement(todo) {
return `
<ul class="list-group list-group-horizontal rounded-0 bg-transparent">
... | 40.866667 | 139 | 0.490538 |
fcf93d93b820cea6d3d6148281813529e4f3d4cc | 151 | js | JavaScript | cypress/integration/mainPage.js | gmalewicz/golf-web | e4db12ee81addfe668c21fe0ec1fe496f306fca2 | [
"MIT"
] | null | null | null | cypress/integration/mainPage.js | gmalewicz/golf-web | e4db12ee81addfe668c21fe0ec1fe496f306fca2 | [
"MIT"
] | 92 | 2021-01-17T09:33:18.000Z | 2022-03-26T18:47:48.000Z | cypress/integration/mainPage.js | gmalewicz/golf-web | e4db12ee81addfe668c21fe0ec1fe496f306fca2 | [
"MIT"
] | null | null | null | describe('Main page', () => {
it('should display the main page', () => {
cy.visit('http://localhost:4200/');
cy.contains('DGNG');
})
})
| 15.1 | 44 | 0.529801 |
fcf974ec72196dc4f2c40c757bb2ef06c8585efd | 445 | js | JavaScript | Java/Java-CachingSamples/AirportSample/WebContent/dojo/dojo/cldr/nls/az/currency.js | myhong0/sk-bmx-sample | c36886c9e2189030840c855b89e71d484089b968 | [
"MIT"
] | null | null | null | Java/Java-CachingSamples/AirportSample/WebContent/dojo/dojo/cldr/nls/az/currency.js | myhong0/sk-bmx-sample | c36886c9e2189030840c855b89e71d484089b968 | [
"MIT"
] | null | null | null | Java/Java-CachingSamples/AirportSample/WebContent/dojo/dojo/cldr/nls/az/currency.js | myhong0/sk-bmx-sample | c36886c9e2189030840c855b89e71d484089b968 | [
"MIT"
] | 3 | 2019-03-27T14:35:48.000Z | 2020-06-30T22:45:08.000Z | //>>built
define(
"dojo/cldr/nls/az/currency", //begin v1.x content
{
"HKD_displayName": "Honk Konq dolları",
"CHF_displayName": "İsveçriya frankası",
"CAD_displayName": "Kanadiya dolları",
"CNY_displayName": "Çin yuan renminbi",
"AUD_displayName": "Avstraliya dolları",
"JPY_displayName": "Yapon yeni",
"USD_disp... | 27.8125 | 49 | 0.721348 |
fcfaaa81753f1b174925f62c4017096e5645aac1 | 2,481 | js | JavaScript | sketch22.js | asteriskman7/dakrtober2021 | 1ceb5ba79adb1ca0e1b85f78f67e7e95e43eeaca | [
"MIT"
] | 1 | 2021-11-10T18:32:50.000Z | 2021-11-10T18:32:50.000Z | sketch22.js | asteriskman7/darktober2021 | 1ceb5ba79adb1ca0e1b85f78f67e7e95e43eeaca | [
"MIT"
] | null | null | null | sketch22.js | asteriskman7/darktober2021 | 1ceb5ba79adb1ca0e1b85f78f67e7e95e43eeaca | [
"MIT"
] | null | null | null | 'use strict';
class Sketch22 extends Sketch {
constructor() {
super();
this.scale = 1;
this.width = Math.floor(this.canvas.width / this.scale);
this.height = this.width;
}
load() {
super.load();
}
update() {
}
//from https://gist.github.com/vahidk/05184faf3d92a0aa1... | 27.566667 | 86 | 0.446594 |
fcfac85e78127ea8d4926829f743c21eea10440a | 378 | js | JavaScript | src/components/GuestGuard.js | getsproud/react-app | 893e7526380836a3b9f5f638a006c69e9fea87d2 | [
"MIT"
] | null | null | null | src/components/GuestGuard.js | getsproud/react-app | 893e7526380836a3b9f5f638a006c69e9fea87d2 | [
"MIT"
] | null | null | null | src/components/GuestGuard.js | getsproud/react-app | 893e7526380836a3b9f5f638a006c69e9fea87d2 | [
"MIT"
] | null | null | null | import { Navigate } from 'react-router-dom';
import PropTypes from 'prop-types';
import useAuth from '../hooks/useAuth';
const GuestGuard = ({ children }) => {
const { isAuthenticated } = useAuth();
if (isAuthenticated) {
return <Navigate to="/" />;
}
return <>{children}</>;
};
GuestGuard.propTypes = {
... | 18.9 | 44 | 0.65873 |
fcfb5761013acf567ff2c6cb8f735744bdf9f076 | 200 | js | JavaScript | docs/generated/docs/search/files_7.js | JohnySeven/SensESP | 6ba911158c02f613b324c0d803b251faca95aff7 | [
"Apache-2.0"
] | null | null | null | docs/generated/docs/search/files_7.js | JohnySeven/SensESP | 6ba911158c02f613b324c0d803b251faca95aff7 | [
"Apache-2.0"
] | 2 | 2021-03-15T05:35:32.000Z | 2021-03-27T02:36:16.000Z | docs/generated/docs/search/files_7.js | JohnySeven/SensESP | 6ba911158c02f613b324c0d803b251faca95aff7 | [
"Apache-2.0"
] | 2 | 2021-03-14T14:36:50.000Z | 2021-03-15T03:41:46.000Z | var searchData=
[
['http_2ecpp',['http.cpp',['../http_8cpp.html',1,'']]],
['http_2eh',['http.h',['../http_8h.html',1,'']]],
['hysteresis_2eh',['hysteresis.h',['../hysteresis_8h.html',1,'']]]
];
| 28.571429 | 68 | 0.56 |
fcfb8852fdd3df1b7e8204c628bcd31314caea6d | 3,885 | js | JavaScript | lib/recorder.js | flyskywhy/CodeceptJS | a6aa9bba3d501caa9ffb5b0b95e57265faa4d4c2 | [
"MIT"
] | 3 | 2018-12-14T23:57:47.000Z | 2019-05-30T08:11:17.000Z | lib/recorder.js | rlewan/CodeceptJS | 17d12e21edfc56ef80c7f9d3082cb421da94cdb3 | [
"MIT"
] | null | null | null | lib/recorder.js | rlewan/CodeceptJS | 17d12e21edfc56ef80c7f9d3082cb421da94cdb3 | [
"MIT"
] | 1 | 2018-12-14T23:57:57.000Z | 2018-12-14T23:57:57.000Z | 'use strict';
let promise;
let running = false;
let errFn;
let next;
let queueId = 0;
let sessionId = null;
let log = require('./output').log;
let tasks = [];
let oldPromises = [];
/**
* Singleton object to record all test steps as promises and run them in chain.
*/
module.exports = {
/**
* Start recording ... | 19.720812 | 100 | 0.545946 |
fcfbdb19036b4a6b3eaaba25528dd32f5f0cde00 | 120,661 | js | JavaScript | dist/components/MdDatepicker/index.js | olsn/vue-material | 62bc3e528a60610659716cc5fdab71deac862301 | [
"MIT"
] | null | null | null | dist/components/MdDatepicker/index.js | olsn/vue-material | 62bc3e528a60610659716cc5fdab71deac862301 | [
"MIT"
] | null | null | null | dist/components/MdDatepicker/index.js | olsn/vue-material | 62bc3e528a60610659716cc5fdab71deac862301 | [
"MIT"
] | null | null | null | /*!
* vue-material v1.0.0-beta-11
* Made with <3 by marcosmoura 2020
* Released under the MIT License.
*/
!(function(t,e){var n,r;if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],e);else{n=e("object"==typeof exports?re... | 20,110.166667 | 120,551 | 0.690546 |
fcfbfad4fc6a75c28fd0a9691671445186774dbd | 8,238 | js | JavaScript | mapbender/src/Mapbender/CoreBundle/Resources/public/mapbender.element.overview.js | agrorural/geoportal | 26c87776c7c0aa85c13c7477d0a7ce0260cba2de | [
"MIT"
] | null | null | null | mapbender/src/Mapbender/CoreBundle/Resources/public/mapbender.element.overview.js | agrorural/geoportal | 26c87776c7c0aa85c13c7477d0a7ce0260cba2de | [
"MIT"
] | null | null | null | mapbender/src/Mapbender/CoreBundle/Resources/public/mapbender.element.overview.js | agrorural/geoportal | 26c87776c7c0aa85c13c7477d0a7ce0260cba2de | [
"MIT"
] | null | null | null | (function($){
$.widget("mapbender.mbOverview", {
options: {
layerset: []
},
overview: null,
layersOrigExtents: {},
mapOrigExtents: {},
startproj: null,
/**
* Creates the overview
*/
_create: function(){
if(!M... | 33.487805 | 133 | 0.488711 |
fcfc06703f6332de655ebb2b112c7d8f74dec21e | 13,299 | js | JavaScript | test/finance.unit.js | dangus21/blaver | 76a48f78ab822a738614205a24ee53ef808f85af | [
"MIT-feh",
"MIT"
] | 109 | 2022-01-07T04:30:51.000Z | 2022-02-24T19:29:16.000Z | test/finance.unit.js | dangus21/blaver | 76a48f78ab822a738614205a24ee53ef808f85af | [
"MIT-feh",
"MIT"
] | 12 | 2022-01-07T20:31:54.000Z | 2022-01-14T22:50:08.000Z | test/finance.unit.js | dangus21/blaver | 76a48f78ab822a738614205a24ee53ef808f85af | [
"MIT-feh",
"MIT"
] | 9 | 2022-01-07T11:47:56.000Z | 2022-01-15T12:57:51.000Z | if (typeof module !== 'undefined') {
var assert = require('assert');
var sinon = require('sinon');
var blaver = require('../index');
}
blaver.seed(1234);
describe('finance.js', function () {
describe('account( length )', function () {
it('should supply a default length if no length is passed', function (... | 32.279126 | 140 | 0.63704 |
fcfc1916c6793417a15613cce51ba719810a670c | 54 | js | JavaScript | test/helpers/EVMRevert.js | jbogacz/react-dapp-boilerplate | 41e64e3c5e1bb58ae0ad62dd2e9d2965a9d33d21 | [
"MIT"
] | null | null | null | test/helpers/EVMRevert.js | jbogacz/react-dapp-boilerplate | 41e64e3c5e1bb58ae0ad62dd2e9d2965a9d33d21 | [
"MIT"
] | null | null | null | test/helpers/EVMRevert.js | jbogacz/react-dapp-boilerplate | 41e64e3c5e1bb58ae0ad62dd2e9d2965a9d33d21 | [
"MIT"
] | null | null | null | // export default 'revert';
module.exports = 'revert'; | 27 | 27 | 0.703704 |
fcfc42958fafb67ca61efb6a7ef9d5c69b6c9ecf | 3,567 | js | JavaScript | src/containers/partials/header.js | maidsafe/dev_website | 8ee68506449df27161db4501d3a60c02b27cea6c | [
"MIT",
"BSD-3-Clause"
] | 9 | 2018-04-25T14:38:30.000Z | 2020-05-05T02:09:07.000Z | src/containers/partials/header.js | maidsafe/dev_website | 8ee68506449df27161db4501d3a60c02b27cea6c | [
"MIT",
"BSD-3-Clause"
] | 48 | 2018-04-26T12:11:56.000Z | 2019-11-27T13:48:19.000Z | src/containers/partials/header.js | maidsafe/dev_website | 8ee68506449df27161db4501d3a60c02b27cea6c | [
"MIT",
"BSD-3-Clause"
] | 26 | 2018-04-25T16:41:07.000Z | 2020-05-05T14:18:40.000Z | import React from 'react'
import { withSiteData } from 'react-static'
import { Link, withRouter } from 'react-router-dom'
//
import classNames from 'classnames';
import CONST from '../../constants';
class Header extends React.Component {
constructor() {
super();
this.state = {
showMenu: false,
ap... | 30.228814 | 134 | 0.594057 |
fcfc7bbdb47fabae6b33a4f8824a2419c6f04e61 | 742 | js | JavaScript | src/views/findPurchase/table/column.js | slilp/backoffice-web | 3598f35535eae66066d30e697a32c1f53d11d904 | [
"MIT"
] | 1 | 2021-05-25T03:16:45.000Z | 2021-05-25T03:16:45.000Z | src/views/findPurchase/table/column.js | slilp/backoffice-web | 3598f35535eae66066d30e697a32c1f53d11d904 | [
"MIT"
] | null | null | null | src/views/findPurchase/table/column.js | slilp/backoffice-web | 3598f35535eae66066d30e697a32c1f53d11d904 | [
"MIT"
] | null | null | null | import { Button } from "react-bootstrap";
export const columns = [
{
title: "รหัสการสั่งซื้อ",
dataIndex: "code",
key: "code",
width:10,
render: (text) => <span>{text}</span>,
},
{
title: "ชื่อลูกค้า",
dataIndex: "name",
key: "name",
width:10,
render: (text) => <span>{text... | 20.054054 | 124 | 0.513477 |
fcfc833bf9ef45fb34d12bf8c4db7c96ada0b879 | 903 | js | JavaScript | build/config.js | alexholliz/dumbDiscordBot | 5af33881f84a5bf2120473171eb5083bd6c91bfe | [
"MIT"
] | null | null | null | build/config.js | alexholliz/dumbDiscordBot | 5af33881f84a5bf2120473171eb5083bd6c91bfe | [
"MIT"
] | null | null | null | build/config.js | alexholliz/dumbDiscordBot | 5af33881f84a5bf2120473171eb5083bd6c91bfe | [
"MIT"
] | null | null | null | // meh, just export the whole dang thing as an object...
export default {
config: {
src: [
'src/**/*.js',
'!src/**/*.[sS]pec.js',
'!src/**/{fixtures,templates}/**'
],
backEndsrc: [
'src/**/*.js',
'!src/**/*.[sS]pec.js',
],
backEndTemplates: [
'src/**/*',
... | 20.522727 | 56 | 0.345515 |
fcfca05c5c986a57c6968571e739f0f90d6b9f8d | 260 | js | JavaScript | tutorialModel.js | Fcmam5/diagflow-webhook-learn2code-gAssistant | 285ff7819c8b842162efad4e9eea5125ca9ecd5b | [
"MIT"
] | null | null | null | tutorialModel.js | Fcmam5/diagflow-webhook-learn2code-gAssistant | 285ff7819c8b842162efad4e9eea5125ca9ecd5b | [
"MIT"
] | null | null | null | tutorialModel.js | Fcmam5/diagflow-webhook-learn2code-gAssistant | 285ff7819c8b842162efad4e9eea5125ca9ecd5b | [
"MIT"
] | null | null | null | class Tutorial {
constructor(title, link, programming_lang, nature, language) {
this.title = title
this.link = link
this.programming_lang = programming_lang
this.nature = nature
this.language = language
}
}
module.exports = Tutorial;
| 21.666667 | 64 | 0.7 |
fcfca921671b491a4c3b5e1a1c5e31fb75aa91ef | 6,738 | js | JavaScript | src/widgets/auth/assets/src/auth.js | skeeks-cms/cms-theme-unify-v2 | 0bd896c3826c607ac3895a8b15319aa3abfe3906 | [
"BSD-3-Clause"
] | 1 | 2019-05-07T12:30:56.000Z | 2019-05-07T12:30:56.000Z | src/widgets/auth/assets/src/auth.js | skeeks-cms/cms-theme-unify-v2 | 0bd896c3826c607ac3895a8b15319aa3abfe3906 | [
"BSD-3-Clause"
] | null | null | null | src/widgets/auth/assets/src/auth.js | skeeks-cms/cms-theme-unify-v2 | 0bd896c3826c607ac3895a8b15319aa3abfe3906 | [
"BSD-3-Clause"
] | null | null | null | /**
* @link https://cms.skeeks.com/
* @copyright Copyright (c) 2010 SkeekS
* @license https://cms.skeeks.com/license/
* @author Semenov Alexander <semenov@skeeks.com>
*/
(function (sx, $, _) {
sx.classes.Auth = sx.classes.Component.extend({
_onDomReady: function () {
var self = this;
... | 32.239234 | 103 | 0.45889 |
fcfcf41db5b1f056d73eedf33ef1f2084bc0a114 | 82 | js | JavaScript | src/store/getter/userGetter.js | wayshon/community-vue | c4c9adca20a06df131e6dad097591921dcc2b5be | [
"Apache-2.0"
] | null | null | null | src/store/getter/userGetter.js | wayshon/community-vue | c4c9adca20a06df131e6dad097591921dcc2b5be | [
"Apache-2.0"
] | null | null | null | src/store/getter/userGetter.js | wayshon/community-vue | c4c9adca20a06df131e6dad097591921dcc2b5be | [
"Apache-2.0"
] | null | null | null | /**
* getter
*/
export const getHome = state => {
return state.user.name
} | 10.25 | 33 | 0.585366 |
fcfdb747edf505345119c4cae4dbe879c29161ca | 785 | js | JavaScript | .storybook/webpack.config.js | vickymin/preact-datepicker | 644bae6828b29304b376d75d78a5abef800c4736 | [
"MIT"
] | null | null | null | .storybook/webpack.config.js | vickymin/preact-datepicker | 644bae6828b29304b376d75d78a5abef800c4736 | [
"MIT"
] | null | null | null | .storybook/webpack.config.js | vickymin/preact-datepicker | 644bae6828b29304b376d75d78a5abef800c4736 | [
"MIT"
] | null | null | null | const ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = {
module: {
rules: [
{
test: /\.(png|jpg|gif)$/,
loader: 'url-loader',
options: {
limit: '25000',
name: 'images/[name].[ext]',
},
},
{
test: /\.css$/,
loader: ExtractTextPlugin.extract({
... | 17.840909 | 68 | 0.536306 |
fcfdc27ec5f8a7df103e2d3cc2bf8c3d6d4dccf0 | 757 | js | JavaScript | src/app/router.js | Zequez/ggfilter-client | 0d0d049b35b5ce0c081ad56ac2600caf6f0dc635 | [
"MIT"
] | null | null | null | src/app/router.js | Zequez/ggfilter-client | 0d0d049b35b5ce0c081ad56ac2600caf6f0dc635 | [
"MIT"
] | null | null | null | src/app/router.js | Zequez/ggfilter-client | 0d0d049b35b5ce0c081ad56ac2600caf6f0dc635 | [
"MIT"
] | null | null | null | import Router5 from 'router5'
import browserPlugin from 'router5/plugins/browser'
export const routes = [
{ name: 'root', path: '/' },
{ name: 'filterPlain', path: '/f' },
{ name: 'filterSid', path: '/f/:sid' },
{ name: 'filterFull', path: '/f/:sid/:slug' },
{ name: 'sysreq', path: '/sysreq' },
{ name: 'a... | 31.541667 | 81 | 0.630119 |
fcfe3bebb686e8b612721a58ff0fca70941932b8 | 887 | js | JavaScript | src/components/Signin.js | andyL89/intervals-ear-trainer | 39a7128a645f6c44fc8209943586ef3ee818b5ce | [
"MIT"
] | null | null | null | src/components/Signin.js | andyL89/intervals-ear-trainer | 39a7128a645f6c44fc8209943586ef3ee818b5ce | [
"MIT"
] | null | null | null | src/components/Signin.js | andyL89/intervals-ear-trainer | 39a7128a645f6c44fc8209943586ef3ee818b5ce | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import withFirebaseAuth from 'react-with-firebase-auth'
import 'firebase/auth';
import firebase from 'firebase/app';
import firebaseApp from './../firebase';
import { Nav } from 'react-bootstrap';
import { Link } from 'react-router-dom';
class Signin extends Component {
rend... | 24.638889 | 132 | 0.656144 |
fcfe9219978d0919b5006d4d38657bc7b8c179d0 | 918 | js | JavaScript | client/src/component/profilePage/Profile.js | arbourKyle/premiereReact | 7cce03e15a86d296a8809dac3b86ee717a71f9da | [
"MIT"
] | 2 | 2022-03-30T15:20:58.000Z | 2022-03-30T21:28:24.000Z | client/src/component/profilePage/Profile.js | arbourKyle/premiereReact | 7cce03e15a86d296a8809dac3b86ee717a71f9da | [
"MIT"
] | null | null | null | client/src/component/profilePage/Profile.js | arbourKyle/premiereReact | 7cce03e15a86d296a8809dac3b86ee717a71f9da | [
"MIT"
] | null | null | null | import React from "react";
import { useAuth0 } from "@auth0/auth0-react";
import Products from "../Products";
import CreateProduct from "../createproduct";
import Card from "../productcards,navbar/Card";
import "../profilePage/profile.css"
const Profile = () => {
const { user, isAuthenticated, isLoading } = useAuth... | 19.531915 | 61 | 0.526144 |
fcfec4283cb2ec7a000ee63d715c41109ade4b2e | 807 | js | JavaScript | admin/public/javascripts/components/Api/PostSvc.js | polarExpress/superDockerBlog | 5fb0d2d693da0679d85f16176642bed23918e938 | [
"MIT"
] | null | null | null | admin/public/javascripts/components/Api/PostSvc.js | polarExpress/superDockerBlog | 5fb0d2d693da0679d85f16176642bed23918e938 | [
"MIT"
] | null | null | null | admin/public/javascripts/components/Api/PostSvc.js | polarExpress/superDockerBlog | 5fb0d2d693da0679d85f16176642bed23918e938 | [
"MIT"
] | null | null | null |
(function() {
'use strict';
var PostSvc = ['PostApiSvc' ,function(PostApiSvc) {
//POST specific post
this.post = function(post) {
var postPromise = PostApiSvc.submitPost(post);
return postPromise;
};
//PUT specific post
this.update = function(post, postId) {
var postPromise = PostApiSvc.... | 19.214286 | 60 | 0.640644 |
fcfed7c79384c822829e3d2f923b28f3897cb368 | 2,929 | js | JavaScript | scripts/helpers/aside_archives.js | theWorkFsz/hexo-theme-butterfly | d62ec1b86656be7abf4b8f18f44e873621876814 | [
"MIT"
] | 1 | 2020-05-27T02:36:07.000Z | 2020-05-27T02:36:07.000Z | scripts/helpers/aside_archives.js | theWorkFsz/hexo-theme-butterfly | d62ec1b86656be7abf4b8f18f44e873621876814 | [
"MIT"
] | 4 | 2021-03-01T21:15:15.000Z | 2022-02-26T01:55:56.000Z | scripts/helpers/aside_archives.js | theWorkFsz/hexo-theme-butterfly | d62ec1b86656be7abf4b8f18f44e873621876814 | [
"MIT"
] | null | null | null | /**
* Butterfly
* for aside archives
*/
'use strict'
hexo.extend.helper.register('aside_archives', function (options = {}) {
const { config } = this
const archiveDir = config.archive_dir
const { timezone } = config
const lang = toMomentLocale(this.page.lang || this.page.language || config.language)
let {... | 26.151786 | 107 | 0.592011 |
fcff0ce9f29b41de6614e413027f16dfae0ff133 | 5,003 | js | JavaScript | src/drilldownMenu/docs/demo.js | thierry2015/angular-foundation-6 | 5399134af158bf670915e02778ab9c689cd52ff3 | [
"MIT"
] | 114 | 2016-03-03T14:59:26.000Z | 2021-10-07T16:11:40.000Z | src/drilldownMenu/docs/demo.js | thierry2015/angular-foundation-6 | 5399134af158bf670915e02778ab9c689cd52ff3 | [
"MIT"
] | 85 | 2016-03-02T23:56:02.000Z | 2019-09-05T22:51:15.000Z | src/drilldownMenu/docs/demo.js | thierry2015/angular-foundation-6 | 5399134af158bf670915e02778ab9c689cd52ff3 | [
"MIT"
] | 77 | 2016-04-06T12:07:05.000Z | 2021-11-10T07:09:13.000Z | angular.module('foundationDemoApp')
.controller('DrillDownDemoCtrl', function($scope, $element, $timeout, $log) {
'ngInject';
const vm = {
ddmApi: null,
shouldShow: false,
haveShown: false,
haveResized: false,
alerts: [],
showHideMenu: showHideMenu,
show... | 30.321212 | 100 | 0.553668 |
1e00209efd87aa9c4b3b7e4845d35105ee4bfa89 | 1,438 | js | JavaScript | server/webpack.prod.config.js | Shenenkaka/react-mobile-calendar | 1099e09552ae63926bf6c9f7653b256956925815 | [
"MIT"
] | 2 | 2021-02-01T03:24:10.000Z | 2022-01-12T15:16:24.000Z | server/webpack.prod.config.js | Shenenkaka/react-mobile-calendar | 1099e09552ae63926bf6c9f7653b256956925815 | [
"MIT"
] | null | null | null | server/webpack.prod.config.js | Shenenkaka/react-mobile-calendar | 1099e09552ae63926bf6c9f7653b256956925815 | [
"MIT"
] | null | null | null | const path = require('path')
module.exports = {
mode: 'production',
entry: './playground/index.js',
output: {
filename: 'main.js',
path: path.resolve(path.resolve(), './public/dist')
},
module: {
rules: [
{
test: /\.m?js$/,
exclude... | 29.346939 | 86 | 0.273296 |
1e006570fb8f6e166a3f63f7a69407c609673a6b | 2,870 | js | JavaScript | tests/unit/data-test.js | shibulijack-fd/ember-decorators-polyfill | 626c3ad30b47772aaedb75bc25649d26ed0c5e94 | [
"MIT"
] | 19 | 2019-04-05T00:37:14.000Z | 2019-12-17T21:53:52.000Z | tests/unit/data-test.js | shibulijack-fd/ember-decorators-polyfill | 626c3ad30b47772aaedb75bc25649d26ed0c5e94 | [
"MIT"
] | 18 | 2019-04-05T23:54:15.000Z | 2020-01-22T18:24:35.000Z | tests/unit/data-test.js | ember-polyfills/ember-decorators-polyfill | c5df3369f7dc900f5e20fe50222f7a0e38ff2f66 | [
"MIT"
] | 7 | 2019-04-07T08:10:20.000Z | 2020-01-05T21:51:26.000Z | import { module, test } from 'qunit';
import DS from 'ember-data';
import { getContext } from '@ember/test-helpers';
import { setupApplicationTest } from 'ember-qunit';
import { get as emberGet } from '@ember/object';
import { run } from '@ember/runloop';
import { gte } from 'ember-compatibility-helpers';
function get... | 25.855856 | 83 | 0.612544 |
1e00d7bf5fdd4d38512167ec520a56365e2a377a | 893 | js | JavaScript | src/components/ranking-panel/index.js | Lninn/fcc-image-search | 9f68d42de5aa5709c5ae36c2c2ec1a8137eb34ea | [
"MIT"
] | null | null | null | src/components/ranking-panel/index.js | Lninn/fcc-image-search | 9f68d42de5aa5709c5ae36c2c2ec1a8137eb34ea | [
"MIT"
] | 2 | 2022-02-13T20:11:53.000Z | 2022-02-27T10:12:00.000Z | src/components/ranking-panel/index.js | Lninn/cnode-clone | 9f68d42de5aa5709c5ae36c2c2ec1a8137eb34ea | [
"MIT"
] | null | null | null | import React from "react";
import { Panel } from "@components";
import { Link } from "react-router-dom";
import { queryRankingScore } from "@services";
function Index() {
const [data, setData] = React.useState([]);
React.useEffect(() => {
async function query() {
try {
const res = await queryRan... | 19.413043 | 53 | 0.489362 |
1e016eb671a37c50322a67d3a83851a122275b45 | 881 | js | JavaScript | commands/queue.js | higordiasz/Mey | 12b25b3277f4b5e49c9a46a0a33abf6344391419 | [
"MIT"
] | 1 | 2021-06-22T03:14:58.000Z | 2021-06-22T03:14:58.000Z | commands_old/queue.js | higordiasz/Mey | 12b25b3277f4b5e49c9a46a0a33abf6344391419 | [
"MIT"
] | null | null | null | commands_old/queue.js | higordiasz/Mey | 12b25b3277f4b5e49c9a46a0a33abf6344391419 | [
"MIT"
] | 1 | 2021-06-21T19:16:17.000Z | 2021-06-21T19:16:17.000Z | const { MessageEmbed, splitMessage, escapeMarkdown } = require("discord.js");
module.exports = {
name: "queue",
aliases: ["q"],
description: "Show the music queue and now playing.",
execute(message) {
const queue = message.client.queue.get(message.guild.id);
if (!queue) return message.reply("There is n... | 28.419355 | 104 | 0.637911 |
1e019f78bc606eae71d6c55c524a37dbb03b1e3e | 745 | js | JavaScript | routes/server_rendered_views.js | IAmBrandonMcGregor/acorn | 88ecc92feee27c07f2c241cb7497c619aa746d76 | [
"MIT"
] | null | null | null | routes/server_rendered_views.js | IAmBrandonMcGregor/acorn | 88ecc92feee27c07f2c241cb7497c619aa746d76 | [
"MIT"
] | null | null | null | routes/server_rendered_views.js | IAmBrandonMcGregor/acorn | 88ecc92feee27c07f2c241cb7497c619aa746d76 | [
"MIT"
] | null | null | null |
/*
These routes are rooted to calls to /[view-route]
*/
// Cache references to other modules.
var express = require('express'),
router = express.Router(),
path = require('path'),
fs = require('fs');
// Serve the main index.html file. This is integral to bootstrapping our application.
router.get('/', function (re... | 25.689655 | 85 | 0.677852 |
1e01b4f54783139436cdd5e72d6c123bae4ea750 | 213 | js | JavaScript | samples/concepts/iterator/generator.js | noomorph/showing-the-es6 | a89e22c7bc2f3ae56b99e88adc446c6802a641c2 | [
"Artistic-2.0"
] | null | null | null | samples/concepts/iterator/generator.js | noomorph/showing-the-es6 | a89e22c7bc2f3ae56b99e88adc446c6802a641c2 | [
"Artistic-2.0"
] | null | null | null | samples/concepts/iterator/generator.js | noomorph/showing-the-es6 | a89e22c7bc2f3ae56b99e88adc446c6802a641c2 | [
"Artistic-2.0"
] | null | null | null | function* gen123() {
var i = 1;
yield i; // -> 1
i += 1;
yield i; // -> 2
}
g = gen123();
g.next(); // { value: 1, done: false }
g.next(); // { value: 2, done: false }
g.next(); // { done: true }
| 17.75 | 38 | 0.446009 |
1e01c1bbfcf19efd695f46790193813727b33703 | 14,114 | js | JavaScript | FilePicker/Scripts/app.js | isabella232/O365-TenantWide-File-Picker | 9f8761334d6a41efe5d06dc978efc7a76ccf11be | [
"MIT"
] | 4 | 2015-10-05T14:56:28.000Z | 2019-07-03T14:33:44.000Z | FilePicker/Scripts/app.js | OfficeDev/O365-TenantWide-File-Picker | 9f8761334d6a41efe5d06dc978efc7a76ccf11be | [
"MIT"
] | 1 | 2019-11-28T08:01:41.000Z | 2019-11-28T08:01:41.000Z | FilePicker/Scripts/app.js | isabella232/O365-TenantWide-File-Picker | 9f8761334d6a41efe5d06dc978efc7a76ccf11be | [
"MIT"
] | 2 | 2015-11-18T05:01:41.000Z | 2020-11-17T19:13:35.000Z | (function () {
var host = "https://localhost:44300";
angular.module("filePicker", [])
.controller("searchCtrl", ["$scope", "$http", function ($scope, $http) {
$scope.items = [];
$scope.searchTerms = "";
$scope.waiting = true;
$scope.active_view = "OneDrive";
$scope.b... | 36.65974 | 184 | 0.48583 |
1e027570150db962d6392d939463eb6df4320e4b | 82 | js | JavaScript | test/chunking-form/samples/empty-module-no-treeshake/_expected/cjs/main2.js | jameshfisher/rollup | 26d067557faba6ae6da1e130b98a12450f6328e2 | [
"0BSD",
"MIT"
] | 23,201 | 2015-05-27T20:13:57.000Z | 2022-03-31T18:07:42.000Z | test/chunking-form/samples/empty-module-no-treeshake/_expected/cjs/main2.js | jameshfisher/rollup | 26d067557faba6ae6da1e130b98a12450f6328e2 | [
"0BSD",
"MIT"
] | 3,981 | 2015-05-26T16:24:14.000Z | 2022-03-31T09:52:35.000Z | test/chunking-form/samples/empty-module-no-treeshake/_expected/cjs/main2.js | jameshfisher/rollup | 26d067557faba6ae6da1e130b98a12450f6328e2 | [
"0BSD",
"MIT"
] | 1,557 | 2015-05-26T21:30:26.000Z | 2022-03-31T03:58:14.000Z | 'use strict';
require('./generated-emptyTransformed.js');
console.log('main2');
| 13.666667 | 43 | 0.707317 |
1e02bc18f1781e95fde1618803fd306de5800af9 | 2,832 | js | JavaScript | src/examples/javascript/index.express.extended.js | coolgk/node-api | 59a0822a89d56924e7171eac7c362bf8d052866f | [
"MIT"
] | 1 | 2020-08-07T19:10:07.000Z | 2020-08-07T19:10:07.000Z | src/examples/javascript/index.express.extended.js | coolgk/node-api | 59a0822a89d56924e7171eac7c362bf8d052866f | [
"MIT"
] | 5 | 2018-01-31T23:53:32.000Z | 2021-05-06T21:26:29.000Z | src/examples/javascript/index.express.extended.js | coolgk/node-mvc | 59a0822a89d56924e7171eac7c362bf8d052866f | [
"MIT"
] | null | null | null | 'use strict';
/**
* an extended example of using the @coolgk/mvc framework with session and form data handlers
*/
const express = require('express');
const { createClient } = require('redis');
const { Router } = require('@coolgk/mvc/router');
const { formData } = require('@coolgk/formdata');
const { Session } = req... | 36.779221 | 122 | 0.645833 |
1e0481e231512ec11dfc25720200f28055d23a37 | 3,086 | js | JavaScript | js-apps/meep-frontend/src/js/components/dialogs/id-new-scenario-dialog.js | nikhildoifode/AdvantEDGE | 2eb7bbc39154afe5e2210e5faf59535cf8fca191 | [
"Apache-2.0"
] | null | null | null | js-apps/meep-frontend/src/js/components/dialogs/id-new-scenario-dialog.js | nikhildoifode/AdvantEDGE | 2eb7bbc39154afe5e2210e5faf59535cf8fca191 | [
"Apache-2.0"
] | null | null | null | js-apps/meep-frontend/src/js/components/dialogs/id-new-scenario-dialog.js | nikhildoifode/AdvantEDGE | 2eb7bbc39154afe5e2210e5faf59535cf8fca191 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 InterDigital Communications, Inc
*
* 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 ap... | 27.309735 | 79 | 0.626377 |
1e0484d967911cd6de3df6c4ec04cd2f1dfd5911 | 673,345 | js | JavaScript | plugin/editor/smarteditor/js/smarteditor2.js | toptal3/MIXTAGE | 2ccce1aa54fb7e885f6cc440b02f89d56537dc65 | [
"MIT"
] | 1 | 2020-07-20T13:12:06.000Z | 2020-07-20T13:12:06.000Z | plugin/editor/smarteditor/js/smarteditor2.js | toptal3/MIXTAGE | 2ccce1aa54fb7e885f6cc440b02f89d56537dc65 | [
"MIT"
] | null | null | null | plugin/editor/smarteditor/js/smarteditor2.js | toptal3/MIXTAGE | 2ccce1aa54fb7e885f6cc440b02f89d56537dc65 | [
"MIT"
] | null | null | null | /** * SmartEditor2 NHN_Library:SE2.3.10.O11329:SmartEditor2.0-OpenSource * @version 11329 */ var nSE2Version = 11329;if(typeof window.nhn=='undefined') window.nhn = {};
/**
* @fileOverview This file contains a function that takes care of various operations related to find and replace
* @name N_FindRe... | 31.628775 | 938 | 0.650552 |
1e04ad96e2ae99e0b6e2bc9e1f6ab82f4e886042 | 652 | js | JavaScript | rollup.config.js | zss1004504439/npm-test | ebb8d8b222cee0e89458cdf82095cadecb9a24a4 | [
"MIT"
] | 1 | 2021-12-21T01:08:18.000Z | 2021-12-21T01:08:18.000Z | rollup.config.js | zss1004504439/npm-test | ebb8d8b222cee0e89458cdf82095cadecb9a24a4 | [
"MIT"
] | null | null | null | rollup.config.js | zss1004504439/npm-test | ebb8d8b222cee0e89458cdf82095cadecb9a24a4 | [
"MIT"
] | 1 | 2021-12-21T01:08:02.000Z | 2021-12-21T01:08:02.000Z | import babel from "rollup-plugin-babel"
// 压缩
import {
terser
} from "rollup-plugin-terser"
// 输出文件夹清除
import del from 'rollup-plugin-delete'
const path = require('path')
const resolve = function (filePath) {
return path.join(__dirname, filePath)
}
export default {
input: resolve('/src/index.js'), // 入口文... | 19.757576 | 44 | 0.544479 |
1e04bbb2899b1b58843ed2c8c059964787d387c9 | 233 | js | JavaScript | src/internal/bindings/bindingArguments/bindingArgument.js | TimHambourger/superinject | 42b8edf927bd9596f253fe8c7576b50e0658de05 | [
"MIT"
] | null | null | null | src/internal/bindings/bindingArguments/bindingArgument.js | TimHambourger/superinject | 42b8edf927bd9596f253fe8c7576b50e0658de05 | [
"MIT"
] | null | null | null | src/internal/bindings/bindingArguments/bindingArgument.js | TimHambourger/superinject | 42b8edf927bd9596f253fe8c7576b50e0658de05 | [
"MIT"
] | null | null | null | module.exports = BindingArgument;
function BindingArgument() { }
// Abstract. Subclasses MUST override.
// scope -- {Scope}
BindingArgument.prototype.activate = function (scope) {
throw new Error('Method not implemented.');
};
| 23.3 | 55 | 0.725322 |
1e052d421fe17ba8bf642c77676f61b44fd70f0a | 904 | js | JavaScript | client/tests/controllers/ProductController.test.js | davidnadeau/shopping-cart | 4939eabceb9eab8c8a074e40b8d5c589a7fb93a7 | [
"MIT"
] | 1 | 2015-04-06T14:29:11.000Z | 2015-04-06T14:29:11.000Z | client/tests/controllers/ProductController.test.js | davidnadeau/shopping-cart | 4939eabceb9eab8c8a074e40b8d5c589a7fb93a7 | [
"MIT"
] | null | null | null | client/tests/controllers/ProductController.test.js | davidnadeau/shopping-cart | 4939eabceb9eab8c8a074e40b8d5c589a7fb93a7 | [
"MIT"
] | null | null | null | describe("Product Controller", function() {
var $rootScope, $scope, $controller;
beforeEach(module('dnStore.shoppingCart'));
beforeEach(inject(function(_$rootScope_, _$controller_){
$rootScope = _$rootScope_;
$scope = $rootScope.$new();
$controller = _$controller_;
$controller('ProductController', {'$root... | 30.133333 | 82 | 0.668142 |
1e05ed8d5ebf62cc80c8e391d64c7519336be092 | 555 | js | JavaScript | modules/SinglePostsDisplay.js | KnottStudios/ReactBlogExample | cea8cc7068c692faad8eddfde15893ac4cc02574 | [
"MIT"
] | null | null | null | modules/SinglePostsDisplay.js | KnottStudios/ReactBlogExample | cea8cc7068c692faad8eddfde15893ac4cc02574 | [
"MIT"
] | null | null | null | modules/SinglePostsDisplay.js | KnottStudios/ReactBlogExample | cea8cc7068c692faad8eddfde15893ac4cc02574 | [
"MIT"
] | null | null | null | import React from 'react';
import { SinglePost } from './SinglePost';
export class SinglePostsDisplay extends React.Component {
render(){
var ids = [];
var i;
for(i = 1; i < 3; i++){
ids.push(i)
}
var blogs = ids.map(function(id, index){
re... | 25.227273 | 67 | 0.443243 |
1e062e2c65350e0ce789df5d0145e0dddc864997 | 3,056 | js | JavaScript | src/js/src/Emitter.js | movinliao/movin-events | e2241cfa9577ab4e13ce18bbff93c6be54032638 | [
"Apache-2.0"
] | null | null | null | src/js/src/Emitter.js | movinliao/movin-events | e2241cfa9577ab4e13ce18bbff93c6be54032638 | [
"Apache-2.0"
] | null | null | null | src/js/src/Emitter.js | movinliao/movin-events | e2241cfa9577ab4e13ce18bbff93c6be54032638 | [
"Apache-2.0"
] | null | null | null |
/**
* Expose `Emitter`.
* https://github.com/npmcomponent/component-emitter
*/
module.exports = Emitter;
/**
* Initialize a new `Emitter`.
*
* @api public
*/
function Emitter(obj) {
if (obj) return mixin(obj);
};
/**
* Mixin the emitter properties.
*
* @param {Object} obj
* @return {Object}
* @api pr... | 18.521212 | 60 | 0.625327 |
1e06339c0388e996b5259b2992142b5d5936272e | 4,472 | js | JavaScript | config/http.js | ValiantLucatero/PFSails | dd21ddf26bdd598471d2adf1421f1bd0570dc44c | [
"MIT"
] | 1 | 2020-08-07T15:46:50.000Z | 2020-08-07T15:46:50.000Z | config/http.js | ValiantLucatero/PFSails | dd21ddf26bdd598471d2adf1421f1bd0570dc44c | [
"MIT"
] | 2 | 2017-07-03T04:53:06.000Z | 2021-08-31T23:26:29.000Z | config/http.js | ValiantLucatero/PFSails | dd21ddf26bdd598471d2adf1421f1bd0570dc44c | [
"MIT"
] | 1 | 2020-09-11T03:20:57.000Z | 2020-09-11T03:20:57.000Z | /**
* HTTP Server Settings
* (sails.config.http)
*
* Configuration for the underlying HTTP server in Sails.
* Only applies to HTTP requests (not WebSockets)
*
* For more information on configuration, check out:
* http://sailsjs.org/#!/documentation/reference/sails.config/sails.config.http.html
*/
module.expor... | 45.632653 | 84 | 0.368068 |
1e069ec4e0c676056dc518705e6e4fb8831eea10 | 29,955 | js | JavaScript | hackCu/core/gesture.js | AM-Mahon/HackCU-EC | 354e6e49ac1f09eff7c61f3815630361bda1ba5a | [
"Unlicense",
"MIT"
] | 16 | 2016-11-16T08:56:14.000Z | 2021-04-30T02:49:26.000Z | core/gesture.js | JBBlunderbuss/blockly | d5834c5b785e920f1116c193c0c053bd42179fcb | [
"Apache-2.0"
] | 9 | 2017-05-15T12:20:48.000Z | 2021-03-13T17:45:12.000Z | core/gesture.js | JBBlunderbuss/blockly | d5834c5b785e920f1116c193c0c053bd42179fcb | [
"Apache-2.0"
] | 9 | 2017-01-29T10:44:10.000Z | 2021-12-06T08:52:16.000Z | /**
* @license
* Copyright 2017 Google LLC
*
* 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 law or ... | 30.380325 | 80 | 0.701786 |
1e06a8bee7921d1802fbf9aaca8df296b9705eab | 1,518 | js | JavaScript | js/components/nglViewerControls.js | ricgillams/fragalysis-frontend | 404950248f7f2298e2dc41d7ff2ec71350984643 | [
"MIT"
] | null | null | null | js/components/nglViewerControls.js | ricgillams/fragalysis-frontend | 404950248f7f2298e2dc41d7ff2ec71350984643 | [
"MIT"
] | 1 | 2018-12-18T15:39:53.000Z | 2018-12-18T15:39:53.000Z | js/components/nglViewerControls.js | ricgillams/fragalysis-frontend | 404950248f7f2298e2dc41d7ff2ec71350984643 | [
"MIT"
] | null | null | null | /**
* Created by ricgillams on 28/06/2018.
*/
import React from "react";
import {connect} from "react-redux";
import * as nglLoadActions from "../actions/nglLoadActions";
import {Button} from "react-bootstrap";
class NglViewerControls extends React.Component {
constructor(props) {
super(props)
... | 27.6 | 115 | 0.652174 |
1e06b74ac36550ff626e4f39fad2e20e76f7240a | 621 | js | JavaScript | src/components/MonsterMakerCode.js | TibiaJS/otmonstermaker | 0b13a86cde6619295d8673a85d2c7a37414801f7 | [
"MIT"
] | 2 | 2020-03-20T10:22:43.000Z | 2020-06-02T23:50:12.000Z | src/components/MonsterMakerCode.js | TibiaJS/otmonstermaker | 0b13a86cde6619295d8673a85d2c7a37414801f7 | [
"MIT"
] | null | null | null | src/components/MonsterMakerCode.js | TibiaJS/otmonstermaker | 0b13a86cde6619295d8673a85d2c7a37414801f7 | [
"MIT"
] | 1 | 2020-01-13T06:26:10.000Z | 2020-01-13T06:26:10.000Z | import React from 'react';
const containerStyle = {
maxHeight: 250,
width: '100%',
margin: 5,
overflow: 'auto',
//textAlign: 'center',
backgroundColor: '#000000',
color: '#FFFFFF',
whiteSpace: 'pre'
}
const textContainerStyle = {
margin: 'auto',
display: 'table'
}
class Mons... | 18.264706 | 51 | 0.536232 |
1e06f3013d34f5cc2c58c4d4cc0be3e4cc32970e | 6,025 | js | JavaScript | src/pages/Home/index.js | lijifa/LggWeb | 9570c2e161f2a38e38e19e63763c42458c305ad3 | [
"MIT"
] | null | null | null | src/pages/Home/index.js | lijifa/LggWeb | 9570c2e161f2a38e38e19e63763c42458c305ad3 | [
"MIT"
] | null | null | null | src/pages/Home/index.js | lijifa/LggWeb | 9570c2e161f2a38e38e19e63763c42458c305ad3 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import Link from 'umi/link';
import { Row, Col, Form, Icon, Badge } from 'antd';
import { connect } from 'dva';
import { formatTime, covertMoney2Yuan} from '@/utils/utils';
import { getAuthority } from '@/utils/authority';
import indexStyle from './styles.less';
const namespac... | 40.709459 | 188 | 0.573776 |
1e0868c2651eff6a560b0f31af7d9ae4aac2ccc8 | 736 | js | JavaScript | API/api/server/routes/EquipmentRoutes.js | Worldten/dofus-helper-api | 30ab510016587d65c20e1401e7418658cc3b950b | [
"MIT"
] | null | null | null | API/api/server/routes/EquipmentRoutes.js | Worldten/dofus-helper-api | 30ab510016587d65c20e1401e7418658cc3b950b | [
"MIT"
] | 2 | 2021-05-11T10:50:03.000Z | 2021-09-02T12:55:57.000Z | API/api/server/routes/EquipmentRoutes.js | Worldten/dofus-helper-api | 30ab510016587d65c20e1401e7418658cc3b950b | [
"MIT"
] | null | null | null | import { Router } from 'express';
import EquipmentController from '../controllers/EquipmentController';
var authController = require("../controllers/AuthController")
const router = Router();
router.get('/', authController.verifyToken, EquipmentController.getAllEquipments);
router.post('/', authController.verifyToken... | 46 | 97 | 0.809783 |
1e08dff562524970a95b03d9f0bd7d978d289d33 | 4,830 | js | JavaScript | public/convassets/plugins/table/sticky-table-header/jquery.stickyheader.js | Franciscobvb/ConvocatoriaNY2020 | 4db5283bffb71d7f103f1f7850e086561e10c3ac | [
"MIT"
] | null | null | null | public/convassets/plugins/table/sticky-table-header/jquery.stickyheader.js | Franciscobvb/ConvocatoriaNY2020 | 4db5283bffb71d7f103f1f7850e086561e10c3ac | [
"MIT"
] | null | null | null | public/convassets/plugins/table/sticky-table-header/jquery.stickyheader.js | Franciscobvb/ConvocatoriaNY2020 | 4db5283bffb71d7f103f1f7850e086561e10c3ac | [
"MIT"
] | null | null | null | $(function(){
$('table').each(function() {
if($(this).find('thead').length > 0 && $(this).find('th').length > 0) {
// Clone <thead>
var $w = $(window),
$t = $(this),
$thead = $t.find('thead').clone(),
$col = $t.find('thead, tbody').clone();
// Add class, remove margins, reset width and ... | 30 | 111 | 0.55383 |
1e08f9a77b144f977b3dbc58f1207bf90309dbf4 | 46,888 | js | JavaScript | dist/9.00a10cf23e83403814a5.js | pauloedsr/usDoc-ng | 6d93efafe881260080f293a43ea7324937262411 | [
"Apache-2.0"
] | null | null | null | dist/9.00a10cf23e83403814a5.js | pauloedsr/usDoc-ng | 6d93efafe881260080f293a43ea7324937262411 | [
"Apache-2.0"
] | null | null | null | dist/9.00a10cf23e83403814a5.js | pauloedsr/usDoc-ng | 6d93efafe881260080f293a43ea7324937262411 | [
"Apache-2.0"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"9It4":function(t,e,i){"use strict";i.d(e,"c",function(){return d}),i.d(e,"b",function(){return c}),i.d(e,"a",function(){return u});var n=i("mrSG"),r=i("n6gG"),a=i("CcnG"),o=(i("gIcY"),i("Wf4p")),l=0,s=function(t,e){this.source=t,this.value=e},c=function(t){funct... | 46,888 | 46,888 | 0.755609 |
1e09124c3e7daaf22bbf0f0d9f6a13fece1d9039 | 1,548 | js | JavaScript | src/content.js | RalkeyOfficial/kevinator-extension | 19b966fe0c3956826d5fac9249880d04ceb1bd59 | [
"MIT"
] | null | null | null | src/content.js | RalkeyOfficial/kevinator-extension | 19b966fe0c3956826d5fac9249880d04ceb1bd59 | [
"MIT"
] | null | null | null | src/content.js | RalkeyOfficial/kevinator-extension | 19b966fe0c3956826d5fac9249880d04ceb1bd59 | [
"MIT"
] | null | null | null | const images = [
"https://raw.githubusercontent.com/RalkeyOfficial/kevinator-extension/main/src/images/FaceApp_1642673262498.jpg",
"https://raw.githubusercontent.com/RalkeyOfficial/kevinator-extension/main/src/images/IMG20220118164805.jpg",
"https://raw.githubusercontent.com/RalkeyOfficial/kevinator-extensi... | 31.591837 | 153 | 0.667313 |
1e09fbc92daba209c5fbe98e1c4fc91dbcf93698 | 897 | js | JavaScript | src/front-end/admin-main/src/api/menu.js | NeuCharFramework/Ncf | 0cd815d5497bf8f18b64cdc6b487fd624e8591df | [
"Apache-2.0"
] | null | null | null | src/front-end/admin-main/src/api/menu.js | NeuCharFramework/Ncf | 0cd815d5497bf8f18b64cdc6b487fd624e8591df | [
"Apache-2.0"
] | null | null | null | src/front-end/admin-main/src/api/menu.js | NeuCharFramework/Ncf | 0cd815d5497bf8f18b64cdc6b487fd624e8591df | [
"Apache-2.0"
] | null | null | null | /*
* 模块:Senparc.Areas.Admin:SysMenuAppService
* 菜单
* */
import request from '@/utils/request'
const baseUrl = "/api/Senparc.Areas.Admin/SysMenuAppService/Areas.Admin_SysMenuAppService"
//创建、更新
export function createOrUpdateMenu(data) {
return request({
url: `${baseUrl}.CreateOrUpdateAsync`,
method: 'post',
... | 16.017857 | 90 | 0.652174 |
1e0a5204d657b4304e5c85a7676c9a6fe814e85a | 550 | js | JavaScript | php/00haizeiwangec/js/queryform.js | shifushihuaidan/op11 | b16fd69b5501f914f2312fd4618fd2961cd23135 | [
"MIT"
] | null | null | null | php/00haizeiwangec/js/queryform.js | shifushihuaidan/op11 | b16fd69b5501f914f2312fd4618fd2961cd23135 | [
"MIT"
] | null | null | null | php/00haizeiwangec/js/queryform.js | shifushihuaidan/op11 | b16fd69b5501f914f2312fd4618fd2961cd23135 | [
"MIT"
] | null | null | null | // JavaScript Document
function queryrst(form) {
var name = form.name.value;
var formid = form.formid.value;
if(name == '' && formid == ''){
alert('用户或订单号至少有一个不能为空');
form.name.focus();
return false;
}
var url = "query.php?vendee="+name+"&formid="+formid;
xmlhttp.open("GET",url,true);
xmlhttp.onreadystatec... | 22 | 54 | 0.636364 |
1e0b964c7d8e8e8b4da4d0163fd78e422ad89683 | 2,614 | js | JavaScript | test/unit/services/user-service-test.js | GrowMoi/haedus-front-end | 6caef7a8c7829448bb664d85a46186db4a568986 | [
"Apache-2.0"
] | null | null | null | test/unit/services/user-service-test.js | GrowMoi/haedus-front-end | 6caef7a8c7829448bb664d85a46186db4a568986 | [
"Apache-2.0"
] | null | null | null | test/unit/services/user-service-test.js | GrowMoi/haedus-front-end | 6caef7a8c7829448bb664d85a46186db4a568986 | [
"Apache-2.0"
] | null | null | null | (function() {
'use strict';
describe('UserService', function() {
var service,
$httpBackend,
username,
expectedUrl,
ENV,
PopupService,
ModalService,
$state;
beforeEach(module('moi.services', function($provide) {
$provide.factory('PopupService', function() {
... | 24.895238 | 78 | 0.522953 |
1e0c265e7196a8b6b2655d7e9e952a4f5b2bb095 | 281 | js | JavaScript | webpack.config.js | rsocket/rsocket-demo | f2444aee30f637cc6a02db40c73b5056dcedae25 | [
"Apache-2.0"
] | 16 | 2017-10-06T12:13:58.000Z | 2022-03-07T06:28:42.000Z | webpack.config.js | yschimke/rsocket-demo | 9f97d960b17ff58d176615078bdac0659111b8fb | [
"Apache-2.0"
] | 21 | 2017-07-10T12:05:08.000Z | 2021-03-05T17:31:13.000Z | webpack.config.js | rsocket/rsocket-demo | f2444aee30f637cc6a02db40c73b5056dcedae25 | [
"Apache-2.0"
] | 6 | 2017-12-01T19:16:55.000Z | 2021-04-21T23:48:39.000Z | const path = require('path');
const webpack = require('webpack');
module.exports = {
entry: path.resolve(__dirname, './src/main/js/app.js'),
output: {
path: path.resolve(__dirname, './src/main/resources/static/js/'),
filename: 'app.js',
},
mode: 'development',
};
| 23.416667 | 69 | 0.640569 |
1e0c7a20223e1ac1d2cc046c85b374bfe863662a | 2,564 | js | JavaScript | pc_meiduo/front_end_pc/js/order_success.js | lyq919233278/meiduo_mall | c551896ffc9bb00bb1c4ad7e15825e8e096e571b | [
"MIT"
] | 1 | 2020-12-16T02:45:09.000Z | 2020-12-16T02:45:09.000Z | pc_meiduo/front_end_pc/js/order_success.js | lyq919233278/meiduo_mall | c551896ffc9bb00bb1c4ad7e15825e8e096e571b | [
"MIT"
] | 9 | 2021-01-06T20:09:46.000Z | 2022-02-27T09:57:27.000Z | pc_meiduo/front_end_pc/js/order_success.js | lyq919233278/meiduo_mall | c551896ffc9bb00bb1c4ad7e15825e8e096e571b | [
"MIT"
] | null | null | null | var vm = new Vue({
delimiters: ['[[', ']]'],
el: '#app',
data: {
host,
username: '',
user_id: sessionStorage.user_id || localStorage.user_id,
token: sessionStorage.token || localStorage.token,
order_id: '',
amount: 0,
pay_method: '',
},
compute... | 30.52381 | 72 | 0.386895 |
1e0d32b0dcb5e6be4acb0c8b93ac2ce86075b3c7 | 65,157 | js | JavaScript | doc/OPC DAAE Server Base .NET/script/dotnet2008.js | AkatorMr/opc-daae-server | 7d56e4603064b53476d3c0971a4d873066fba65f | [
"Info-ZIP"
] | 2 | 2017-08-11T16:16:36.000Z | 2017-10-17T12:43:28.000Z | doc/OPC DAAE Server Base .NET/script/dotnet2008.js | AkatorMr/opc-daae-server | 7d56e4603064b53476d3c0971a4d873066fba65f | [
"Info-ZIP"
] | 1 | 2019-05-16T05:53:43.000Z | 2019-05-23T01:57:20.000Z | iClient60ForWinRT/Document/API_ALL/script/dotnet2008.js | SuperMap/iClient-for-Win8 | 214520b0c74cf41fadcac8d02e796b03c5e1c49a | [
"Apache-2.0"
] | 1 | 2021-04-15T01:08:29.000Z | 2021-04-15T01:08:29.000Z | /* Wire up the bodyload handler (set here rather than in the body element
in order to avoid a HTML Help viewer bug with printing multiple topics */
window.onload = bodyLoad;
/* Set body initially hidden unless we are printing */
document.write("<style media='screen'>body {visibility: hidden}</style>");
/* Begin Comm... | 24.303245 | 221 | 0.527418 |
1e0e0eb41bdf1899b205b8935195f8db1783ed41 | 203 | js | JavaScript | chapter-07/7.8/src/router/middleware/authentication.js | msoftware/Vue.js-3.0-Cookbook | adaceb9f418f6a3af60c9dc89cd42a1d1d5d0e5a | [
"MIT"
] | 1 | 2021-05-03T10:07:35.000Z | 2021-05-03T10:07:35.000Z | chapter-07/7.8/src/router/middleware/authentication.js | rolltidehero/Vue.js-3.0-Cookbook | 999692b78ee16dc78b690a08017c1b008f4c4563 | [
"MIT"
] | null | null | null | chapter-07/7.8/src/router/middleware/authentication.js | rolltidehero/Vue.js-3.0-Cookbook | 999692b78ee16dc78b690a08017c1b008f4c4563 | [
"MIT"
] | 1 | 2021-02-24T20:32:52.000Z | 2021-02-24T20:32:52.000Z | export default (to, from, next) => {
if (to.meta.authenticated && sessionStorage.getItem('auth')) {
return next();
}
if (!to.meta.authenticated) {
return next();
}
next('/login');
};
| 16.916667 | 64 | 0.586207 |
1e0e8ec6034ca64abb34a5e15de315c332c2d670 | 216 | js | JavaScript | browser/client1/src/util/hex2dec.js | chkui/fingerprintsAuth | d4e9260d7e74d0b17aee4a4b4ad1b547c709f74f | [
"Apache-2.0"
] | null | null | null | browser/client1/src/util/hex2dec.js | chkui/fingerprintsAuth | d4e9260d7e74d0b17aee4a4b4ad1b547c709f74f | [
"Apache-2.0"
] | null | null | null | browser/client1/src/util/hex2dec.js | chkui/fingerprintsAuth | d4e9260d7e74d0b17aee4a4b4ad1b547c709f74f | [
"Apache-2.0"
] | null | null | null | export const hex2dec = function (hexStr) {
let dec = '';
for (let pos = 0; pos < hexStr.length; pos = pos + 2) {
const s = hexStr.substr(pos, 2);
dec += parseInt(s, 16)
}
return dec
}; | 27 | 59 | 0.532407 |
1e0e8fdda14e3af101d0fd286c77bf8c04f5dddf | 2,421 | js | JavaScript | src/containers/app/header.js | guillaumeAder1/portfolio | ae0bfe25bc6bfffccc27a296ee0711f8940ce459 | [
"MIT"
] | null | null | null | src/containers/app/header.js | guillaumeAder1/portfolio | ae0bfe25bc6bfffccc27a296ee0711f8940ce459 | [
"MIT"
] | null | null | null | src/containers/app/header.js | guillaumeAder1/portfolio | ae0bfe25bc6bfffccc27a296ee0711f8940ce459 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import style from './constant';
import PropTypes from 'prop-types';
class Header extends Component {
constructor(props) {
super(props);
this.state = {
open: false
};
this.body = document.querySelector('body');
... | 27.202247 | 78 | 0.430814 |
1e0eaf9f4eccb46058312b7c446716a7a2e7d026 | 1,156 | js | JavaScript | common-ui/js/components/house-plans/house-plan/house-plan.controller.js | hunterBhough/epahomeratingapp-ui | aa997c935de55c504fa6a8c330989ea4b0745de4 | [
"Apache-2.0"
] | 2 | 2019-03-21T18:00:52.000Z | 2019-06-24T17:37:58.000Z | common-ui/js/components/house-plans/house-plan/house-plan.controller.js | hunterBhough/epahomeratingapp-ui | aa997c935de55c504fa6a8c330989ea4b0745de4 | [
"Apache-2.0"
] | 1 | 2022-03-01T23:50:47.000Z | 2022-03-01T23:50:47.000Z | common-ui/js/components/house-plans/house-plan/house-plan.controller.js | hunterBhough/epahomeratingapp-ui | aa997c935de55c504fa6a8c330989ea4b0745de4 | [
"Apache-2.0"
] | 1 | 2019-06-24T17:38:20.000Z | 2019-06-24T17:38:20.000Z | class HousePlanController {
constructor (HousePlansService, S3_CONFIG) {
'ngInject';
this.HousePlansService = HousePlansService;
this.s3Bucket = `${S3_CONFIG.S3_BUCKET_NAME_PREFIX}-rating-company`;
}
$onChanges (changes) {
if (changes.housePlan && !changes.housePla... | 26.883721 | 85 | 0.58737 |
1e0ed8372aa815940430b075260411f63f62349a | 700 | js | JavaScript | build/database/repository/SupportRepo.js | ZizouAR/WeReakt---Backend | 4b9f40bb1429e32f82de645b1786e5bc6d9acead | [
"Apache-2.0"
] | null | null | null | build/database/repository/SupportRepo.js | ZizouAR/WeReakt---Backend | 4b9f40bb1429e32f82de645b1786e5bc6d9acead | [
"Apache-2.0"
] | null | null | null | build/database/repository/SupportRepo.js | ZizouAR/WeReakt---Backend | 4b9f40bb1429e32f82de645b1786e5bc6d9acead | [
"Apache-2.0"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Support_1 = require("../model/Support");
class SupportRepo {
static async create(req) {
req.createdAt = new Date();
const request = await Support_1.SupportModel.create(req);
return request.toObject();
}
... | 30.434783 | 81 | 0.608571 |
1e0f82282c632be103d33e711f790dbb6451df04 | 43 | js | JavaScript | server.js | braintree/eslint-conf | f8538a24cfa37c8df04e0700b2e46604e1179935 | [
"MIT"
] | 226 | 2018-10-22T17:53:08.000Z | 2022-02-24T05:39:06.000Z | server.js | braintree/eslint-conf | f8538a24cfa37c8df04e0700b2e46604e1179935 | [
"MIT"
] | 10 | 2016-07-07T16:03:40.000Z | 2021-09-24T15:05:20.000Z | server.js | braintree/eslint-conf | f8538a24cfa37c8df04e0700b2e46604e1179935 | [
"MIT"
] | 7 | 2016-05-05T13:44:12.000Z | 2021-07-20T12:02:50.000Z | module.exports = require("./dist/server");
| 21.5 | 42 | 0.697674 |
1e103a1f24843c7441cdf96b7f613b8df74d171e | 1,116 | js | JavaScript | src/__tests__/calc.test.js | chengjianhua/styled-fns | 62b17e302293a9763038135c100838bf23f116cd | [
"MIT"
] | 3 | 2018-04-16T14:28:39.000Z | 2020-07-06T21:53:07.000Z | src/__tests__/calc.test.js | chengjianhua/styled-fns | 62b17e302293a9763038135c100838bf23f116cd | [
"MIT"
] | null | null | null | src/__tests__/calc.test.js | chengjianhua/styled-fns | 62b17e302293a9763038135c100838bf23f116cd | [
"MIT"
] | null | null | null | import calc from '../calc'
describe('calc', () => {
it('should return right result for template with variables', () => {
expect(calc`(${'100px'} * 100) + ${'1px'}`).toBe('10001px')
expect(calc`(${'100px'} * 100) / 1`).toBe('10000px')
})
it('should throw exception if occurs more than two sort of units in... | 32.823529 | 124 | 0.601254 |
1e10e760d53fda920dfdd5c62543ee87c6fbddfa | 1,793 | js | JavaScript | src/components/BehaviourViz.js | 980302306/Junction2020 | 2e91650b893f529720f1f18a9d7551dcd70e8f90 | [
"MIT"
] | null | null | null | src/components/BehaviourViz.js | 980302306/Junction2020 | 2e91650b893f529720f1f18a9d7551dcd70e8f90 | [
"MIT"
] | null | null | null | src/components/BehaviourViz.js | 980302306/Junction2020 | 2e91650b893f529720f1f18a9d7551dcd70e8f90 | [
"MIT"
] | null | null | null | import React, { useLayoutEffect } from 'react';
// import logo from './logo.svg';
// import './App.css';
import * as am4core from "@amcharts/amcharts4/core";
import * as am4charts from "@amcharts/amcharts4/charts";
import am4themes_animated from "@amcharts/amcharts4/themes/animated";
import am4themes_dataviz from... | 32.6 | 325 | 0.662577 |
1e112921659d9e43da6f85424a3d4a467dc15e7b | 242 | js | JavaScript | lib/deferrals.js | fbardelli-shutterstock/showcase | 17b37b852ef9da0505b7b69cac833c4d89817e2d | [
"Unlicense"
] | 19 | 2015-03-06T22:50:32.000Z | 2021-08-01T22:39:39.000Z | lib/deferrals.js | fbardelli-shutterstock/showcase | 17b37b852ef9da0505b7b69cac833c4d89817e2d | [
"Unlicense"
] | 2 | 2015-04-24T18:04:53.000Z | 2017-11-30T15:17:48.000Z | lib/deferrals.js | fbardelli-shutterstock/showcase | 17b37b852ef9da0505b7b69cac833c4d89817e2d | [
"Unlicense"
] | 4 | 2015-01-25T14:48:25.000Z | 2020-04-05T02:10:09.000Z | var Deferrals = function() {
this.queue = [];
for (var i = 0; i < arguments.length; i++) {
this.queue.push(arguments[i]);
}
this.run = function() {
var deferral = this.queue.shift();
deferral();
};
};
module.exports = Deferrals;
| 17.285714 | 45 | 0.607438 |
1e11e79b04761be5df01062b17ead75fb75d9ca1 | 333 | js | JavaScript | es/FilledRecentActors.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 3 | 2018-11-11T01:48:20.000Z | 2019-12-02T06:13:14.000Z | es/FilledRecentActors.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 1 | 2019-02-21T05:59:35.000Z | 2019-02-21T21:57:57.000Z | es/FilledRecentActors.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | null | null | null | import React from 'react';
import { Icon } from './Icon';
import { pe, zi, bbt } from './fragments';
export var FilledRecentActors =
/*#__PURE__*/
function FilledRecentActors(props) {
return React.createElement(Icon, props, React.createElement("path", {
d: "M21 5v14h2V5zm-4 14h2V5h-2zM14 5H2" + bbt + "h12" + zi +... | 33.3 | 71 | 0.675676 |
1e1238067020c79c1db54a0c69e94f07003f80ee | 2,801 | js | JavaScript | src/tester/scenarios/RandomScenarios.js | crysadrak/QApe | 09910d28d013ab4311a09db60e7e060a167d5e6f | [
"MIT"
] | 1 | 2021-01-25T08:59:48.000Z | 2021-01-25T08:59:48.000Z | src/tester/scenarios/RandomScenarios.js | crysadrak/QApe | 09910d28d013ab4311a09db60e7e060a167d5e6f | [
"MIT"
] | null | null | null | src/tester/scenarios/RandomScenarios.js | crysadrak/QApe | 09910d28d013ab4311a09db60e7e060a167d5e6f | [
"MIT"
] | null | null | null | import { report } from '../messanger';
/**
* Random scenarios are default types of scenarios
* executed whenever there is nothing else to execute.
* They randomly click on the website and search for errors.
*/
export default class RandomScenarios {
/**
* @param {Object} config
* @param {ActionsHandle... | 27.460784 | 109 | 0.567297 |
1e128b4211ae5eae9619fa52fb2f9b9ce4ee68db | 1,031 | js | JavaScript | dist/lib-esm/text/test/xsltapply-cases.js | ruby232/web-standard-functions | 7e5cb2138412360c56ad2c42bf36b643b987f5ab | [
"Apache-2.0"
] | null | null | null | dist/lib-esm/text/test/xsltapply-cases.js | ruby232/web-standard-functions | 7e5cb2138412360c56ad2c42bf36b643b987f5ab | [
"Apache-2.0"
] | null | null | null | dist/lib-esm/text/test/xsltapply-cases.js | ruby232/web-standard-functions | 7e5cb2138412360c56ad2c42bf36b643b987f5ab | [
"Apache-2.0"
] | null | null | null | export var testCases = [
[
/*from https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/Basic_Example*/
'\n <?xml version="1.0"?>\n <?xml-stylesheet type="text/xsl" href="example.xsl"?>\n <Article>\n <Title>My Article</Title>\n <Authors>\n <Author>Mr. Foo</Author>\n <... | 103.1 | 457 | 0.582929 |
1e12a3956f405d8bf88e9a24980d69adc492c6ef | 1,431 | js | JavaScript | lib/locales/tr/commerce/product_description.js | iBet7o/faker.js | 29234378807c4141588861f69421bf20b5ac635e | [
"MIT"
] | 35,056 | 2015-01-01T05:58:25.000Z | 2022-02-27T18:46:54.000Z | lib/locales/tr/commerce/product_description.js | iBet7o/faker.js | 29234378807c4141588861f69421bf20b5ac635e | [
"MIT"
] | 1,042 | 2015-01-02T09:59:44.000Z | 2022-01-05T06:27:27.000Z | lib/locales/tr/commerce/product_description.js | iBet7o/faker.js | 29234378807c4141588861f69421bf20b5ac635e | [
"MIT"
] | 5,045 | 2015-01-09T20:18:03.000Z | 2022-02-27T19:31:27.000Z | module["exports"] = [
"Gün boyu konfor ve destek için yapıştırılmış siyah deri ve PVC dolgulu koltuk ve sırt ile kaplanmış ergonomik yönetici koltuğu",
"Otomobil düzeni, motorun arkasına monte edilmiş transaks tipi şanzımanlar ve dört tekerlekten çekiş ile bir ön motor tasarımından oluşur",
"Yeni ABC 13 9370, 13.... | 102.214286 | 144 | 0.797345 |
1e12c1888db741bd23fa87ab08141a1be69c847e | 1,397 | js | JavaScript | commands/force.js | tgreaves/cave | a5a670273ec2a52f3de53226d8a0fec4f500f9cf | [
"MIT"
] | 5 | 2019-08-04T09:35:32.000Z | 2020-05-16T04:16:32.000Z | commands/force.js | tgreaves/cave | a5a670273ec2a52f3de53226d8a0fec4f500f9cf | [
"MIT"
] | 2 | 2019-07-26T13:23:50.000Z | 2019-08-20T09:14:45.000Z | commands/force.js | tgreaves/cave | a5a670273ec2a52f3de53226d8a0fec4f500f9cf | [
"MIT"
] | 1 | 2020-05-16T04:18:27.000Z | 2020-05-16T04:18:27.000Z | 'use strict';
const Ranvier = require('ranvier');
const B = Ranvier.Broadcast;
const Logger = Ranvier.Logger;
const ArgParser = require('../lib/ArgParser');
module.exports = {
usage: 'force <player> <command>',
command: (state) => (args, player, invokedCommand) => {
if (!args || !args.length) {
return ... | 27.392157 | 127 | 0.603436 |
1e12c86c760fb49a24f24b9b71e2525c777522eb | 3,313 | js | JavaScript | src/fts/Query.js | jestapinski/marian | 6cc5161cc0c582e4c74a58369c7c7ad47e1a067a | [
"Apache-2.0"
] | 17 | 2017-07-03T17:44:14.000Z | 2022-01-21T09:01:08.000Z | src/fts/Query.js | jestapinski/marian | 6cc5161cc0c582e4c74a58369c7c7ad47e1a067a | [
"Apache-2.0"
] | 5 | 2017-08-17T21:40:54.000Z | 2020-12-14T19:17:47.000Z | src/fts/Query.js | jestapinski/marian | 6cc5161cc0c582e4c74a58369c7c7ad47e1a067a | [
"Apache-2.0"
] | 13 | 2017-07-06T22:41:19.000Z | 2021-10-17T10:08:00.000Z | 'use strict'
const {isStopWord, tokenize, stem} = require('./Stemmer.js')
/**
* Return true if there is a configuration of numbers in the tree that
* appear in sequential order.
* @param {Array<Array<number>>} tree The tree
* @param {number|undefined} lastCandidate Recursive state.
* @return {boolean} True if the... | 29.061404 | 115 | 0.57863 |
1e1310916bd972191528bc39a8d9411ac932b4b6 | 44 | js | JavaScript | js/main.js | MackSnider/snider_m_musicMixer | abeb1f41c7e6a9017cd70b1f080a538b7a918e38 | [
"MIT"
] | null | null | null | js/main.js | MackSnider/snider_m_musicMixer | abeb1f41c7e6a9017cd70b1f080a538b7a918e38 | [
"MIT"
] | null | null | null | js/main.js | MackSnider/snider_m_musicMixer | abeb1f41c7e6a9017cd70b1f080a538b7a918e38 | [
"MIT"
] | null | null | null | console.log("javacript is now linked up");
| 14.666667 | 42 | 0.727273 |
1e133987f8c8aad36588c5e4bdee4cbcbc700c87 | 6,963 | js | JavaScript | src/model/research/FluxResearchSubject.js | petertao95/flux | e4a9950ed4d63fa5fb7e9605c6d84925e500c2d5 | [
"Apache-2.0"
] | null | null | null | src/model/research/FluxResearchSubject.js | petertao95/flux | e4a9950ed4d63fa5fb7e9605c6d84925e500c2d5 | [
"Apache-2.0"
] | null | null | null | src/model/research/FluxResearchSubject.js | petertao95/flux | e4a9950ed4d63fa5fb7e9605c6d84925e500c2d5 | [
"Apache-2.0"
] | null | null | null | import ResearchSubject from '../shr/research/ResearchSubject';
import FluxEntry from '../base/FluxEntry';
import Status from '../shr/action/Status';
import Study from '../shr/research/Study';
import TimePeriod from '../shr/core/TimePeriod';
import Title from '../shr/core/Title';
import Details from '../shr/core/Details... | 38.683333 | 198 | 0.661209 |
1e13ad77a9d818c2a8037f9754d75026a73affac | 3,114 | js | JavaScript | tests/external/my.cases.spec.js | bcgov/jag-efiling-api | cb71978737eb587cd3baa6e2cc6cbe42443d40f9 | [
"Apache-2.0"
] | 4 | 2018-03-02T01:41:33.000Z | 2020-04-24T06:47:17.000Z | tests/external/my.cases.spec.js | bcgov/jag-efiling-api | cb71978737eb587cd3baa6e2cc6cbe42443d40f9 | [
"Apache-2.0"
] | 10 | 2020-01-17T01:51:49.000Z | 2022-01-10T21:00:03.000Z | tests/external/my.cases.spec.js | bcgov/jag-efiling-api | cb71978737eb587cd3baa6e2cc6cbe42443d40f9 | [
"Apache-2.0"
] | 3 | 2018-05-09T17:59:44.000Z | 2020-03-11T18:42:40.000Z | var expect = require('chai').expect;
var Server = require('../../app/server/server');
var Database = require('../../app/store/database');
var Migrator = require('../../app/migrations/migrator');
var Truncator = require('../support/truncator');
var { execute } = require('yop-postgresql');
var { request, localhost5000jso... | 39.417722 | 164 | 0.549133 |
1e13b1949b1ca73aea4d2a6ba956252e16aca91b | 1,792 | js | JavaScript | server/models/index.js | CelestialSystem/Coworkee | e3756d2dba76e3194305ee39483b2c767e381f0e | [
"MIT"
] | 130 | 2017-05-11T15:40:37.000Z | 2021-03-11T15:26:24.000Z | server/models/index.js | CelestialSystem/Coworkee | e3756d2dba76e3194305ee39483b2c767e381f0e | [
"MIT"
] | 14 | 2017-05-23T01:32:15.000Z | 2021-10-30T09:18:05.000Z | server/models/index.js | CelestialSystem/Coworkee | e3756d2dba76e3194305ee39483b2c767e381f0e | [
"MIT"
] | 91 | 2017-05-10T21:18:21.000Z | 2022-03-08T07:35:52.000Z | /**
* This file collects all the models from the models directory and associates them if needed.
*/
"use strict";
var fs = require("fs");
var path = require("path");
var Sequelize = require("sequelize");
var Op = Sequelize.Op;
var env = process.env.NODE_ENV || "development";
var config = require(path.join(__dirname... | 24.547945 | 93 | 0.616629 |
1e1404dd76f6184bcd066386f77c6bbe33d7c6cf | 1,307 | js | JavaScript | assets/Server.js | didoykent/lmsrep | db8d4e1ce1baa512a5f72f7337e42b09c78e2566 | [
"MIT"
] | null | null | null | assets/Server.js | didoykent/lmsrep | db8d4e1ce1baa512a5f72f7337e42b09c78e2566 | [
"MIT"
] | 4 | 2021-03-10T21:21:41.000Z | 2022-02-27T06:13:43.000Z | assets/Server.js | didoykent/lmsrep | db8d4e1ce1baa512a5f72f7337e42b09c78e2566 | [
"MIT"
] | null | null | null | var app = require('express');
var server = require('http').Server(app);
var io = require('socket.io')(server);
var redis = require('redis');
const axios = require('axios');
let Users = [];
server.listen(7740);
var redisClient = redis.createClient();
redisClient.subscribe('notif');
redisClient.on('message', fu... | 15.376471 | 61 | 0.630451 |
1e1406aa86a59564c084422cd995c8d971e381a1 | 1,007 | js | JavaScript | node_modules/@antv/f2/src/geom/path.js | wtflove/vue-webpack_demo | 11a108b54a781946d4a450cedc8ccc4352b51478 | [
"ISC"
] | 1 | 2018-08-28T09:30:49.000Z | 2018-08-28T09:30:49.000Z | src/geom/path.js | Qutuijian/F2 | 893886345331f48bb5af30b85685aeba93ba46f9 | [
"MIT"
] | null | null | null | src/geom/path.js | Qutuijian/F2 | 893886345331f48bb5af30b85685aeba93ba46f9 | [
"MIT"
] | null | null | null | const Geom = require('./base');
const ShapeUtil = require('./shape/util');
const Util = require('../util/common');
require('./shape/line');
class Path extends Geom {
getDefaultCfg() {
const cfg = super.getDefaultCfg();
cfg.type = 'path';
cfg.shapeType = 'line';
return cfg;
}
getDrawCfg(obj) {
... | 25.175 | 78 | 0.649454 |