text
stringlengths
2
1.05M
/* * Copyright (C) 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
'use strict'; var ProbeError = require('./lib/common').ProbeError; var needle = require('needle'); var merge = require('deepmerge'); var pkg = require('./package.json'); var probeStream = require('./stream'); var URL = require('url').URL; var defaultAgent = pkg.name + '/' + pkg.version + ...
'use strict'; var getTag = require('./_getTag'), isObjectLike = require('./isObjectLike'); /** `Object#toString` result references. */ var weakMapTag = '[object WeakMap]'; /** * Checks if `value` is classified as a `WeakMap` object. * * @static * @memberOf _ * @since 4.3.0 * @category Lang * @param {*} va...
const BlockRewardAuRa = artifacts.require('BlockRewardAuRaTokensMock'); const ERC677BridgeTokenRewardable = artifacts.require('ERC677BridgeTokenRewardable'); const AdminUpgradeabilityProxy = artifacts.require('AdminUpgradeabilityProxy'); const RandomAuRa = artifacts.require('RandomAuRaMock'); const ValidatorSetAuRa = a...
Object.assign(pc, function () { var poolVec3 = []; var poolQuat = []; /** * @class * @name pc.XrHitTestSource * @augments pc.EventHandler * @classdesc Represents XR hit test source, which provides access to hit results of real world geometry from AR session. * @description Represe...
import React, { useState, useEffect } from 'react'; import axios from 'axios'; import User from './User'; const URL = 'https://dummyapi.io/data/api/user'; const APP_ID = '607f65448ce9f17db07f0f33'; const Users = () => { const [users, setUsers] = useState([]); const [loading, setLoading] = useState(false); const...
export default function animalReducer(state = 'dog', action){ if(action.type === 'SET_ANIMAL'){ return action.payload } else { return state } }
const command = require('./time'); const { generateMentions } = require('./mockData'); describe('!time', () => { describe('regex', () => { it.each([ ['!time'], [' !time'], ['!time @odin-bot'], ['@odin-bot !time'], ])('correct strings trigger the callback', (string) => { expect(c...
'use strict'; angular.module('applicationApp') .controller('AdminCtrl', function ($scope, $http, Auth, User) { // Use the User $resource to fetch all users $scope.users = User.query(); $scope.delete = function(user) { User.remove({ id: user._id }); angular.forEach($scope.users, function(u, ...
import React from 'react'; import ReactDOM from 'react-dom'; import { HashRouter } from 'react-router-dom'; import CssBaseline from '@material-ui/core/CssBaseline'; import { ThemeProvider } from '@material-ui/core/styles'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; i...
// // TwilioVideo.js // Black // // Created by Martín Fernández on 6/13/17. // // import { Component } from 'react' import PropTypes from 'prop-types' import { NativeModules, NativeEventEmitter, View } from 'react-native' const { TWVideoModule } = NativeModules export default class extends Component { sta...
import Action from '../../ActionType'; import { Filter } from '../../FilterTypes'; import { applyFilter } from '../../utils'; const initialState = { filteredLogs: [], filter: { ...Filter } }; const countryReducer = (state=initialState, action) => { let filter; switch (action.type) { case Actio...
/* eslint-env jest */ export function testReducerChanges(reducer, initialState) { let state = initialState return (action, expectedChange) => { const expectedState = expectedChange(state) expect(reducer(state, action)).toEqual(expectedState) state = expectedState } } export function testReducerSelect...
/*jslint browser:true, devel:true, white:true, vars:true */ /*global $:false, intel:false */ //Scramble Tweak $(function(){ var tweak = $(".tweak"); tweak.shuffleLetters(); }); document.addEventListener("deviceready", function(){ }, false); //Write to the created file function writeFile() { var type = windo...
function hexToRGB(hex, alpha) { var r = parseInt(hex.slice(1, 3), 16), g = parseInt(hex.slice(3, 5), 16), b = parseInt(hex.slice(5, 7), 16); if (alpha) { return "rgba(" + r + ", " + g + ", " + b + ", " + alpha + ")"; ...
const isPortReachable = require("is-port-reachable"); const path = require("path"); const dockerCompose = require("docker-compose"); const { execSync } = require("child_process"); module.exports = async () => { console.time("global-setup"); // ️️️✅ Best Practice: Speed up during development, if already live then ...
// @flow import * as React from "react"; import { shallow } from "enzyme"; import CheckBox from "../index"; const label = "Checkbox"; const onChange = jest.fn(); const value = "option"; const dataTest = "test"; const tabIndex = "-1"; const name = "name"; describe(`Default CheckBox`, () => { const component = shal...
$(function () { 'use strict'; /* ChartJS * ------- * Here we will create a few charts using ChartJS */ //----------------------- //- MONTHLY SALES CHART - //----------------------- // Get context with jQuery - using jQuery's .get() method. var salesChartCanvas = $("#salesChart").get(0).getCon...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * Copyright (c) 2016-present, Ali Najafizadeh * 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 righ...
/* Hielo by TEMPLATED templated.co @templatedco Released for free under the Creative Commons Attribution 3.0 license (templated.co/license) */ var settings = { banner: { // Indicators (= the clickable dots at the bottom). indicators: true, // Transition speed (in ms) // For timing purposes only. It ...
//search controller //importing elastic search client const elasticController = require("./elasticController"); //importing logger const logger = require("../config/dev-logger"); //handles search route using elasticsearch const elasticSearch = async (req, res) => { try { var term; //if query does not exists...
import DOM from "./dom"; import { LitElement, html, customElement, property } from "lit-element"; @customElement("page-loader") export default class PageLoader extends LitElement { @property() name; @property() route; createRenderRoot() { return this; } pageContent = null; render() { return ...
const agent = require('superagent-promise')(require('superagent'), Promise); const statusCode = require('http-status-codes'); const { expect } = require('chai'); describe('First Api Tests', () => { it('Consume GET Service', () => { return agent.get('https://httpbin.org/ip').then((response) => { e...
/** * @license * Copyright (c) 2020 DigiByte Foundation NZ Limited * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * u...
import React from "react" import { graphql } from "gatsby" import { css } from "@emotion/core" import { MDXRenderer } from "gatsby-plugin-mdx" import ReadLink from "../components/read-link" import DefaultLayout from "../components/default-layout" export const query = graphql` query($slug: String!) { mdx(frontmat...
// Results container with weather and restaurants/events components import React from 'react'; import Weather from '../components/Weather/Weather'; import Yelp from '../components/YelpResults/Yelp'; import { Redirect } from 'react-router'; const Results = ( {location} ) => { // If no search term passed, return t...
/*jshint laxbreak:true*/ var Q = require('q'); var fs = require('../util/fs'); var path = require('path'); var mout = require('mout'); var resolvers = require('./resolvers'); var createError = require('../util/createError'); var pluginResolverFactory = require('./resolvers/pluginResolverFactory'); function createInst...
"use strict"; /* this module solves active requests. * it prepares data, session and parameters for pager. */ const conf=require("../conf"); const Path=require("path"); const Tools=require("./Tools"); const SessionPool=require("./SessionPool"); const fs=require("fs"); const Pager=require("./Pager"); const net=req...
/* Base, version 1.0.2 Copyright 2006, Dean Edwards License: http://creativecommons.org/licenses/LGPL/2.1/ */ var Base = function() { if (arguments.length) { if (this == window) { // cast an object to this class Base.prototype.extend.call(arguments[0], arguments.callee.prototype); ...
(function () { 'use strict'; angular.module('ariaNg').factory('ariaNgCommonService', ['$location', '$timeout', 'base64', 'SweetAlert', '$translate', 'ariaNgConstants', function ($location, $timeout, base64, SweetAlert, $translate, ariaNgConstants) { return { generateUniqueId: function () { ...
/** * Copyright (c) 2015-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. * * @provides...
'use strict' /** * adonis-cache * * (c) Hany El Nokaly <hany.elnokaly@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ const TaggableStore = require('./TaggableStore') class NullStore extends TaggableStore { /** * ...
import Vue from 'vue' import axios from 'axios' import store from '../store/index.js' var ax = axios; var axiosx = axios.create({ baseURL: 'http://127.0.0.1:8000/' + ADMIN_API_ROUTE }) Vue.prototype.$axiosx = axiosx; Vue.prototype.$axios = ax; axiosx.interceptors.request.use(function (config) { store.commit('load...
const os = require('os'); const pkg = require('../package.json'); exports.packageIdentifier = () => `${pkg.name.replace('/', ':')}/${pkg.version} ${os.platform()}/${os.release()} node/${process.version.replace('v', '')}`;
/* global Cleave */ document.addEventListener("spree:load", function() { if ($('#new_payment').length) { var cardCodeCleave; var updateCardCodeCleave = function (length) { if (cardCodeCleave) cardCodeCleave.destroy() cardCodeCleave = new Cleave('.cardCode', { numericOnly: true, b...
'use strict'; let canvas, engine, scene, camera; window.addEventListener('DOMContentLoaded', () => { // il tag canvas che visualizza l'animazione canvas = document.getElementById('c'); // la rotella del mouse serve per fare zoom e non per scrollare la pagina canvas.addEventListener('wheel', evt => evt...
// CACHE DOM ELEMENTS var generateBtn = document.querySelector('#generate'); var passwordText = document.querySelector('#password'); // EVENT LISTENERS generateBtn.addEventListener('click', generatePassword); // STORE CHARACTER SETS IN ARRAY FOR EACH TYPE IN GLOBAL SCOPE var allLowChars = 'abcdefghijklmnopqrstuvwxyz'...
var sha1 = { // SHA1 add(x, y) { return((x & 0x7FFFFFFF) + (y & 0x7FFFFFFF)) ^ (x & 0x80000000) ^ (y & 0x80000000); }, SHA1hex(num) { var sHEXChars = "0123456789abcdef"; var str = ""; for(var j = 7; j >= 0; j--) str += sHEXChars.charAt((num >> (j * 4)) & 0x0F)...
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */ CKEDITOR.lang['en']={"editor":"Rich Text Editor","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Press ALT 0 for help","browseServer":"Browse Server","url":"URL...
// Copyright 2015 The Oppia 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 required by ap...
define("maq-metadata-dojo/dojox/grid/TreeGridCreateTool", [ "dojo/_base/declare", "davinci/ve/tools/CreateTool", "davinci/ve/widget", "davinci/commands/CompoundCommand", "davinci/ve/commands/AddCommand", "davinci/ve/commands/MoveCommand", "davinci/ve/commands/ResizeCommand", "davinci/ve/commands/StyleCommand", ...
cmsApp.controller('alterarPostCtrl', ['$scope', '$http', 'Upload', '$timeout', function($scope, $http, Upload, $timeout){ $scope.processandoSalvar = false; //ALTERAR///////////////////////////// $scope.tinymceOptions = tinymceOptions; $scope.mostrarForm = false; $scope.removerImagem = 0; $s...
zipdata({"4730921":[23,"豊田市","高丘新町"],"4730903":[23,"豊田市","西田町"],"4730915":[23,"豊田市","若林東町中外根"],"4730939":[23,"豊田市","堤本町"],"4730905":[23,"豊田市","住吉町"],"4730937":[23,"豊田市","西岡町星ケ丘"],"4738501":[23,"豊田市","高丘新町","天王1"],"4730938":[23,"豊田市","本田町"],"4730918":[23,"豊田市","高美町"],"4730913":[23,"豊田市","竹元町"],"4730912":[23,"豊田市","広田町"]...
/** @format */ /** * External dependencies */ import React from 'react'; export default function ScreenReaderText( { children } ) { return <span className="screen-reader-text">{ children }</span>; }
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{"02t3":function(e,t,n){"use strict";n.r(t);var i=n("ofXK"),a=n("tyNb"),r=n("wd/R"),o=n("PSD3"),s=n.n(o),l=n("fXoL"),d=n("2Rin"),c=n("H+bZ"),p=n("dbUT"),g=n("3Pt+");function m(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"a...
/*===================================================================================*/ /* GLOBAL HELPER FUNCTIONS /*===================================================================================*/ // Get Breakpoint set in main.css (at the end) function getCSSBreakpoint() { return window.getComputedStyle(docum...
const merge = require('webpack-merge') const path = require('path') const webpackBaseConfig = require('./webpack.base.conf.js') const ExtractTextWebpackPlugin = require('extract-text-webpack-plugin') // const CopyWebpackPlugin = require('copy-webpack-plugin') const UglifyJsPlugin = require('uglifyjs-webpack-plugin...
var structframework_1_1utility_1_1base_connection_data = [ [ "baseConnectionData", "structframework_1_1utility_1_1base_connection_data.html#a31f609095ef57c0190a135e5e8f44576", null ], [ "baseConnectionData", "structframework_1_1utility_1_1base_connection_data.html#ab843e706869b77830ac5a5f278518a31", null ], ...
/************************************************************* * * MathJax/localization/vi/MathMenu.js * * Copyright (c) 2009-2019 The MathJax Consortium * * 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...
angular.module("umbraco").controller("UmbracoForms.RenderTypes.FileController", function($scope){ var imageExts = ['jpg','jpeg','png','gif','bmp']; $scope.files = $scope.field.replace('~', '').split(','); $scope.isImage = function(filepath){ return imageExts.indexOf( ...
import React, {Component} from 'react'; import {StyleSheet, View} from 'react-native'; import {TabView, Tab, Icon} from '@ui-kitten/components'; import {KeyboardAwareScrollView} from 'react-native-keyboard-aware-scroll-view'; import LoginForm from '../../components/LoginForm'; import SignupForm from '../../components/S...
import api from '../middleware/api' import appLoading from './app-loading' import appDoneLoading from './app-done-loading' export const GAMES_UPDATED = 'GAMES_UPDATED' export default function fetchGames() { return dispatch => { // We're loading (communicating with the API asynchronously) dispatch(appLoading...
'use strict'; // YOU KNOW WHAT TO DO // /** * each: Designed to loop over a collection, Array or Object, and applies the * action Function to each value in the collection. * * @param {Array or Object} collection: The collection over which to iterate. * @param {Function} action: The Function to be applied to ea...
import React from 'react'; import { Provider, useDispatch } from 'react-redux'; import Router from './routes'; // theme import ThemeConfig from './theme'; import GlobalStyles from './theme/globalStyles'; // components import ScrollToTop from './components/ScrollToTop'; import { BaseOptionChartStyle } from './components...
var utils = require('../../../util/utils'); var logger = require('pomelo-logger-ts').getLogger('forward-log', __filename); /** * Remote service for backend servers. * Receive and handle request message forwarded from frontend server. */ module.exports = function (app) { return new Remote(app); }; var Remote = fun...
(window["webpackJsonprenderer"] = window["webpackJsonprenderer"] || []).push([["icon.logo_google_g-js"],{ /***/ "./node_modules/@elastic/eui/es/components/icon/assets/logo_google_g.js": /*!******************************************************************************!*\ !*** ./node_modules/@elastic/eui/es/components...
var extend = require('util')._extend; var ArgumentError = require('rest-facade').ArgumentError; var RestClient = require('rest-facade').Client; /** * @class * Handles authenticator with passwordless flows, e.g. SMS, Touch ID, etc. * @constructor * @memberOf module:auth * * @param {Object} options ...
const express = require("express"), path = require("path"), app = express(), port = process.env.PORT || 3000; app.get('/', (req, res) => { let userInfo = req.header("user-agent"); res.send(`UserInfo: ${userInfo}`); }); app.get('/receipts', (req, res) => { let file = path.join(__dirname, "asset/receipt.pdf...
const { dialog } = require('electron').remote const { BrowserWindow } = require("electron"); const { app } = require("electron"); const { remote } = require('electron') const { shell } = require('electron') const { clipboard } = require('electron') const { Menu, MenuItem } = remote win = remote.getCurrentWindow() const...
export { default as FormatTime } from './format-time'; export { default as FormatDate } from './format-date'; export { default as FormatNumber } from './format-number'; export { default as FormatMessage } from './format-message'; export { default as FormatRelative } from './format-relative';
const path = require('path'); const webpack = require('webpack'); const md5 = require('md5'); const fs = require('fs'); const reactVersion = require('react/package.json').version; const fileHashMemo = {}; const getFileHash = (filepath) => { if (fileHashMemo[filepath]) { return fileHashMemo[filepath]; } let ...
const express = require("express"); const mongoose = require("mongoose"); const PORT = process.env.PORT || 8080; const app = express(); app.use(express.urlencoded({ extended: true })); app.use(express.json()); app.use(express.static("public")); mongoose.connect(process.env.MONGODB_URI || "mongodb://localhost/worko...
"use strict"; function contains(a, e) { for (var i = 0; i < a.length; i++) { if (a[i] === e) { return true; } } return false; } function append(a, e) { var d = remove(a, e); d.push(e); return d; } function remove(a, e) { var d = []; for (var i = 0; i < a.length; i++) { if (a[i] !...
/** * @author Mikael Emtinger */ PrairieCameraFreeExplore = function( shared ) { // setttings var CAMERA_Y = 25; var CAMERA_FORWARD_SPEED = 2; var CAMERA_VERTICAL_FACTOR = 20; var CAMERA_VERTICAL_LIMIT = 200; var CAMERA_HORIZONTAL_FACTOR = 15; var CAMERA_INERTIA = 0.02; var CAMERA_ROLL_FACTOR = 0.4; var...
const path = require('path'); module.exports = { entry: { main: './_scripts/main.js', home: './_scripts/home.js', post: './_scripts/post.js', 404: './_scripts/404.js', }, output: { filename: '[name].js', path: path.resolve(__dirname, 'assets/js'), }, module: { rules: [ ...
module.exports = function (color) { let ret if (color) { if (Array.isArray(color)) { ret = color.slice() if (ret.length > 4) { ret = ret.slice(0, 4) } else if (ret.length !== 4) { while (ret.length < 4) { ret.push(1) } } } } else { ret = [1, 1...
module.exports={A:{A:{"2":"J D E F oB","33":"A B"},B:{"33":"C K L G M N O","132":"P Q R U V W X Y","260":"Z a b c d e f S H g"},C:{"1":"6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB gB MB hB NB OB T PB QB RB SB TB UB VB WB XB YB ZB aB bB cB P Q R iB U V W X Y Z a b c d e f S H g","2":"pB fB I h qB rB","33":"0 1 2 3 4 5 J...
import computed from "ember-addons/ember-computed-decorators"; const { isEmpty, makeArray } = Ember; export default Ember.Component.extend({ layoutName: "select-kit/templates/components/select-kit/select-kit-header", classNames: ["select-kit-header"], classNameBindings: ["isFocused", "isNone"], attributeBindin...
/** * コメント内の画像を縮小表示する処理 */ const limitImageSize = document.getElementById('limitImageSize'); limitImageSize.addEventListener('change', function () { const state = this.checked; sendState(state); chrome.storage.local.set({ limitImageSize: state }, () => { }); }); function sendState(state) { chrome.tabs.query({ ...
chrome.runtime.sendMessage(document.URL, (response) => { // 3. Got an asynchronous response with the data from the background console.log('received user data', response); if (response == 1) { alert('It is a Legitimate Website!'); } else { alert('Beware!!! It is a Phishing Website!'); ...
// COPYRIGHT © 201 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute ...
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/alpinejs/dist/module.esm.js": /*!**************************************************!*\ !*** ./node_modules/alpinejs/dist/module.esm.js ***! \**************************************************/ /***/ ((__unused_webpac...
PayPal.Donation.Button({ env:'production', hosted_button_id:'RN5Y7F6P6AZCU', image: { src:'https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif', alt:'Donate with PayPal button', title:'PayPal - The safer, easier way to pay online!', } }).render('#donate-button');
import { inject as service } from "@ember/service"; import Component from "@ember/component"; import config from "../config/environment"; import { action } from "@ember/object"; export default class NavbarComponent extends Component { @service intl; languages = config.languages; fallbackLanguage = config.fallba...
'use strict'; var cybersourceRestApi = require('cybersource-rest-client'); var path = require('path'); var filePath = path.resolve('Data/Configuration.js'); var configuration = require(filePath); var capturePayment = require('../Capture/capture-payment'); function void_capture(callback) { try { var configObject = n...
(window.webpackJsonp=window.webpackJsonp||[]).push([[109],{248:function(e,r,t){"use strict";t.r(r),t.d(r,"frontMatter",(function(){return i})),t.d(r,"metadata",(function(){return c})),t.d(r,"rightToc",(function(){return s})),t.d(r,"default",(function(){return u}));var n=t(2),o=t(9),a=(t(0),t(332)),i={id:"comparison",ti...
let playCount = 0; socket.on('chatkey', (word) => { if (!isGameEnabled) { return; } if (chatFirstKey) { chatFirstKey = false; // start chat timer chatStartTime = Date.now(); } const chatWordsElement = document.getElementById('chat-words'); console.log(word); if (word === chatWords[0]) {...
var expect = require("chai").expect; module.exports = function (helpers) { var component = helpers.mount(require.resolve("./index"), { colors: ["red", "green", "blue"] }); var liEls = component.el.querySelectorAll("li"); helpers.triggerMouseEvent(liEls[0], "mouseover"); expect(component.color).to.equal...
import { createGlobalStyle } from "styled-components" const GlobalStyle = createGlobalStyle` h1 { color: #9963BA; } ` export default GlobalStyle
/* * Copyright (c) 2014-2021 Bjoern Kimminich. * SPDX-License-Identifier: MIT */ const frisby = require('frisby') const Joi = frisby.Joi const insecurity = require('../../lib/insecurity') const API_URL = 'http://localhost:3000/api' const authHeader = { Authorization: 'Bearer ' + insecurity.authorize(), 'content-t...
/** * @author Ed Spencer * * Readers are used to interpret data to be loaded into a {@link Ext.data.Model Model} instance or a {@link * Ext.data.Store Store} - often in response to an AJAX request. In general there is usually no need to create * a Reader instance directly, since a Reader is almost always used toge...
/* eslint-disable camelcase, key-spacing, no-multi-spaces, array-bracket-spacing */ const ffi = require('ffi-napi'); const ref = require('ref'); const dlfcn = new ffi.Library(null, { dlopen: ['pointer', ['string', 'int']] }); const libobjc = new ffi.Library('libobjc', { // Selectors sel_getUid : ['pointer', ['...
let KidsProductData=[ {brand:"Gap",img:"./images/img1.jpg",price:100,detail:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Iusto, sequi.",size:["L"],Extra:[]}, {brand:"Gap",img:"./images/img2.jpg",price:100,detail:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Iusto, sequi.",size:["L"],Ext...
export function jfFileDrop() { return { scope: { jfFileUploader: '=', jfFileDisabled: '=ngDisabled', addCallback: '&jfAddingFileCallback' }, restrict: 'E', templateUrl: 'directives/jf_file_drop/jf_file_drop.html', link: ($scope) => { ...
/* istanbul instrument in package npmdoc_bearcat */ /*jslint bitwise: true, browser: true, maxerr: 8, maxlen: 96, node: true, nomen: true, regexp: true, stupid: true */ (function () { 'use strict'; var local; // run shared js-env code - init-before (function () { ...
export const consumerKey = '9cfdd65a4b1003cceff8e6ca5a416c18eddba0f635d567f6f535fa6a6f75515c'; export const consumerSecret = '49da65cd2ac206974395b84021076900532fef8555295f5c96bc90dd2f66964a';
/* Flot Dependency: jquery.colorhelpers.js * Plugin for jQuery for working with colors. * Version 1.1. * Inspiration from jQuery color animation plugin by John Resig. * Released under the MIT license by Ole Laursen, October 2009. */ /* Examples: * * $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toS...
app.controller("BookDetailCtrl", function ($scope, $http, httpService, $stateParams, $ionicLoading, $ionicPopup, $ionicPlatform, $cordovaClipboard, $cordovaToast, $timeout, $rootScope) { // loading spinner in the beginning $scope.isLoading = true; $scope.isTimeout = false; $ionicPlatform.ready(fun...
deepmacDetailCallback("cccc81000000/24",[{"d":"2012-05-18","t":"add","a":"D1,Huawei Industrial Base,Bantian,Longgang,Shenzhen\nShenZhen GuangDong 518129\n\n","c":"CHINA","o":"HUAWEI TECHNOLOGIES CO.,LTD"},{"d":"2013-03-27","t":"change","a":"D1-4,Huawei Industrial Base,Bantian,Longgang\nShenZhen GuangDong 518129\n\n","c...
/** * To do: dedupe with nlz-build */ var program = require('commander') program._name = 'nlz manifest' program .usage('[options] [entrypoints...]') .option('-M, --no-min', 'do not calculate minified file sizes') program.parse(process.argv) var Options = require('normalize-rc') var co = require('co') var op...
const fs = require('fs') const prettier = require('prettier') const pkg = require('../package.json') function read(filename) { return fs.readFileSync(`${__dirname}/${filename}`, { encoding: 'utf8' }) } function write(filename, data) { return fs.writeFileSync(`${__dirname}/${filename}`, data) } // Start with the REA...
import React, { PropTypes } from 'react'; class TitleSeparatorVert extends React.Component { constructor(props) { super(props) this.state = props; } render() { return ( <div className="titleSeparatorVert"> <div > {this.state.text} </div> ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.SMALL_IMAGE = exports.copyCSSStyles = exports.distance = exports.contains = void 0; var contains = function contains(bit, value) { return (bit & value) !== 0; }; exports.contains = contains; var distance = function distance(a, ...
var userInput; var userName; userInput = 5; userInput = 'hello'; userName = 'liminjun'; if (typeof userInput === 'string') { userName = userInput; } function generateError(message, code) { throw { messsage: message, errorCode: code }; } generateError('An error occurred!', 500);
const log4js = require('log4js'); const logger = log4js.getLogger('api'); logger.level = 'DEBUG'; module.exports = logger;
var searchData= [ ['simpleopregentry',['SimpleOpRegEntry',['../classmxnet_1_1op_1_1SimpleOpRegEntry.html',1,'mxnet::op']]], ['simpleopregistry',['SimpleOpRegistry',['../classmxnet_1_1op_1_1SimpleOpRegistry.html',1,'mxnet::op']]], ['storage',['Storage',['../classmxnet_1_1Storage.html',1,'mxnet']]] ];
Ext.define('KitchenSink.view.drag.FileController', { extend: 'Ext.app.ViewController', alias: 'controller.drag-file', requires: ['Ext.drag.Target'], afterRender: function(view) { var body = view.body; if (window.File && window.FileList && window.FileReader) { this.target =...
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'horizontalrule', 'ca', { toolbar: 'Insereix línia horitzontal' } );
module.exports = { presets: [ [ '@babel/preset-env', { modules: false } ], '@babel/preset-typescript' ], env: { test: { presets: [ [ '@babel/preset-env', { targets: { node: 'current' } } ...
// .po file like language pack plupload.addI18n({ 'Select files' : 'Seleziona i files', 'Add files to the upload queue and click the start button.' : 'Aggiungi i file alla coda di caricamento e clicca il pulsante di avvio.', 'Filename' : 'Nome file', 'Status' : 'Stato', 'Size' : 'Dimensione', 'Add files' : 'Aggiu...