code
stringlengths
2
1.05M
// SubkitJS - 1.0.12 // https://github.com/subkit // Copyright 2012 - 2014 http://subkit.io // MIT License (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_...
(function($){ if(navigator.geolocation){return;} var domWrite = function(){ setTimeout(function(){ throw('document.write is overwritten by geolocation shim. This method is incompatible with this plugin'); }, 1); }, id = 0 ; var geoOpts = webshims.cfg.geolocation || {}; navigator.geolocation = (functi...
//// Copyright (c) Microsoft Corporation. All rights reserved (function () { "use strict"; /// <summary> /// The purpose of this class is to demonstrate what to do to a SerialDevice when a specific app event /// is raised (app suspension and resume) or when the device is disconnected. In addition to ...
var util = require('util'), express = require('express'), expressValidator = require('../../index'), app = express.createServer(); app.use(express.bodyParser()); app.use(expressValidator); app.post('/:urlparam', function(req, res) { req.assert('postparam', 'Invalid postparam').notEmpty().isInt(); req...
/** @license React vundefined * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110...
timing_test(function() { at(0.0 * 1000, function() { assert_styles( '.anim', [{'backgroundColor':'rgb(240, 248, 255)'}, {'backgroundColor':'rgb(255, 127, 80)'}, {'backgroundColor':'rgb(139, 0, 0)'}, {'backgroundColor':'rgb(220, 220, 220)'}, {'backgroundColor':'rgb(124, 252,...
require('../../../modules/es6.string.sub'); module.exports = require('../../../modules/_entry-virtual')('String').sub;
module.exports = function (grunt) { grunt.registerTask('component', function () { var config = JSON.parse(grunt.file.read('component.json')); config.files = grunt.file.expand('locale/*.js'); config.files.unshift('moment.js'); grunt.file.write('component.json', JSON.stringify(config...
// ramda.js 0.0.1 // https://github.com/CrossEye/ramda // (c) 2013-2014 Scott Sauyet and Michael Hurley // Ramda may be freely distributed under the MIT license. // Ramda // ----- // A practical functional library for Javascript programmers. Ramda is a collection of tools to make it easier to // use J...
angular.module('tooltipDemo1', ['ngMaterial']) .controller('AppCtrl', function($scope) { $scope.demo = {}; });
/** * Projects each element of an observable sequence into zero or more windows which are produced based on timing information. * @param {Number} timeSpan Length of each window (specified as an integer denoting milliseconds). * @param {Mixed} [timeShiftOrScheduler] Interval between creation of consecutive ...
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.2 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2015-05-11 */ /** * Compiled inline version. (Library ...
var x = /[a-z]/i
var test = require("tap").test var tokens = require("..") test("highlights-tokens", function (t) { t.ok(Array.isArray(tokens)) tokens.forEach(function(token){ t.ok(typeof token === "string") t.ok(token.length > 0) }) t.ok(tokens.length > 50) t.equal(tokens[0], "actionpack") t.end() })
/** * @jsx React.DOM */ var React = require('react'); var classNames = require('classnames'); /** * Encapsulates the rendering of an option that has been "selected" in a * TypeaheadTokenizer */ var Token = React.createClass({displayName: "Token", propTypes: { name: React.PropTypes.string, isPermanent: ...
import React from 'react' import PropTypes from 'prop-types' import RequestPane from './request-pane' import { connect } from 'react-redux' import { List, AutoSizer } from 'react-virtualized' import ChipInput from 'material-ui-chip-input' import { updateFilter } from '../../actions' /* eslint-disable react/jsx-indent ...
import React from 'react'; import { Button, Image, AppRegistry, StyleSheet, Text, View, Platform, StatusBar } from 'react-native'; import PropTypes from 'prop-types'; import { MemoryRouter, Route, Redirect } from 'react-router-native'; import UserService from './services/user-service'; import Logo fro...
export const counter = `var i = 23; function click() { i++; } function view() { return (<div> <h1>Demo</h1> <p>Count: {i}</p> <button onclick={click}>Click me</button> </div>); }`; export const flappy = `var bgStep = 0; // background scroll var y = 100; // bird altitude var vy = -10; // bird vertic...
var config = require('config') , amqp = require('./lib/amqp') , logger = require('winston') , express = require('express') , app = express(); logger.level = config.logging.level; app.use(require('body-parser').json()); // dummy route to verify app is up app.get('/', function(req,res) { res.send({msg: 'IT\'...
if (module.parent) { module.exports = require('./lib/jsdoc-to-json-schema.js'); } else { var program = require('commander'); var pjson = require('./package.json'); program.version(pjson.version) .option('-i, --input <string>', 'path to input file or folder') .option('-o, --output ...
// All of the converters. They take 1 argument and return data in the Flashcardz format const converters = { 'tab-newline': require('./tab-newline.js'), 'tab/newline': require('./tab-newline.js'), objecty: require('./objecty.js'), nice: require('./nice.js'), single: require('./single.js') } module.exports = ...
import { TextToggle } from "buttons"; import { render } from "test-utils.js"; import user from "@testing-library/user-event"; import { screen } from "@testing-library/react"; const testLeftText = "test-left-text"; const testRightText = "test-right-text"; const mockToggleAction = jest.fn(() => {}); const testClassName ...
"use strict" import React from "react" export default class StatusMessage extends React.Component { render() { if (!this.props.message) { return null } return <div>{ this.props.message }</div> } } StatusMessage.propTypes = { "message": React.PropTypes.string }
'use strict'; var gulp = require('gulp'); var source = require('vinyl-source-stream'); var emberate = require('emberate'); gulp.task('emberate', function () { return emberate('./client') .pipe(source('.index.js')) .pipe(gulp.dest('./client')); });
module.exports = Test_ResourceWrapper.wrap('debuffs');
const { test } = require('tap') const { serve, stExpect } = require('./common') test('Basic cli operation', (t) => { serve([], (req) => { req('/st.js', (er, res, body) => { t.error(er) && t.equal(res.statusCode, 200) && t.equal(body.toString(), stExpect) }) }, (er, stdout, stderr) => { ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("val...
import _groupBy from 'lodash-es/groupBy'; import _filter from 'lodash-es/filter'; import _flatten from 'lodash-es/flatten'; import _forOwn from 'lodash-es/forOwn'; import _map from 'lodash-es/map'; import { range as d3_range } from 'd3-array'; import { svgOneWaySegments, svgPath, svgRelationMemberTags, ...
export { default } from '../middleware/duration'
version https://git-lfs.github.com/spec/v1 oid sha256:0520eb1197b034a24754dfb6081aeab53c1bd124d83c14353c5379d1a1c44cf3 size 493434
const position = [ { "id":1, "position":"总裁", "five":0 }, { "id":2, "position":"总经理", "five":0 }, { "id":3, "position":"部门经理", "five":0 }, { "id":4, "position":"法务人员", "five":0 }, { "id":5, "position":"纪检人员", "five":0 }, { "id":6, "position":"质检人员", "five":0 }, { "id":7, "position":"监管人员", "five":0 }, { "id":8, "positi...
/** * 开发版本的文件导入 */ (function (){ var paths = [ 'editor.js', 'core/browser.js', 'core/utils.js', 'core/EventBase.js', 'core/dtd.js', 'core/domUtils.js', 'core/Range.js', 'core/Selection.js', 'core/Editor.js...
function SandDune(x,y,holeNumber) { this.holeNumber = holeNumber; this.x = x; this.y = y; this.width = 50; this.height = 50; } SandDune.prototype = { draw: function(ctx) { ctx.rect(this.x,this.y,this.width,this.height); } }; module.exports = SandDune;
var gulp = require("gulp"); var usemin = require("gulp-usemin"); var uglify = require("gulp-uglify"); var minifyCss = require("gulp-minify-css"); var connect = require("gulp-connect"); gulp.task("default", ["copyfonts", "copyacethemes", "minify", "watch", "connect"]); gulp.task("minify", function() { gulp.src("./...
(function() { 'use strict'; angular.module('civic.services') .factory('VariantsResource', VariantsResource) .factory('Variants', VariantsService); // @ngInject function VariantsResource($resource, $cacheFactory) { var cache = $cacheFactory.get('$http'); var cacheInterceptor = function(response...
var bson = null; try { // Load the precompiled win32 binary if(process.platform == "win32" && process.arch == "x64") { bson = require('./win32/x64/bson'); } else if(process.platform == "win32" && process.arch == "ia32") { bson = require('./win32/ia32/bson'); } else { bson = require('bson'); } } catc...
'use strict'; import { driver, BASE_URL } from './helper'; describe('test/d3-tree.test.js', () => { describe('page func testing', () => { before(() => { return driver .initWindow({ width: 1280, height: 800, deviceScaleFactor: 2 }); }); afterEach...
'use strict'; var counter = 0; var nameAnswerPairs = []; // Storing respective field and answer // Generate when document is ready jQuery(document).ready(function($) { generateHTML(); $.getScript("https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.1/gist-embed.min.js", function(){ }); }); function gene...
'use strict'; import React, { StyleSheet } from 'react-native'; var style = StyleSheet.create({ container: { backgroundColor: '#fff', flex: 1, justifyContent: "flex-start", alignItems: 'stretch', }, // ListItem list: { backgroundColor: '#fff', borderBot...
import EmberObject from '@ember/object'; import { camelize } from '@ember/string'; import UrlTemplatesMixin from 'ember-data-url-templates/mixins/url-templates'; import { module, test } from 'qunit'; module('UrlTemplatesMixin'); const Adapter = EmberObject.extend({ pathForType(type) { return camelize(type) + 's...
import React from 'react' import PropTypes from 'prop-types' import styles from './styles.module.scss' export default function InputView({ children, error, inputProps, width }) { return ( <div className={styles.wrapper} style={{ width }}> <div className={styles.container}> <label htmlFor={inputProp...
/* eslint class-methods-use-this: ["error", { "exceptMethods": ["scraper"] }] */ import cheerio from 'cheerio'; import Bank from './Bank'; import { banksNames } from './banks_names'; export default class ABB extends Bank { constructor() { const url = 'http://www.albaraka-bank.com.eg/banking-services/exchange-...
import styled from '@xstyled/styled-components' export const Layout = styled.div` min-height: 100%; display: flex; flex-direction: column; ` export const LayoutHeader = styled.header` flex: 0 0 auto; ` export const LayoutMain = styled.main` flex: 1 1 auto; ` export const LayoutFooter = styled.footer` fl...
import commonjs from "rollup-plugin-commonjs"; import resolve from "rollup-plugin-node-resolve"; import { uglify } from "rollup-plugin-uglify"; import filesize from "rollup-plugin-filesize"; const isProd = process.env.NODE_ENV === "production"; const file = `build/scrollama${isProd ? ".min" : ""}.js`; const plugins ...
/* * * Wijmo Library 5.20163.254 * http://wijmo.com/ * * Copyright(c) GrapeCity, Inc. All rights reserved. * * Licensed under the Wijmo Commercial License. * sales@wijmo.com * http://wijmo.com/products/wijmo-5/license/ * */ System.register(['wijmo/wijmo.viewer', '@angular/c...
describe('Rally.example.test.Calculator', function() { it('should have an initial value of 0', function() { var calculator = Ext.create('Rally.example.test.Calculator'); expect(calculator.getValue()).toBe(0); }); it('should be able to be instantiated with an initial value', function() { var calculat...
// DO NOT UNDERSTAND THIS: document.addEventListener('DOMContentLoaded', function() { document.addEventListener('keyup',run,false); }); function run(e) { var car1 = document.getElementById('p1'); // adds p1 car as "player1" var car2 = document.getElementById('p2'); // adds p2 car as "player2" if(e.keyCode ==...
import * as R from 'ramda' import { TRACK_WITH_PROPS } from 'Coopcon/data/segment/types' import { getProduct } from 'Coopcon/data/product/selectors' import { getCurrentOrderId } from './selectors' import { ADD_PRODUCT_TO_ORDER, ADD_TO_PRODUCT_QUANTITY, SUBTRACT_TO_PRODUCT_QUANTITY, TOGGLE_ORDER, TOGGLE_PAID_ORDER_S...
const chai = require('chai'); const chaiXml = require('chai-xml'); const chaiDatetime = require('chai-datetime'); const dirtyChai = require('dirty-chai'); global.verquire = require('../utils/verquire'); global.expect = chai.expect; chai.use(chaiXml); chai.use(chaiDatetime); chai.use(dirtyChai);
var compileShader = require('./lib/compile-shader') var linkShaders = require('./lib/link-program') var extract = require('gl-shader-extract') var reflect = require('glsl-extract-reflect') var getter = require('dprop') var indexOfName = require('indexof-property')('name') var defaultVertex = 'attribute vec4 position; ...
export { EventContent } from './EventContent'; export { MessageContent } from './MessageContent'; export { MessageFile } from './MessageFile'; export { MessageMeta } from './MessageMeta'; export { MessageStatus } from './MessageStatus'; export { Meta } from './Meta';
var counter = require("./count"); console.log(counter(['shaun', 'crystal', 'ryu']));
console.log('testing put, peek_ready, delete'); var assert = require('assert'); var helper = require('./helper'); helper.bind(function(conn, data) { if(String(data).indexOf('put') > -1) { conn.write("INSERTED 10\r\n"); } if(String(data) == 'peek-ready\r\n') { conn.write("FOUND 10 7\r\ntest\r\n"); } if(Stri...
/** * Switchjob component to wrap all switchjob specified stuff together. This component is divided to following logical components: * * Controllers * Models * * All of these are wrapped to 'frontend.automation.switchjob' angular module. */ (function() { 'use strict'; // Define frontend.automation.switchj...
//Random Quote Generator var quotes = [ { quote: "The only way to learn a new programming language is by writing programs in it.", author: "Dennis Ritchie", number:'1' }, { quote: "Testing leads to failure, and failure leads to understanding.", author: "Burt Rutan", number:'2' ...
version https://git-lfs.github.com/spec/v1 oid sha256:5abca6472d9b1d42f236fc594698925ab437b8a19c06e80303e76861390b3450 size 49243
module.exports = { test: /\.(jpe?g|png|gif|svg)$/i, loaders: [ 'file-loader?hash=sha512&digest=hex&name=[hash].[ext]', { loader: 'image-webpack-loader', query: { mozjpeg: { progressive: true }, gifsicle: { interlaced: false }, optipng: { optimizationLe...
module.exports = { adjudicators: require('./adjudicators'), adjudicatorScores: require('./adjudicatorScores'), adjudicatorTests: require('./adjudicatorTests'), adjudicatorTestScores: require('./adjudicatorTestScores'), administrators: require('./administrators'), ballots: require('./ballots'), breakBallot...
import { GET_LOCATION, TIME_STAMP } from '../actions/index'; export default function(state = [], action) { switch(action.type) { case GET_LOCATION: return { located: action.payload }; case TIME_STAMP: return { timestamp: action.payload } } return state; }
/** * @flow */ import React, { PropTypes } from 'react'; import { View, StyleSheet, } from 'react-native'; import storeShape from 'react-redux/lib/utils/storeShape'; import Actions from './ExNavigationActions'; import { createBackButtonManager } from './ExNavigationBackButtonManager'; import ExNavigationContex...
//Pause var Pause = function(game){ this.game = game; this.imageMenu = 'assets/images/menu.png'; this.menu; }; Pause.prototype = { preload : function(){ this.game.load.image('menu',this.imageMenu); }, create : function (){ game.input.onDown.add(this.resumeGame, this); }, update : function (){ if(thi...
$('.alert-success').hide(); $('.alert-danger').hide(); // Switch Btn var value = $('#Active').val(), $switch = $('#switch'); $switch.prop('checked', value == 1 ? true : false); $switch.bootstrapSwitch(); $switch.on('switch-change', function(e, data) { var value = data.value; $('#Active').val(value ? 1 : 0); ...
'use strict'; var fetchUrl = require('fetch').fetchUrl; var packageInfo = require('../package.json'); var httpStatusCodes = require('./http.json'); var urllib = require('url'); var mime = require('mime'); // Expose to the world module.exports.resolve = resolve; module.exports.removeParams = removeParams; /** * Reso...
var express = require('express'), router = express.Router(), Pcinfo = require('../models/pcinfo.js'), Recycle = require('../models/recycle.js'), Pclog = require('../models/pclog.js'); const objSort = {pc:"ComputerName",pcd:"-ComputerName", name:"displayName",named:"-displayName", ...
// React & Redux import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; // Actions import * as AppActions from '../../actions/app-actions'; import * as MainActions from '../../actions/main-actions'; export default function requireAuthenti...
assertEquals(BigInteger('-1').isNegative(), true); assertEquals(BigInteger('-10').isNegative(), true); assertEquals(BigInteger('-10382920172764259631161291566832110498728571665273468869392943465294841471140482060286063576379366322132921666926978663170724525373317846').isNegative(), true); assertEquals(BigInteger('-11')...
describe('extras/Rope', function () { 'use strict'; var Rope = PIXI.Rope; var Texture = PIXI.Texture; var Point = PIXI.Point; it('Module exists', function () { expect(Rope).to.be.a('function'); }); it('Confirm new instance', function () { var texture = Texture.fromImage('/...
angular.module('myApp', ['ngRoute', 'azureSearch', 'templates', 'homesCtrl', 'indexCtrl']) /** * Configuration */ .config(function ($routeProvider) { $routeProvider.otherwise({ redirectTo: '/' }); });
/** * Copyright (c) 2014 brian@bevey.org * * 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 use, copy, modify, merge, pu...
var account_app = account_app || {}; (function(){ var Action_btn = account_app.Action_btn = React.createClass({displayName: "Action_btn", handleClick:function(){ this.props.perform_action(); }, render:function(){ return (React.createElement("button", {className: "btn...
var ngSliderComponents; !function (t) { var e = function () { function t() { } return t }(), n = [function () { return {restrict: "AE", replace: !0, scope: {}, link: e, template: "<h1>It works!</h1>"} }]; angular.module("ngSlider").directive("ngRanger", n) }(ngSliderComp...
// Generated by CoffeeScript 1.7.1 ss.event.on('newMessage', function(message) { $(render('app-message-content', { time: timestamp(), message: message })).hide().appendTo('#app-chat-content').slideDown(); }); $('#chat-sample').on('submit', function() { exports.send($('#app-message').val(), function(succe...
/* UNDER REFLEXION ! */ EPSILON = '&epsilon;' var ParserLL =function( aTokens, ENGINE ){ aTokens.push( ENGINE.END ) , oStart = ParserLL.Node( ENGINE.START ) , aStack = [ ENGINE.END, ENGINE.START ] , aNodesStack = [ {symbol:ENGINE.END}, oStart ] , i=0 , X , Token , oParent , nInfinitLoop = 0 do{ X=aStack....
/** * Represents a series of frames that can be rendered as an animation. * @name Animation * @constructor Animation */ const AnimFrame = require('./AnimFrame'); class Animation { constructor(options = {}){ /** * The index of the current frame being used to render this Animation * @type {Number}...
import { selectors } from '../../../lib' const TodosSelectors = selectors({ baseSelector: state => state.todos }) export default TodosSelectors
/** * Copyright 2013-2014 Facebook, 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 applicable law or agree...
version https://git-lfs.github.com/spec/v1 oid sha256:2bda00398dfd0df9e1951aefc59569fc38a5eb9d6bf007dc6d9a12ad880537b0 size 2223
/*global define: false */ /* uses ES5 Array fns */ var whenjs = require('when'); function arrayify(thing) { return Array.isArray(thing) ? thing : [thing]; } function any(arr) { return arr && arr.length > 0; } /** * Aggregates an array of promises into one promise which is resolved * when every constituent promis...
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'basicstyles', 'hu', { bold: 'Félkövér', italic: 'Dőlt', strike: 'Áthúzott', subscript: 'Alsó index', superscript: '...
var instep = 1 var outstep = instep + 1 var infile = './bower-prep' + instep + '.json' var outfile = './bower-prep' + (instep+1) + '.json' var fsurlSync = require('fsurl').sync var packages = require(infile) var fs = require('fs') var outpack = {} var count = 10 for (var i in packages)...
/** * Module dependencies */ var oidc = require('../oidc') var settings = require('../boot/settings') var mailer = require('../boot/mailer').getMailer() var authenticator = require('../lib/authenticator') var qs = require('qs') var InvalidRequestError = require('../errors/InvalidRequestError') var providers = requir...
define(["app/constants","app/dispatcher", "app/collections/accounts"], function(constants, dispatcher, Accounts) { let _accounts = new Accounts(); return { refresh: function() { _accounts.fetch({ success: function(accounts, data, xhr) { dispatcher.dispatch({ actionType: constants.ACC...
require("./1.big.js"); require("./3.big.js"); require("./7.big.js"); require("./13.big.js"); if(Math.random())hello.world();test.a.b.c.d();x(1,2,3,4);var a,b,c,d,e,f; if(Math.random())hello.world();test.a.b.c.d();x(1,2,3,4);var a,b,c,d,e,f; if(Math.random())hello.world();test.a.b.c.d();x(1,2,3,4);var a,b,c,d,e,f; if(Ma...
'use strict'; /** * Module dependencies */ var Collection = require('./collection'); var utils = require('../utils'); function NodeCollection(col) { this.collection = col; } /** * inherit from collection base class */ utils.inherits(NodeCollection, Collection); /** * find(match, options, function(err, do...
require('babel-register'); const selenium = require('selenium-server'); const chromedriver = require('chromedriver'); const config = require('./config'); const port = config.get('server:port'); const host = config.get('server:host'); // http://nightwatchjs.org/gettingstarted#settings-file module.exports = { src_f...
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { f...
/* @flow */ import * as A from "../../lib/action-creators"; import FileReaders from "../../lib/file-readers"; import NoteFields from "../../lib/note-fields"; import makeNotesReducer from "../../lib/reducers/notes"; describe("reducers/notes", () => { let state: Notes; let nextInitialScan: InitialScan; let notesR...
var NodeTree = (function(){ var IndexDB = {}, counter = 0, root, Node = function(index, data){ this.index = index; this.data = data; this.parent = null; this.firstChild = null; this.lastChild = null; this.next = null; this.prev = null; this.level = 0;...
export const generateError = (prefix = 'Meh', message = 'Some error') => new Error(`${prefix}: ${message}`)
//全局变量 var domin = "vision.pptv.com"; var curr_video_cursor_id = 0; var video_page_size = 20; var curr_type = 3;//1=广场页面;2=我的趣点;3=用户页面 if (!curr_type) { curr_type=3; } var waterfall_col =3; var curr_cata = 0;//(type=1时)当前页面是广场的哪个分类,0为无分类 if (!curr_cata) { curr_cata=0; } var curr_user = 85216;//(type=3时)当前这个页面是哪个用户的主页...
var indexSectionsWithContent = { 0: "_abcdefghijlmnopqrstuvwx~", 1: "abcdefhijlmnpqrstvw", 2: "b", 3: "abcdefhijlmnoprstuv", 4: "abcdefghijlmnopqrstuvw~", 5: "_abcdefghilmnoprstvw", 6: "abcdefghilmnopqrstvwx", 7: "clo", 8: "abcdefgilmnprsuvw", 9: "o", 10: "bdf", 11: "b" }; var indexSectionNames...
const sinon = require('sinon'); const commands = require('../../calculator/commands'); const assert = require('assert'); const Calculator = require('../../calculator/Calculator'); const errors = require('../../errors'); describe('Pop', function() { let initializeCalculatorStub; let setMemoryStub; afterEach((done) ...
module.exports = { 'env': { 'browser': true, 'commonjs': true, 'es6': true, 'node': true, 'jest': true }, 'extends': 'eslint:recommended', 'parserOptions': { 'sourceType': 'module' }, 'plugins': [ 'jsdoc' ], 'rules': { 'jsdoc/check-alignm...
'use strict'; angular.module('dockerUiApp').service('Docker', [ '$rootScope', '$q', '$filter', '$cookies', '$location', 'http', '$http', 'stream', '$modal', 'Config', function ($rootScope, $q, $filter, $cookies, $location, http, $http, stream, $modal, Config) { function Docker() { if (!(thi...
var module = angular.module('chat.services.chat', ['chat.messageProcessing', 'chat.services.settings', 'chat.services.notifications']); module.service('chatService', ['$rootScope', '$modal', 'chatSettings', '$translate', '$http', '$timeout', 'notificationService', 'messageProcessingService', 'windowState', functio...
'use strict'; module.exports = { app: { title: 'Flavien GARCIA - Développeur web front-end', description: 'Site personnel de Flavien GARCIA, développeur web spécialisé dans le front-end', keywords: 'Flavien, Garcia, développeur, web, front-end', googleAnalyticsTrackingID: process.env.GOOGLE_ANALYTICS_TRACKIN...
var webpack = require("webpack") module.exports = { entry: "./src/NumericInput.jsx", output: { path : "./dist", filename : "react-numeric-input.min.js", libraryTarget: "umd", library : "NumericInput" }, module: { loaders: [ { ...
(function () { 'use strict'; angular .module('myApp') .factory('AlertModal', AlertModal); AlertModal.$inject = ['$uibModal']; /* @ngInject */ function AlertModal($uibModal) { var service = { info: info, warning: warning, danger: danger ...
/*! dynamicLoader v1.0.1 Copyright (c) 2013 Ugot2BkidNme(Barry A. Rader) license: https://github.com/Ugot2BkidNme/dynamicLoader/blob/master/license.txt */ var dynamicLoader = (function (window, undefined) { var //check for overwrite _dynamicLoader = window.dynamicLoader //aliases for better compression ,docum...
$(document).ready(function(){ renderPartial(); renderScreenShot(); screenshotSubmission(); }) class GamePic { constructor(id, game_id, med_url){ this.id = id this.game_id = game_id this.med_url = med_url } render(){ document.querySelector('div#screenshot-box').innerHTML += `<a href="/games...