code
stringlengths
2
1.05M
"use strict"; require("requirish")._(module); var registerSpecialVariantEncoder = require("lib/datamodel/variant").registerSpecialVariantEncoder; exports.DataValue = require("_generated_/_auto_generated_DataValue").DataValue; registerSpecialVariantEncoder(exports.DataValue); exports.DataValue.prototype.toString = fun...
'use strict'; describe('ng-roles', function () { var ngRoles, myApp, guestProfile, managerProfile; beforeEach(function () { module('ngRoles'); inject(function (_ngRoles_) { ngRoles = _ngRoles_; }); // create application (module) myApp = ngRoles.addApplication('myapp', [ 'create', 're...
'use strict'; const debug = require('debug')('dynamoose:plugin'); const Listener = require('./Listener'); /** * @alias module:plugin * @typicalname Plugin */ /** * This is a helper to bind new plugins and the events they trigger to your model. * This helper is consumed by the Model, and not directly when creating...
/** * @author Bruno bruno.camargos@gmail.com * @date 2016/01/15 */ import ISOStringFieldPackager from './ISOStringFieldPackager'; import NullPadder from '../NullPadder'; import AsciiPrefixer from '../AsciiPrefixer'; import AsciiInterpreter from '../AsciiInterpreter'; class IFA_LLNUM extends ISOStringFieldPackager ...
/** * Module dependencies. */ var express = require('express') , routes = require('./routes') , models = require('./models') , lib = require('./lib') , RedisStore = require('connect-redis')(express) , file = require('./routes/file') , index = require('./routes/topics/index.js') , profile = require('./r...
// https://github.com/stacktracejs/stacktrace.js/blob/master/stacktrace.js import ErrorStackParser from 'error-stack-parser'; import StackGenerator from 'stack-generator'; const generateError = function stacktrace$$generateError() { try { // Error must be thrown to get stack in IE throw new Error()...
version https://git-lfs.github.com/spec/v1 oid sha256:72fc4c5855bfa9f8535467403034f869e499113e66fb844663f6e6d38ded2759 size 690850
window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); t._e = []; t.re...
module.exports = { stylePrefix: 'nv-', // Enable/Disable globally the possibility to sort layers sortable: 1, // Enable/Disable globally the possibility to hide layers hidable: 1, // Hide textnodes hideTextnode: 1, // Indicates if the wrapper is visible in layers showWrapper: 1, };
var page_module = (function () { let facebook_app_id = "1888264188125920"; let pw = "Mgo6B97nHZKdwXMiGw5P"; let events = []; // where ALL the events will be let users = []; // where all the users info will be let google = []; let fb = 0; // const initModule = function() { //// Calendar initation virtual space...
(function () { 'use strict'; angular .module('porttare.directives') .directive('actionButton', actionButton); function actionButton() { var directive = { restrict: 'E', templateUrl: 'templates/directives/action-button/action-button.html', scope: { onClick: '&', text...
var React = require('react'); var appbaseRef = require("./appbase").appbaseRef; var config = require("./appbase").config; var AlertForm = React.createClass({ getInitialState: function(){ return { price: '0', email: '', selectValue: 'lte' } }, setWebhook: function(){ var lteParam; ...
var restly = require("./restly"), Q = require("q"), inquirer = require("inquirer"); var CMSInteractor = function(options){ this.basefolderID = 0; if (typeof options.basefolder !== "undefined") { this.basefolderID = options.basefolder; } this.nodeId = 0; if (typeof options.nodeId !=...
'use strict'; var express = require('express'), exphbs = require('express3-handlebars'), app = express(), poet = require('poet')(app), hbs; app.use(poet.middleware()); app.use(express.static('public')); app.use(app.router); require('./routes')(app); poet.set({ postsPerPage: 10 }) .createP...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var TaskSchema = new Schema({ title: { type: String, default: '', trim: true }, detail: String, created: { type: Date, default: Date.now() }, due: Date, complete: Date, requestor: String, notes: [{ created: { ...
//User inputs their name var guessesLeft = 3; var userName = prompt('Welcome to the Guessing Game! What is your name?'); console.log('The user\'s name is ' + userName); alert('Welcome, ' + userName + ' ! Please guess \'yes or no\' for the following questions!'); var understandCheck = confirm('Are you ready?'); if (un...
"use strict"; var Boplex = {}; (function(Boplex){ var _version = "0.0.1"; function getFuncName(f){ var funcNameRegex = /function (.{1,})\(/; var results = (funcNameRegex).exec(f); return (results && results.length > 1) ? results[1] : ""; } function include($x, child){ var x = getFuncName(chi...
/* * Copyright 2007-2013 Charles du Jeu - Abstrium SAS <team (at) pyd.io> * This file is part of Pydio. * * Pydio is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
if (!Object.values) { Object.values = function(obj) { var values = []; for (var i in obj) { if (obj.hasOwnProperty(i)) { values.push(obj[i]); } } return values; }; }
jest.mock('read-pkg-up'); jest.mock('../editorInterface'); jest.mock('../atomInterface'); const readPkgUp = require('read-pkg-up'); const { getCurrentDir } = require('../editorInterface'); const { shouldUseEslint } = require('../atomInterface'); const isPrettierInPackageJson = require('./isPrettierInPackageJson'); de...
'use strict' const Controller = require('trails/controller') /** * @module StripeController * @description Stripe Controller for Stripe Models. * @help :: See trails controllers */ module.exports = class StripeController extends Controller{ /** * Handle Events from Stripe Webhooks * @param {Object} req ...
export { default } from 'ember-flexberry-gis/components/layers-dialogs/settings/kml';
// Generated by CoffeeScript 1.6.2 /* PlayingCards.js */ (function() { var PlayingCards, __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; PlayingCards = (function() { function PlayingCards(core) { ...
import React from 'react'; const renderListItem = ({title, icon, activated}, index) => { return ( <a key={index} className={`mdc-list-item {activated ? 'mdc-list-item--activated' : ''}`} aria-selected='{activated}' tabIndex={activated ? '0' : ''} > <i className='material-icons m...
/* coreBOS Webservice API Service */ 'use strict'; angular.module('coreBOSAPIservice', []) .value('version', 'coreBOS2.1') .factory('coreBOSWSAPI', function($http, md5, coreBOSAPIStatus) { // Webservice access point var _servicebase = 'webservice.php'; var _serviceurl = _servicebase; // Webservice user cr...
var expect = require('chai').expect; var gama = require('../src/gama'); describe('gama.negate', function() { it('negates vector', function() { expect(gama.negate(gama.Vector(1, 2))).to.be.eql({x: -1, y: -2}); }); });
function(doc){ for(attribute in doc){ if(attribute != "_id"){ emit([doc._id, attribute, doc[attribute]],null); } } }
/* * $Id: om-messagebox.js,v 1.25 2012/06/28 02:13:57 licongping Exp $ * operamasks-ui omMessageBox 2.1 * * Copyright 2011, AUTHORS.txt (http://ui.operamasks.org/about) * Dual licensed under the MIT or LGPL Version 2 licenses. * http://ui.operamasks.org/license * * http://ui.operamasks.org/docs/ * * Depends: ...
var express = require('express'); var port = 8008; var app = express(); app.use(function (req, res, next) { console.log("%s %s://%s%s", req.method, req.protocol, req.headers.host, req.originalUrl); next(); }); app.use(express["static"](__dirname+"/public")); // *********************************************...
const webpack = require('webpack'); const path = require('path'); const merge = require('webpack-merge'); const validate = require('webpack-validator'); const ProgressBarPlugin = require('progress-bar-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const CleanWebpackPlugin = require...
var sampleClosedSpline = new THREE.ClosedSplineCurve3( [ new THREE.Vector3(-4.01,2.45,19.36), new THREE.Vector3(-6.49,2.5,-31.44), new THREE.Vector3(-47.65,2.33,-52.88), new THREE.Vector3(-65.63,2.16,-50.66), new THREE.Vector3(-83.61,2.31,-39.91), new THREE.Vector3(-93.98,6.24,-23.49), new THREE.Vector3(-87.34,5.15,-6....
var server = require('../../index.js'); var request = require('request'); var url = "http://localhost:5000"; describe("saving_key_to_object", function() { beforeEach(function(){ server.listen(5000); }); afterEach(function(){ server.close(); }); it("should successfully return params data on /set pa...
const W = 6; /* 横向的方格数目 */ const H = 5; /* 纵向的方格数目 */ const USABLE = 2; /* 同一条直线可以使用的次数 */ var max = 0; /* 最长距离 */ var h = new Array(H + 1); /* 保存水平方向线的使用次数 */ var v = new Array(W + 1); /* 保存垂直方向线的使用次数 */ for (var i = 0; i < H + 1; i++){ h[i] = 0; } for (var i = 0; i < W + 1; i++){ v[i] = 0; } function sum(...
/** * Server startup */ Meteor.startup(function() { process.env.HTTP_FORWARDED_COUNT = 1; Connection.collection.remove({}); var now = new Date(); if (Meteor.users.find().count() === 0) { var users = [ { username: 'admin', email: 'leesn@bookp.al', password: '74123', ...
function alertContent(a){var b=$("<div class='mask'></div>"),c=$(window).width(),d=$(window).height();b.css({width:c,height:d});var e=$("<div class='alertInfo'></div>"),f="."+a;e.append($(f).prev().html());var g=c/2,h=d/2;e.css({top:h,left:g}),b.append(e),$(document.body).append(b)}var _href=window.location.href,no_nam...
import React from 'react' import { Dropdown } from 'semantic-ui-react' import { languageOptions } from '../common' /** * NOTE: In this example, the dropdown should contain a label on the * left of the text: * <i class="world icon"></i> * * @returns {Element} */ const DropdownExampleSearchDropdown = () => ( <D...
const mongoose = require('mongoose'); mongoose.Promise = global.Promise; require('./models'); module.exports.connectDB = (dbUri) => { const uri = dbUri || 'mongodb://localhost/nat-asl-development'; mongoose.connect(uri, (err) => { if (err) { throw err; } console.log('Connected to MongoDB Server'...
$(function () { $('#container').highcharts('StockChart', { rangeSelector: { selected: 1 }, yAxis: { minorGridLineColor: '#F0F0F0', minorGridLineWidth: 2, minorTickInterval: 'auto' }, series: [{ name: 'USD to EUR',...
var yo = require('yo-yo'); var layout = require('../layout'); var picture = require('../picture-card'); module.exports = function (pictures) { var el = yo`<div class="container timeline"> <div class="row"> <div class="col s12 m10 offset-m1 l6 offset-l3"> ${pictures.map(function (pic) { re...
define(['exports', './resource-registry', './view-factory', './binding-language'], function (exports, _resourceRegistry, _viewFactory, _bindingLanguage) { 'use strict'; var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a f...
/** * Created by fenix on 01/04/2017. */ $(function(){ $('#btnNew').on('click', function () { $('#titulo-modal').text("Nuevo Proveedor"); $("#modalProvider").modal("show"); }); $('#btnProvider').on('click',function(){ $('#providerForm').submit(); }); //* $('#providerTab...
import { mapboxRequest, cartoRequest } from 'utils/request'; import compact from 'lodash/compact'; import { all, spread } from 'axios'; import bbox from 'turf-bbox'; import { POLITICAL_BOUNDARIES } from 'data/layers'; const getSearchSQL = (string, nameString, nameStringSimple) => { const words = string && string.sp...
'use strict'; const common = require('../common'); const assert = require('assert'); const spawnSync = require('child_process').spawnSync; const signals = process.binding('constants').os.signals; const rootUser = common.isWindows ? false : process.getuid() === 0; const invalidArgTypeError = common.expectsError( { co...
const React = require('react'); import {Search} from 'semantic-ui-react'; const pubCrawlService = require('../services/pub-crawl-service'); import _ from 'lodash'; class PubSearch extends React.Component{ constructor(props) { super(props); this.state = { isLoading: false, ...
// Generated by CoffeeScript 1.10.0 (function() { var AppEnv, URL, _, cfenv, fs, getApp, getBind, getName, getPort, getServices, getURLs, pkg, ports, throwError, yaml; fs = require("fs"); URL = require("url"); pkg = require("../package.json"); _ = require("underscore"); ports = require("ports"); yam...
var net = require('net'); var debug = require('debug')('trajan:server'); var EventEmitter = require('events').EventEmitter; var Gateway = require('./gateway'); function Server() { if (!(this instanceof Server)) return new Server(); this.server = net.createServer(); this.server.on('connection', this.onCon...
uitest.define('urlParser', ['global'], function (global) { var UI_TEST_RE = /(uitest|simpleRequire)[^\w\/][^\/]*$/, NUMBER_RE = /^\d+$/; function parseUrl(url) { var hashIndex = url.indexOf('#'); var hash; var query = ''; if (hashIndex !== -1) { hash = url.s...
module.exports = { options: { files: ['bower.json', 'package.json'], updateConfigs: [], commit: true, commitMessage: 'Release v%VERSION%', commitFiles: ['package.json'], createTag: true, tagName: 'v%VERSION%', tagMessage: 'Version %VERSION%', p...
var Embryo = require('../lib/main') console.log( 'version', Embryo.version ) var Human = Embryo.extend({ '_type': 'Human', properties : { nickname: 'John' }, init: function () { console.log('-Human-') } }) console.log('Human',Human) var Superman = Human.extend({ '_type': 'Sup...
var gulp = require('gulp'); gulp.task('MyCustomTask', function() { console.log("Just doing something here - " + CONFIG.myParm); });
// eslint-disable /*flow-disable*/ declare module 'react-router-redux' { declare module.exports: any; } declare module 'react-router' { declare module.exports: any; } declare module 'prop-types' { declare module.exports: any; } declare module 'redux' { declare module.exports: any; } declare module 'react-re...
define(function(){return{CONNECT:"connect",ERROR:"error",CONNECT_FAILED:"connect_failed",DISCONNECT:"disconnect",MESSAGE:"message",SWAMP_INITIAL:"swamp.initialData",SWAMP_OUT:"swamp.out",SWAMP_ERROR:"swamp.error",SWAMP_RESTART_ALL:"swamp.restartAllRunning",SWAMP_STOP_ALL:"swamp.stopAllRunning",SWAMP_START_ALL:"swamp.st...
/** * @jest-environment jsdom */ import loadIFRAME from './loadIFRAME'; test('Load a page', async () => { const loadTask = loadIFRAME('index.html'); document.body.querySelector('iframe').dispatchEvent(new Event('load')); await loadTask; expect(document.body.firstChild).toHaveProperty( 'outerHTML', ...
export function enhancer(storeCreator) { return storeCreator; } export default { name: '<%= dasherizedModuleName %>', enhancer };
import { createLocalVue, shallowMount } from '@vue/test-utils' import useI18n from '../__utils__/i18n' import CurrencyMixin from '@/mixins/currency' import BigNumber from '@/plugins/bignumber' describe('Mixins > Currency', () => { const network = { token: 'NET', subunit: 'netoshi', symbol: '×', fract...
/** * Initialise CKEditor instances if available. * * @mixin * @namespace Bolt.ckeditor * * @param {Object} bolt - The Bolt module. * @param {Object} $ - jQuery. * @param {Object|undefined} cke - CKEDITOR global or undefined. */ (function (bolt, $, cke) { 'use strict'; /** * Bolt.ckeditor mixin c...
// Normalize input string 'use strict'; var TABS_SCAN_RE = /[\n\t]/g; var NEWLINES_RE = /\r[\n\u0085]|[\u2424\u2028\u0085]/g; var NULL_RE = /\u0000/g; module.exports = function inline(state) { var str, lineStart, lastTabPos; if (!state.normalizeInput) { return; } // Normalize newlines str = state.s...
import pattern from './pattern'; const regexp = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; export default (sample, expected) => expected === pattern(sample, regexp);
// @flow import { chalk } from 'storyboard'; import type { MapOf, StoryT, InternalKeyT, InternalTranslationT, } from '../common/types'; export default function collectReactIntlTranslations({ lang, keys, translations, story, }: {| lang: string, keys: MapOf<InternalKeyT>, translations: Array<Inter...
const { log } = require('../../utils'); class ListenerManager { constructor(listener, name) { this.name = name || 'listener'; this.lastConnectionKey = 0; this.connectionMap = {}; this.listener = listener; // Track all connections to our server so that we can close them when needed. this.list...
import React from 'react' import merge from 'lodash/merge' import { ResponsiveParallelCoordinates, commonDefaultProps } from '@nivo/parallel-coordinates' import { generateParallelCoordinatesData } from '@nivo/generators' import { ComponentTemplate } from '../../components/components/ComponentTemplate' import meta from ...
var exec = require('child_process').exec; var gasket = require('gasket'); var chalk = require('chalk'); var prompt = require('prompt'); var packageJSON = require('require-module')('./package.json'); var cfg = packageJSON['gh-pages-deploy'] || {}; prompt.message = "gh-pages-deploy".grey; prompt.delimiter = "=>".grey; ...
'use strict'; exports.up = (knex) => { return knex.schema.createTable('presses', (t) => { t.uuid('id').primary().defaultTo(knex.raw('uuid_generate_v4()')); t.uuid('user_id').notNullable().references('users.id').onDelete('CASCADE'); t.uuid('button_id').notNullable().references('buttons.id').onDelete('CASC...
// "react" helpers (function IIFE(){ var Ar = ASQ.react; Ar.of = function $$react$of() { function reactor(next) { if (!started) { started = true; if (args.length > 0) { args.shift().val(function val(){ next.apply(ø,arguments); if (args.length > 0) { args.shift().val(val); ...
/** * toString ref. */ var toString = Object.prototype.toString; /** * Return the type of `val`. * * @param {Mixed} val * @return {String} * @api public */ module.exports = function(val){ switch (toString.call(val)) { case '[object Function]': return 'function'; case '[object Date]...
version https://git-lfs.github.com/spec/v1 oid sha256:7d73a52ef9474bab75596007c220aac638415110f33b14ab960e8b86a1772eb7 size 35595
/* # Selectory ## version 0.1.1 Selectory is a CSS reprocessor that resolves selectors using JS. This plugin will read CSS selectors that end with a `[test]` attribute and use JavaScript to determine whether or not to apply that style to elements matching the other part of that selector. For example, the JS test `1 =...
var searchData= [ ['add',['Add',['../classca_1_1axoninteractive_1_1_collections_1_1_concurrent_priority_queue.html#a213798e4b295bb797f3f81ca49d602a7',1,'ca::axoninteractive::Collections::ConcurrentPriorityQueue']]] ];
/* * * Cluster * */ import React from 'react'; import TSNE from 'tsne-js'; import { connect } from 'react-redux'; import selectCluster from './selectors'; import styles from './styles.css'; import { TransitionMotion, spring } from 'react-motion' import Dimensions from 'react-dimensions' import Dot from 'react-icon...
'use strict'; var grunt = require('grunt'); /* ======== A Handy Little Nodeunit Reference ======== https://github.com/caolan/nodeunit Test methods: test.expect(numAssertions) test.done() Test assertions: test.ok(value, [message]) test.equal(actual, expected, [message]) test.notEqual(actua...
/** * <h2>Model</h2> * <table> * <tr><td><b>Name</b></td><td><b>Type</b></td><td><b>Default Value</b></td></tr> * <tr><td>lastName</td><td>String</td></tr> * <tr><td>firstName</td><td>String</td></tr> * <tr><td>username</td><td>String</td></tr> * <tr><td>email</td><td>String</td></tr> * <tr><td>passwordHash</td...
var models = require("../../models") , Serializer = models.Serializer , AdminSerializer = models.AdminSerializer exports.addSerializer = function() { return new Serializer('users', { select: ['id', 'username', 'type', 'screenName', 'statistics', 'profilePictureLargeUrl', 'profilePictureMediumUrl...
import SliderAutoplay from './slider-autoplay'; import SliderDrag from './slider-drag'; import SliderNav from './slider-nav'; import {$, $$, assign, clamp, fastdom, getIndex, hasClass, isNumber, isRtl, Promise, removeClass, trigger} from 'uikit-util'; export default { mixins: [SliderAutoplay, SliderDrag, SliderNa...
Template.notifications.rendered = function() {} var notis = [{ label: 'Friend request from bob!', type: 'requfest', }]; sendMail = function(subject, text) { Meteor.call('sendMail', 'jakerunzer@gmail.com', subject, text); } Template.notifications.helpers({ notis: function() { return Notis.find({}, { ...
myAppModule.factory('userSession', ['$http', function($http) { var factory = {} factory.user = null; factory.checkSession = function() { if (factory.user == null) { return $http.get('/sessions/fetch'); } else { return factory.user; } } return factory; }]);
/** * Module dependencies. */ var JID = require('junction').JID; /** * Parse information indicating an XMPP stanza has been delivered with a delay. * * This middleware parses delay information contained within message and * presence stanzas. `stanza.delayedBy` indicates the Jabber ID of the entity * that dela...
$(document).ready(setNav); function setNav() { $(".button").on("click", function() { var year = $(this).attr("id"); if (year == "btn_1993") { $("#1993").fadeIn(); $("#2000").fadeOut(); } else { $("#2000").fadeIn(); $("#1993").fadeOut(); } $(".button").removeClass("buttonActive"); ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const config_1 = require("../models/config"); const SilentError = require('silent-error'); const Command = require('../ember-cli/lib/models/command'); const GetCommand = Command.extend({ name: 'get', description: 'Get a value from the ...
version https://git-lfs.github.com/spec/v1 oid sha256:895a41522fe1600acbe5f79bfbb728140d4a17241c887b967b1821e8368e2c3e size 2216
function debounce(func, wait, immediate) { let timeout; return function() { const context = this; const args = arguments; clearTimeout(timeout); timeout = setTimeout(function() { timeout = null; if (!immediate) func.apply(context, args); }, wait...
module.exports = { parser: 'babel-eslint', env: { node: true, es6: true, }, parserOptions: { ecmaVersion: 6, sourceType: 'module', ecmaFeatures: { jsx: true, }, }, ecmaFeatures: { jsx: true, }, plugins: [ 'lodash', 'import', 'babel', 'react', ], exte...
System.register("app/main",["jquery"],function(){"use strict";var e;return{setters:[function(t){e=t.default}],execute:function(){e(function(){e("body").css("background-color","green")})}}});
'use strict'; var util = require('util'), TerminalNode = require('./terminal-node'); util.inherits(StringNode, TerminalNode); /** * @param {object} options * @constructor */ function StringNode(options) { var opts = options || {}; TerminalNode.call(this, opts); this.type = 'string'; } StringNode.type = ...
var searchData= [ ['mailsend',['MailSend',['../classowncloudsharp_1_1_types_1_1_advanced_share_properties.html#a73d194741812b8cc3c21dc22c620fd5f',1,'owncloudsharp::Types::AdvancedShareProperties']]], ['message',['Message',['../classowncloudsharp_1_1_types_1_1_meta.html#a2dcb4b0826692240c02ee824cd84b62b',1,'owncloud...
/** @jsx jsx */ import { Editor } from 'slate' import { jsx } from '../../..' export const input = ( <editor> <block> <text /> <inline>one</inline> <text /> <inline>two</inline> <text /> </block> </editor> ) export const run = editor => { Editor.removeNodes(editor, { at: [...
import CardNode from 'mobiledoc-kit/models/card-node'; import { detect, forEach } from 'mobiledoc-kit/utils/array-utils'; import AtomNode from 'mobiledoc-kit/models/atom-node'; import { POST_TYPE, MARKUP_SECTION_TYPE, LIST_SECTION_TYPE, LIST_ITEM_TYPE, MARKER_TYPE, IMAGE_SECTION_TYPE, CARD_TYPE, ATOM_TY...
define({ "_widgetLabel": "Business Analyst", "addPoint": "Adicione ponto clicando no mapa", "addRingsDtWt": "Adicionar anéis, tempo do percurso ou tempo de caminhada.", "apply": "Aplicar", "back": "Voltar", "colon": ":", "creditInformation": "Informações de créditos", "driveTime": "Tempo de percurso", ...
// Put all your page JS here $(function () { $('#slickQuiz').slickQuiz(); $('.answers li input[type=radio]').click(function(e) { var arrayAnswer = ['A', 'B', 'C', 'D', 'E', 'F']; var id = $(this).attr('id'); var array = id.split('_'); id = array[0]; var numberQuestion = pars...
(function(){ 'use strict'; describe("BmiService", function(){ var bmiService; beforeEach(function(){ // load service module module('runculator.bmi.service'); inject(function($injector) { bmiService = $injector.get('bmiService'); }); }); describe('getResult', function(){ it('should ...
/* Highcharts JS v9.1.0 (2021-05-03) (c) 2009-2021 Torstein Honsi License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/themes/dark-blue",["highcharts"],function(b){a(b);a.Highcharts=b...
'use strict' const template = {} template.load = function (name) { return new Promise((resolve,reject) => { var xhr = new XMLHttpRequest() xhr.open('GET', chrome.extension.getURL('templates/'+name+'.html?random='+HashID.generate()), true) xhr.onreadystatechange = () => { if(xhr.readyState == XMLHt...
function loadpage(){ layer.open({ type: 1, content: "<div class='alert alert-info' role='alert'>Sign in" +"</div><form name='login' action='ulogin.action' method='post' onsubmit='return checkulogin()'>" +"<input type='text' value='' id='uname' name='uname' onchange='checkname()' class='f...
function bag (items) { var self = this; if (arguments.length >= 1) { self.items = JSONCopy(items); foreach(self.items, function (item) { item.intentToUse = 0; }); } else self.items = []; self.store = function () { var store = []; foreach(self.items, function (item) { store.push({ item : item...
var postcss = require('postcss'); var vars = require('postcss-simple-vars'); var SEPARATOR = /\s+in\s+/; function checkParams(params) { if (!SEPARATOR.test(params)) return 'Missed "in" keyword in @each'; var args = params.split(SEPARATOR).map(function(str) { return str.trim() }); var name = args[0] var va...
var utils = require('./karma-utils'); var karmaConfig = { basePath: '', frameworks: ['mocha', 'chai'], plugins: ['karma-mocha', 'karma-chai', 'karma-sinon-chai', 'karma-sinon', 'karma-traceur-preprocessor', 'karma-mocha-reporter', 'karma-c...
import React from 'react'; import Footer from './Footer'; import { Link } from 'react-router'; const Prices = () => { return ( <div className="container-fluid pricesFont"> <h3 className="pricesTitle">Encuentra tutorias de alta calidad a precios asequibles. Solo pagaras por las horas reservadas.</h3> <div class...
import { Component, h } from 'preact' import OptionWidget from './OptionWidgets' export default class SettingsCardOptionWidget extends Component { render (props) { return <OptionWidget {...props} onChange={this.onChange} /> } onChange = newValue => { this.props.setOption(this.props._key, newValue) } }...
var _ = require('lodash'), os = require('os'), fs = require('fs'), path = require('path'); /** * @type {AbstractProvider} */ var AbstractProvider = require('./abstract'); function FileProvider(params) { AbstractProvider.call(this, params); } FileProvider.prototype = Object.create(AbstractProvider.p...
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdAirlineSeatIndividualSuite(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M14 26c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm24-12H22v14H6V14H2v20h44V22c0-4.42-3.58-8-8-8z" /> </IconBase> )...
var Qs = require('qs'); var _ = require('lodash'); module.exports = { getSearchString: function() { return window.location.search; }, updateSearchString: function(queryStringData) { var urlPath; if (_.keys(queryStringData).length) { urlPath = '?' + Qs.stringify(queryStringData); } else { ...