text stringlengths 2 1.04M |
|---|
'use strict';
function Weather(){
this._CHANCE_OF_STORMY = 0.5;
};
Weather.prototype.isStormy = function(){
return (Math.random() > this._CHANCE_OF_STORMY);
}; |
import React, { Component } from "react";
import { delay } from "../utils";
import { deleteSession } from "../actions";
import { bindActionCreators } from "redux";
import { connect } from "react-redux";
import { push } from "react-router-redux";
import injectSheet from "react-jss";
const styles = {
alert: {
colo... |
import React from 'react';
import { Button, Lightbox } from '@momentum-ui/react';
import reactIcon from '@momentum-ui/core/images/momentum/momentum.jpg';
import ciscoWebex from '@momentum-ui/core/images/cisco-webex/lockup/cisco-webex-lockup-blue.png';
export default class LightBoxMultiple extends React.Component {
s... |
/*
PART 1:
First, head over to https://www.color-hex.com/color-palettes/ and find a color palette you like.
Try to experiment with using the various colors of the palette as the background
and the color property of the elements on the site (h3, button, input).
Notice that all there's no space between the left edge... |
const state = {
displayImage: 'src/images/icon/vudesigner_logo.svg',
displayName: 'Maurice Freuwört',
username: 'freuwoert',
online: false,
JWT: null,
}
const getters = {
userInfo: (state)=>{ return state}
}
const actions = {}
const mutations = {}
export default {
state,
getters,
... |
import React, { Fragment } from 'react'
import styled from 'styled-components'
import {
Box,
Container,
Flex,
Icon,
Avatar,
Text,
Badge,
theme
} from '@hackclub/design-system'
import { Slide } from 'react-reveal'
import { Subhline, Lead } from 'components/Content'
const Timeline = styled(Flex).attrs({
... |
"use strict";$(document).ready(function(){$(window).on('load',function(){jQuery("#load").fadeOut();jQuery("#loading").delay(0).fadeOut("slow");$(".navbar a").on("click",function(event){if(!$(event.target).closest(".nav-item.dropdown").length){$(".navbar-collapse").collapse('hide');}});$('.isotope').isotope({itemSelecto... |
define({
"viewer": {
"common": {
"close": "Zatvori",
"focusMainstage": "Prebaci fokus tastature na medije",
"expandImage": "Proširi snimak"
},
"a11y": {
"skipToContent": "Preskoči do narativa",
"headerAria": "Zaglavlje priče",
"panelAria": "Narativ priče",
"mainSt... |
const router = require('express').Router();
let User = require('../models/users.model');
router.route('/').get((req, res) => {
User.find()
.then(users => res.json(users))
.catch (err => res.status(400).json('Error: ' + err));
});
router.route('/add').post((req, res) => {
const username = req
}) |
/**
* 页面入口文件,依赖config.js文件
*/
requirejs(['config'],function (config) {
requirejs(['app/index-index']);
}); |
// ===============================================================================================================================
// © loi9985
//@version=4
study(title="Continous", overlay=true)
// -----------------------------------------------------------------------
minCBodyRatio = input(0.5, title="Min Candle Bo... |
'use strict';
var platformTools = require('./platformTools'),
manifestTools = require('./manifestTools');
function platformsValid(platforms) {
var availablePlatforms = platformTools.listPlatforms();
for (var i = 0; i < platforms.length; i++) {
if (availablePlatforms.indexOf(platforms[i].toLowerCase()) <... |
exports.connect =
function ( dburl )
{
var request = require( "request" );
console.log( "will connecting to couchdb on " + dburl.replace( /:[^:@]*@/, ":<PASSWORD>@" ) );
return {
"post": function ( url, o, fn )
{
request.post(
{
"headers": { "content-type": "application/json" },
"ur... |
/**
* Created by ayudin on 15.02.14.
*/
function loadPage(target, urlToLoad) {
$('#' + target).load(urlToLoad);
}
function replaceTagWithHtml(target, urlToLoad) {
$.get(urlToLoad, function(data) {
$("#"+target).replaceWith(data);
});
}
function getCurrentDate() {
var today = new Date();
... |
module.exports = {
mode: "production",
node: {
__dirname: false,
__filename: false
}
}; |
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 23.2.3.5
description: >
Set.prototype.entries ( )
...
2. Return CreateSetIterator(S, "key+value").
23.2.5.1 CreateSetIterator Abstract Operation
... |
(function ($) {
"use strict";
//===== Prealoder
jQuery(window).on('load', function (event) {
jQuery('#preloader').delay(500).fadeOut(500);
});
jQuery(document).on('ready', function () {
/*---canvas menu activation---*/
jQuery('.binduz-er-news-canvas_open... |
/* eslint-disable indent */
/* eslint-disable linebreak-style */
import { Router } from "express";
import { Connection } from "./db";
const router = new Router();
router.get("/", (_, res, next) => {
Connection.connect((err) => {
if (err) {
return next(err);
}
res.status(200).json({ message: "Hel... |
sap.ui.define(['sap/ui/webc/common/thirdparty/base/asset-registries/Themes', 'sap/ui/webc/common/thirdparty/theme-base/generated/themes/sap_fiori_3/parameters-bundle.css', './sap_fiori_3/parameters-bundle.css'], function (Themes, defaultThemeBase, parametersBundle_css) { 'use strict';
function _interopDefaultLegacy (... |
let mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applica... |
var consoleUtil = {};
(function(consoleUtil){
function moduleCon(stepName) {
console.log("%c模块" + stepName, "background-color: #yellow");
}
consoleUtil.moduleCon = moduleCon;
})(consoleUtil) |
var gulp = require("gulp"),
path = require("path"),
del = require("del"),
gh = require("gulp-helpers");
////////////////////////////////////////////////////////////////////////////////
// default
////////////////////////////////////////////////////////////////////////////////
gulp.task("def... |
// Handle the requests and call corresponding method functions for processing
const gets = require('./dbProcessing/gets');
const posts = require('./dbProcessing/posts');
const del = require('./dbProcessing/deletes');
const update = require('./dbProcessing/puts');
// Query All deudas,intereses
const queryDeudas = gets.... |
import React from "react";
import './App.css';
function App() {
return (
<div className="app">
<h1>hello world</h1>
<p>changing he bracnch</p>
<p>change in master</p>
{/* SideBar */}
{/* Chat component */}
</div>
);
}
export default App; |
Input::
//// [/lib/lib.d.ts]
/// <reference no-default-lib="true"/>
interface Boolean {}
interface Function {}
interface CallableFunction {}
interface NewableFunction {}
interface IArguments {}
interface Number { toExponential: any; }
interface Object {}
interface RegExp {}
interface String { charAt: any; }
interface A... |
var pairs =
{
"get":{"(":1}
,"(":{"\u67E5":1}
,"\u67E5":{"\u627E":1}
,"\u627E":{"\u4E2A":1,"\u7ED3":1}
,"\u4E2A":{"\u6570":1,"\u6253":1,"\u7A97":1}
,"\u6570":{")":1,"\u3002":1,"\u5B57":1,"\u636E":1,"\u503C":1,",":1,"\u51FD":1}
,")":{"\u8FD4":1,"\u65E0":1,",":1}
,"\u8FD4":{"\u56DE":1}
,"\u56DE":{"\u5F53":1,"\u7ED3":1,"\... |
//# sourceMappingURL=accountedit.5a5ca856.js.map |
export function NextStep(step) {
return {
type: 'NEXT_STEP',
payload: step
}
}
export function PreviousStep(step) {
return {
type: 'PREVIOUS_STEP',
payload: step
}
} |
/* eslint-env browser */
/* eslint no-console: 0 */
import '@babel/polyfill';
import {
IndexedPrimitive,
ShaderSource,
ShaderTool,
SpriteGroup,
VODescriptor,
} from '@picimo/core'; // eslint-disable-line
import { WebGlRenderer } from '@picimo/renderer'; // eslint-disable-line
// ---------------------------... |
/**
@module ember
@submodule ember-htmlbars
*/
import Ember from "ember-metal/core"; // Ember.FEATURES, Ember.assert, Ember.Handlebars, Ember.lookup
import { IS_BINDING } from "ember-metal/mixin";
import { appendSimpleBoundView } from "ember-views/views/simple_bound_view";
import Helper from "ember-htmlbars/system/hel... |
deepmacDetailCallback("0040ff000000/24",[{"d":"1998-04-22","t":"add","a":"1315 CHESAPEAKE TERRACE\nSUNNYVALE CA 94089-1100\n\n","c":"UNITED STATES","o":"TELEBIT CORPORATION"},{"d":"2001-10-24","t":"change","a":"1315 CHESAPEAKE TERRACE\nSUNNYVALE CA 94089-1100\n\n","c":"UNITED STATES","o":"TELEBIT CORPORATION"},{"d":"... |
import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Demo from '@/components/Demo'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
name: 'HelloWorld',
component: HelloWorld
},
{
path: '/demo',
name:... |
/*!
* Copyright (c) 2017-present, Okta, Inc. and/or its affiliates. All rights reserved.
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
*
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
* Unless required ... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { FormattedMessage } from '@kbn/i18n/react';
import React, { Component... |
define([
'underscore',
'backbone'
], function(_, Backbone){
var Tasks = Backbone.Collection.extend({
url: 'task',
});
return Tasks;
}); |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.25/esri/copyright.txt for details.
//>>built
define("esri/dijit/metadata/types/iso/gmd/maintenance/MD_MaintenanceFrequencyCode","dojo/_base/declare dojo/_base/lang dojo/has ../../../../base/Descriptor ../../..... |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... |
'use strict'
const { env } = require('process')
module.exports = {
onPreBuild({
netlifyConfig: {
build: { environment },
},
}) {
// eslint-disable-next-line no-param-reassign
environment.TEST_ONE = 'one_environment'
env.TEST_ONE = 'one_env'
// eslint-disable-next-line no-param-reassi... |
/*
* Welcome to your app's main JavaScript file!
*
* We recommend including the built version of this JavaScript file
* (and its CSS file) in your base layout (base.html.twig).
*/
// any CSS you import will output into a single css file (app.css in this case)
import '../css/app.scss';
// Need jQuery? Install it ... |
/**
* marked - a markdown parser
* https://github.com/chjj/marked
*
* @copyright 2011-2013 Christopher Jeffrey. MIT License.
* @providesModule Marked
* @noflow
*/
/* eslint-disable */
'use strict';
var Header = require('Header');
var Prism = require('Prism');
var React = require('React');
var WebPlayer = requ... |
/**
* @author Felix Müller aka syl3r86
*/
import ActorSheet5eNPC from "../../systems/dnd5e/module/actor/sheets/npc.js";
//let Actor5eSheet = CONFIG.Actor.sheetClass;
export class BetterNPCActor5eSheet extends ActorSheet5eNPC {
// ActorSheet5eNPC
get template() {
// adding the #equals and #une... |
/*!
* Audio5js: HTML5 Audio Compatibility Layer
* https://github.com/zohararad/audio5js
* License MIT (c) Zohar Arad 2013
*/
/*!
* Audio5js: HTML5 Audio Compatibility Layer
* https://github.com/zohararad/audio5js
* License MIT (c) Zohar Arad 2013
*/
(function ($win, ns, factory) {
"use strict";
if (typeof ... |
/* eslint-disable camelcase */
import React, { useState } from 'react';
import { useHistory } from 'react-router-dom';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import Loader from 'react-loader-spinner';
import { authCall } from '../utils/apiCalls';
import { authInit, authSuccess, authF... |
import
supportedLanguages,
{ langTagRegex }
from '../../utils/supported-languages';
const toLowerCase = String.prototype.toLowerCase;
export function getLangFromPath(path) {
const maybeLang = toLowerCase.call(path.split('/')[1]);
if (supportedLanguages[maybeLang]) {
return maybeLang;
}
return 'en';
}
... |
/**
* Copyright 2017 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... |
import React from "react";
import Init from '../Components/Init'
export default function() {
return <Init title="welcome" />;
} |
!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var u,i,f,l=0,s=[];l<t.length;l++)i=t[l],o[i]&&s.push(o[i][0]),o[i]=0;for(u in c)Object.prototype.hasOwnPro... |
/**
* ----------------------------------------------------------------------------------------------------
* Seek To Position In Currently Playing Track [Run]
*
* @description - Seek to position in currently playing track using the Spotify API
*
* @author Buildable Technologies Inc.
* @access open
* @lice... |
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @emails react... |
/**
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
'use strict';
var Icon = require('../Icon-1083255b.js');
var React = require... |
var BASE_URL = '';
angular.module('zanguApp', ['zanguLogin', 'zanguRegistration'])
.constant("HTTP", {
HTTP_STATUS_OK: 200, HTTP_STATUS_FOUND: 302, HTTP_STATUS_NOT_FOUND: 404
})
.controller('mainController', ['$scope', '$http', '$compile', '$rootScope', function ($scope, $http, $compile, $rootScope) {
setTimeout... |
Highcharts.chart('container', {
chart: {
type: 'area'
},
title: {
text: 'stacking: normal, connectNulls: true'
},
plotOptions: {
area: {
connectNulls: true,
stacking: 'normal'
}
},
series: [{
type: 'area',
data: [1, 1, ... |
/*!
* Paper.js v*#=*__options.version - The Swiss Army Knife of Vector Graphics Scripting.
* http://paperjs.org/
*
* Copyright (c) 2011 - 2019, Juerg Lehni & Jonathan Puckey
* http://scratchdisk.com/ & https://puckey.studio/
*
* Distributed under the MIT license. See LICENSE file for details.
*
* All rights re... |
import React from 'react';
import { Link } from 'react-router-dom';
import { Divider, Label, Button, Icon, Loader } from 'semantic-ui-react';
import styled from 'styled-components';
import Rating from 'shared_components/Rating';
import * as SmartContractStatus from 'shared_components/SmartContract/Status';
import { med... |
import React from 'react';
import styled from 'styled-components';
import mug from '../assets/images/mug.png';
import purchase from '../assets/icons/purchase.svg';
const Container = styled.div`
width: 180px;
height: 240px;
background-color: #ffffff;
padding: 10px 10px 12px 10px;
box-sizing: border-box;
border-ra... |
ace.define("ace/mode/autohotkey_highlight_rules",[], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var AutoHotKeyHighlightRules = function() {
var autoItKeywords = 'And|ByRef|Case|Const|ContinueCas... |
'use strict';
const sc = require('/state-conductor/state-conductor.sjs');
const test = require('/test/test-helper.xqy');
const assertions = [];
let executionDoc, error, assertion;
//checks a failed state working
executionDoc = xdmp.toJSON({
id: '0405536f-dd84-4ca6-8de8-c57062b2252d',
name: 'wait-state-machine',
... |
export { default as DetailAction } from './DetailAction';
export { default as DetailTrigger } from './DetailTrigger';
export { default as DetailCondition } from './DetailCondition'; |
import path from 'path';
import webpack from 'webpack';
import CopyPlugin from '../src';
import { run, runEmit, runChange } from './helpers/run';
import { readAssets, getCompiler, compile } from './helpers';
const FIXTURES_DIR = path.join(__dirname, 'fixtures');
describe('CopyPlugin', () => {
describe('basic', ... |
import React from 'react';
import { Tag } from 'antd';
import { FormattedMessage } from 'react-intl';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import { getTextByFilterKey } from './rewardsHelper';
import RewardBreadcrumb from './RewardsBreadcrumb/RewardBreadcrumb';
import SortSelecto... |
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['408',"Tlece.Recruitment.Controllers Namespace","topic_000000000000018A.html"],['615',"SystemManagementController Class","topic_000000000000023F.html"],['617',"Methods","topic_000000000000023F_methods--.html"],['644'... |
'use strict';
var path = require('path');
var _ = require('lodash');
/**
* Replace sourceFolder with destFolder in filePath
* if filePath has any sourceFolder as prefix
* choose longest match if there are multiple prefixes that match
* @param {String} filePath File path to be altered
* @param {Object} folde... |
import React, { PureComponent as Component } from 'react'
import { Tabs } from 'antd';
import PropTypes from 'prop-types';
import ProjectMessage from './ProjectMessage/ProjectMessage.js';
import ProjectEnv from './ProjectEnv/index.js';
import ProjectRequest from './ProjectRequest/ProjectRequest';
import ProjectToken fr... |
import React from 'react'
import PropTypes from 'prop-types'
import cx from 'classnames'
export default function NavbarButton({
icon, alt, className, ...props
}) {
const Icon = icon
return (
<button type='button' className={cx('hfui-exchangeinfobar__button', className)} {...props}>
{typeof icon === 'st... |
/**
* 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 agreed to in writing, software
* distributed unde... |
"use strict";
/**
* @license
* Copyright 2017 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... |
import Viewer2D from './viewer2d';
import Vertex from './vertex';
import State from './state';
import Snap from './snap';
import Scene from './scene';
import Ruler from './ruler';
import Line from './line';
import Layer from './layer';
import Item from './item';
import Area from './area';
import Grids from './grids/gri... |
/*! Vera VAF 1.0 license: https://github.com/sparkledb/vera */
// Stuff to do after the frontpage has loaded
$(document).ready(function () {
// Fade out the confirmation e-mail icon
function animateEmailIcon() {
$('#betaIcons').animate(
{
opacity: 0.0,
left: ... |
(function($) {
module("context1");
// Test case : Gitana Context #1
_asyncTest("Gitana Context #1", function()
{
expect(3);
var key = "abc" + new Date().getTime();
var gitana = GitanaTest.authenticateFullOAuth();
gitana.createRepository({
"key": key
... |
class CannonBall {
constructor(x, y) {
var options = {
isStatic: true
};
this.r = 30;
this.body = Bodies.circle(x, y, this.r, options);
this.image = loadImage("./assets/cannonball.png");
this.trajectory = [];
World.add(world, this.body);
}
shoot() {
var newAngle = cannon.an... |
import React, {useState, useEffect } from "react";
import "./LoginCard.css"
// import LoginBtn from "../components/LoginBtn"
export default function LoginCard(props) {
console.log(props.value)
return(
<div className="card shadow login-card" id="login-card">
<h2 className="sign-log-in">Login Form</h2>
<form ... |
define(({
loadingMessage: 'Загрузка ...',
noDataMessage: 'Нет заказов, пока...',
idLabel: 'Id',
statusLabel: 'Статус заказа',
totalLabel: 'Сумма заказа',
productsLabel: 'Перечень товара',
deliveryLabel: 'Доставка',
createdTimestampLabel: 'Создан',
handleSelectedButtonLabel: 'Поставит... |
/**
* @author Maciej Sławik <maciej.slawik@lizardmedia.pl>
*/
define([
'jquery',
], function($) {
'use strict';
console.log('I run on every page');
$('.copyright').css('color', '#fff300');
}); |
(function ($) {
if (typeof dnn == 'undefined') window.dnn = {};
if (typeof dnn.searchSkinObject == 'undefined') {
dnn.searchSkinObject = function (options) {
var settings = {
delayTriggerAutoSearch: 100,
minCharRequiredTriggerAutoSearch: 2,
se... |
function fetchHints()
{
var fetcher = new XMLHttpRequest();
fetcher.addEventListener( "load", parseHints );
fetcher.open( "GET", "api/all_hints.py" );
fetcher.send();
}
function parseHints()
{
if(this.status != 200)
{
throw this;
}
killAllChildren(document.getElementById("hintlist"));
var hints = JSON.parse... |
const { createServer } = require('http')
const callReduce = require('./call-reduce')
const auth = callReduce(
(req, res, next) => {
if ((Date.now() % 2) === 0) {
next(req, res)
} else {
res.statusCode = 404;
res.end("Forbidden")
}
},
(req, res) =>... |
var searchData=
[
['ipsolver_2ecpp',['IPSolver.cpp',['../IPSolver_8cpp.html',1,'']]],
['ipsolver_2ehpp',['IPSolver.hpp',['../IPSolver_8hpp.html',1,'']]]
]; |
export function showDetail(stuff) {
return {
type: 'SHOW_DETAIL',
payload: stuff,
};
}
export function hideDetail(stuff) {
return {
type: 'HIDE_DETAIL',
payload: stuff,
};
} |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'tr', {
button: 'Düz Metin Olarak Yapıştır',
title: 'Düz Metin Olarak Yapıştır'
} ); |
import { all } from 'redux-saga/effects'
import user from './user/sagas'
import clients from './clients/sagas'
export default function* rootSaga() {
yield all([user(), clients()])
} |
//// [test.tsx]
declare module JSX {
interface IntrinsicElements {
[s: string]: any;
}
}
export class AppComponent {
render(createElement) {
return <div />;
}
}
//// [test.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class AppComponent {
render(... |
import logo from './logo.svg';
import './App.css';
import PaginationComp from './pagination';
import Home from './Home';
import {Router, Route} from 'react-router-dom'
import history from "./history";
function App() {
return (
<div className="App">
<Router history={history}>
<Route path='/' exact... |
window.onload = function(){
var module = [
{
Name: 'Swim with rui',
IsFinish: true
},
{
Name: 'Play basketball at ligong universite',
IsFinish: false
},
{
Name: "Go to the library",
IsFinish: false
... |
import { registerVersion, _registerComponent, _getProvider, getApp } from 'https://www.gstatic.com/firebasejs/9.6.6/firebase-app.js';
/**
* @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.
*... |
'use strict';
global.Promise = require('bluebird');
global.requireReload = require('require-reload');
const Server = require('./core/Server');
const server = new Server(); // eslint-disable-line |
/*
author: AbhishekKr
occasional javascript artisen, comments/suggestions encouraged
*/
function toggleBlogContentToList(){
document.location.hash = "homepage";
$DOM("#blogcontent").style.display = "none";
$DOM("#bloglist").style.display = "block";
}
function blogHashFromLink(blog_link){
return blog_lin... |
import * as foo from "./subdir/type_reference.js";
console.log(foo.foo); |
import React, { useState, useEffect } from 'react'
import MenuItem from '@mui/material/MenuItem'
import PersonIcon from '@mui/icons-material/Person'
import {
Menu,
Button,
Dropdown,
Container,
Icon,
Image,
Label,
Item,
} from 'semantic-ui-react'
import { useSubstrate, useSubstrateState } from './subst... |
import axios from 'axios'
import { ORDER_LIST_MY_RESET } from '../constants/orderConstants'
import {
USERS_LIST_FAIL,
USERS_LIST_REQUEST,
USERS_LIST_RESET,
USERS_LIST_SUCCESS,
USER_DELETE_FAIL,
USER_DELETE_REQUEST,
USER_DELETE_SUCCESS,
USER_DETAILS_FAIL,
USER_DETAILS_REQUEST,
USER_DETAILS_RESET,
U... |
// Copyright 2014 Samsung Electronics Co., Ltd.
//
// 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 la... |
var realUser = {
email: 'test@test.com',
firstName: 'Brenden',
lastName: 'Brunnette',
sayHi: function () {
return "Hey there!";
}
};
console.log(realUser.email);
console.log(realUser.firstName);
console.log(realUser.lastName);
console.log(realUser.sayHi());
//# sourceMappingURL=022_objects.j... |
var data = {
"body": "<path d=\"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm4-7h-3V2h-2v2H8V2H6v2H3v18h18V4zm-2 16H5V9h14v11z\" fill=\"currentColor\"/>",
"width": 24,
"height": 24
};
exports.__esModule = true;
exports.default = data; |
if(typeof window == 'object') {
window.Flexstrap = {}
} else {
var Flexstrap = {
Component: require('./base/component'),
NavigationComponent: require('./navigation/component')
}
module.exports = Flexstrap
} |
// Copyright 2021 99cloud
//
// 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 agreed to in writ... |
/* This file is generated by createIcons.js any changes will be lost. */
import createIcon from '../createIcon';
export const ChessPawnIconConfig = {
name: 'ChessPawnIcon',
height: 512,
width: 320,
svgPath: 'M105.1 224H80a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h16v5.49c0 44-4.14 86.6-24 122.51h176c-19.89-35.91-2... |
/*! DataTables 1.10.11
* ©2008-2015 SpryMedia Ltd - datatables.net/license
*/
/**
* @summary DataTables
* @description Paginate, search and order HTML tables
* @version 1.10.11
* @file jquery.dataTables.js
* @author SpryMedia Ltd (www.sprymedia.co.uk)
* @contact www.sprymedia.co.uk/cont... |
module.exports={
gmail_filter:'from:(AmazonPay-balance@amazon.in) subject:("cashback")',
active:true,
required_fields:[''],
body_parsers:[
{
version:'v1',
description:'as of oct 2018',
fields:[
{
name:'currency',
type:'string',
filters:[
{
type:'find_start_position',
... |
const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const UserSchema = new Schema({
username: {
type: String,
trim: true,
required: "Username is Required"
},
password: {
type: String,
trim: true,
required: "Password is Required",
validate: [({ length }) => length >... |
/**
* TelstraProgrammableNetworkAPILib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io )
*/
'use strict';
const BaseModel = require('./BaseModel');
/**
* Creates an instance of Endpointlist
*/
class Endpointlist extends BaseModel {
/**
* @constructor
* @param {O... |
const pug = require('pug');
const parse = require('xml-parser');
const fs = require('fs');
const ics214fromXML = require('./containers/ics_form_214_activity_log').fromXML;
const opn = require('opn');
if (process.argv[2]) {
const xml = fs.readFileSync(process.argv[2], 'utf8');
const locals = ics214fromXML(pars... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.