code
stringlengths
2
1.05M
$(document).ready(function(){ var modulante = document.getElementById("modulante"); var ctxM= modulante.getContext("2d"); var inicio2 = 0; var inc2 = 0; function set(){ ampMod= $("#ampMod").val(); freqMod = $("#myselect").val(); velAn...
module.exports.log = function (msg) { console.log(msg); };
'use strict'; angular.module('com.module.sectors',[]);
const typeResult = async (opt = {}, tape, context, appContext) => { let cheerio = appContext.require('cheerio'); let get = appContext.get; let _console = null; let timeout = false; /**/ let htmlRes = null; let htmlLastRes = null; let doc = null; let expectedHtml = null; let counter = 0; ...
var searchData= [ ['g_5fpfnvectors',['g_pfnVectors',['../startup__ccs_8c.html#a28c770c8f2522f11e2a95f7486620c5b',1,'startup_ccs.c']]], ['g_5fpi2cqueue',['g_pI2CQueue',['../freertos__init_8c.html#a55252560d8d07bbe427530279fce48fe',1,'g_pI2CQueue(): i2c_task.c'],['../i2c__task_8c.html#a55252560d8d07bbe427530279f...
/** * Module dependencies. */ var request = require('request'); var mongoose = require('mongoose'); var Query = mongoose.model('Query'); var Photo = mongoose.model('Photo'); var https = require('https'); var API_KEY = require('config').flickr_api_key; /** * Searching images in Flickr API * @param {String} search...
'use strict'; var _ = require( './utils' ); var Object3D = require( './object3d' ); var Vector3 = require( './math/vector3' ); var Matrix4 = require( './math/matrix4' ); var DEG_TO_RAD = Math.PI / 180; // Temp Matrix4. var mt = new Matrix4(); function Camera( fov, aspect, near, far ) { Object3D.call( this ); t...
const name = {0:'Ace', 1:'2', 2:'3', 3:'4', 4:'5', 5:'6', 6:'7', 7:'8', 8:'9', 9:'10', 10:'Jack', 11:'Queen', 12:'King'}; const points = {0:1, 1:2, 2:3, 3:4, 4:5, 5:6, 6:7, 7:8, 8:9, 9:10, 10:10, 11:10, 12:10}; const suits = {0:'Spade', 1:'Heart', 2:'Club', 3:'Diamond'}; export {name, points, suits}; export function s...
(function(){ angular .module('<%= appname %>') .run(runner); function runner($ionicPlatform) { $ionicPlatform.ready(function() { // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard // for form inputs) if (window.cordova && window.cordova.plugins....
var inherit = require('./inherit'), Sprite = require('../display/Sprite'), Tilemap = require('../tilemap/Tilemap'), Rectangle = require('../geom/Rectangle'), BitmapText = require('../text/BitmapText'); /** * The object factory makes it simple to create and add objects to a parent. One is added * to a...
"use strict"; var expect = require('expect.js'); var List = require('../lib/list.js'); var Pair = require('../lib/pair.js'); var Data = require('../lib/data.js'); var PP = require('../lib/pprinter.js'); var Parser = require('../lib/parser.js'); var Dentaku = require('../lib/dentaku.normal.js'); describe('dentaku.nor...
import './APICode'; import './devtools'; import './goToURL'; import './uninstall'; import './updateAvailable'; import './appDetails'; import './lyrics'; import './openPort'; import './onlineStatus'; // Anything that requires the DOM needs to go here as of Electron 0.36.6 document.addEventListener('DOMContentLoaded', (...
// Initializes the `deals` service on path `/deals` const createService = require('feathers-mongoose'); const createModel = require('../../models/deals.model'); const hooks = require('./deals.hooks'); const filters = require('./deals.filters'); module.exports = function() { const app = this; const Model = createMo...
require("ember-bootstrap/mixins/focus_support"); var Bootstrap = window.Bootstrap, get = Ember.get; Bootstrap.Forms.Select = Bootstrap.Forms.Field.extend({ optionLabelPath: 'content', optionValuePath: 'content', inputField: Ember.Select.extend(Bootstrap.FocusSupport, { contentBinding: 'parentVie...
import createServer from 'rally-point-server' const secret = process.env.SB_RALLY_POINT_SECRET const port = Number(process.env.SB_RALLY_POINT_LOCAL_PORT ?? 14098) const server = createServer('::', port, secret) server.bind().then(() => { console.log('rally-point server running on port ' + port) })
var createBackoff = require('./backoff').createBackoff; var WebSocketImpl = (typeof(WebSocket) !== "undefined") ? WebSocket : require('ws'); class WebSocketClient { /** * @param url DOMString The URL to which to connect; this should be the URL to which the WebSocket server will respond. * @param protocol...
// alternative tips texts_join_button1_tip = "Sende Dein Foto in nur 3 Klicks"; texts_join_button2_tip = "Wähle einen Bild auf Deinem Rechner"; // error messages texts_error_server = "Entschuldigung, aber etwas stimmt mit Deinem Server nicht. Kannst Du nochmal versuchen?"; texts_error_imagetype = "Wähle eine JPG, GIF, ...
var mongoose=require('mongoose'); var Schema=mongoose.Schema; var postSchema=Schema({ title: { type: String, required: true }, body: { type: String, required: true }, slug: { type: String, required: true, unique: true }, created_at: {...
//Global var var INSPIRO = {}; (function ($) { // USE STRICT "use strict"; //----------------------------------------------------/ // Predefined Variables //----------------------------------------------------/ var $window = $(window), $document = $(document), $bo...
import React, { Component } from "react"; export default class AdminContainer extends Component { render() { return ( <div> <h1>Admin Page.</h1> </div> ); } }
import { LitElement, html, css } from '../../web_modules/lit-element.js'; import '../components/Link.js'; import '../components/Carousel.js'; import '../components/Social.js'; import '../components/Quote.js'; class About extends LitElement { static get styles () { return css` img { border-radius: 50%; ...
import * as M from "@effectful/core"; function a() { var a = M.context(); a.$run = a_1; a.$cont = 4; return M.scope(); } function b() { var b = M.context(); b.$run = b_1; b.$err = b_err; b.$cont = 4; return M.scope(); } function c() { var c = M.context(); c.$run = c_1; c.$err = c_err; c.$fi...
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import formControlState from '../FormControl/formControlState'; import withFormControlContext from '../FormControl/withFormControlContext'; import withStyles from '../styles/withStyles'; import FormLabel from '../FormLabel'; export...
define([ 'jquery', "../utils/constants", '../core/SPServices.utils', //--------------------------- // We don't need local variables for these dependencies // because they are added to the jQuery namespace. '../core/SPServices.core' ], function ( $, constants, utils ) { "use ...
const fs = require('fs'); /** * Thanks to @williammustaffa for this compiler. * Original src: https://github.com/williammustaffa/jGame.js/blob/master/compile.js * */ // Project src const srcDir = './app/assets/javascript' const entryPoint = `${srcDir}/main.js`; // regex to serach @include('file'); declaration...
/* Selectator jQuery Plugin A plugin for select elements version 1.0, Dec 10th, 2013 by Ingi P. Jacobsen The MIT License (MIT) Copyright (c) 2013 Faroe Media Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to d...
import React from "react"; import Tile from "./tile"; export default class Index extends React.Component { render() { const data = this.props.data, tileNodes = data.map( (data) => { return ( <Tile show={this.props.show} data={data} /> ); }); return ( <div c...
/*! * Accordion v3.1.1 * Simple accordion created in pure Javascript. * https://github.com/michu2k/Accordion * * Copyright (c) Michał Strumpf * Published under MIT License */ (function(window) { 'use strict'; let uniqueId = 0; /** * Core * @param {string|HTMLElement} selectorOrElement = container...
var test = require('tap').test var Depsify = require('../') var sink = require('sink-transform') var splicer = require('labeled-stream-splicer') test('pack', function(t) { t.plan(1) var stream = splicer.obj(Depsify.prototype.pack()) stream.write({ id: 'a', file: 'a', source: 'a{}', deps: { b: 'b', c: 'c' } }) ...
#!/usr/bin/env node 'use strict'; const path = require('path'); const assert = require('assert'); const utils = require('../utils.js'); const fetch = require('pkg-fetch'); assert(!module.parent); assert(__dirname === process.cwd()); const host = 'node' + process.version.match(/^v(\d+)/)[1]; const target = process.a...
const express = require('express'); const app = express(); const port = 5000; app.use(express.urlencoded({ extended: true })); app.use(express.json()); // Import Routes directory require('./routes')(app); app.get('/', (req, res) => { res.send('PORT 5000'); }); app.listen(port, (err) => { if (err)...
/* * decaffeinate suggestions: * DS101: Remove unnecessary use of Array.from * DS102: Remove unnecessary code created because of implicit returns * DS103: Rewrite code to no longer use __guard__, or convert again using --optional-chaining * DS207: Consider shorter variations of null checks * Full docs: https://gi...
var $mod$364 = core.VW.Ecma2015.Utils.module(require('../moment')); exports.default = $mod$364.default.defineLocale('cy', { months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), ...
$('.returnTopAction').live('click', function() { $('html, body').animate({scrollTop: '0'}, 700); }); $('.link').live('tap', function(event) { url = $(this).attr("rel"); loadURL(url); }); function loadURL(url){ navigator.app.loadUrl(url, { openExternal:true }); return false; }
'use strict'; module.exports = { root: true, parser: 'babel-eslint', parserOptions: { ecmaVersion: 2018, sourceType: 'module', ecmaFeatures: { legacyDecorators: true, }, }, plugins: ['ember'], extends: ['plugin:prettier/recommended', 'eslint:recommended', 'plugin:ember/recommended'], ...
'use strict'; // PeopleWorks module.exports = function (sequelize, DataTypes) { let PeopleWorks = sequelize.define('people_works', { id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true }, rol: DataTypes.INTEGER }); PeopleWorks.associate = function (models) { Pe...
var express = require('express'); var router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { res.render('formInv', { title: 'Express' }); }); module.exports = router;
require("babel-register"); var unexpected = require('unexpected'); unexpected.use(require('unexpected-sinon')); unexpected.use(require('unexpected-set')); var Bluebird = require('bluebird'); require('sinon-as-promised')(Bluebird); var Sequelize = require('sequelize'); unexpected.addType({ name: 'Sequelize.Instance...
import route from 'routes/EightBall'; describe('(Route) EightBall', () => { let _component; beforeEach(() => { _component = route.component; }); it('should return a route', () => { expect(typeof route).to.equal('object'); expect(route.path).to.equal('magic-eight-ball'); }); it('should define...
'use strict'; var utils = require('../integration-utils.js'); var setup = utils.setup; var algoliasearchHelper = require('../../'); var random = require('lodash/random'); test('[INT][FILTERS] Should retrieve different values for multi facetted records', function(done) { var indexName = '_circle-algoliasearch-hel...
'use strict'; angular.module('mean.goals').config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) { $urlRouterProvider.otherwise('/goals'); //================================================ // Check if the user is connected //=================...
/** * @class Oskari.mapping.mapmodule.AbstractMapModule * * Provides map functionality/Wraps actual map implementation (Openlayers). * Currently hardcoded at 13 zoomlevels (0-12) and SRS projection code 'EPSG:3067'. * There are plans to make these more configurable in the future. * * See http://www.oskari.org/tr...
if (typeof T === 'undefined') require('../setup'); T('dividedBy', function () { Decimal.config({ precision: 40, rounding: 4, toExpNeg: -7, toExpPos: 21, minE: -9e15, maxE: 9e15 }); var t = function (expected, dividend, divisor) { var quotient = new Decimal(dividend).div(divisor); ...
$(document).ready(function () { $('#id_1-alternative-1').focus(); $('form').submit(function() { removeEmptyAlts(); }); }); function removeAlt(altIndex) { if ($('.cloned').length > 2) { doRemoveAlt(altIndex); } else { showMessageInDialogBox('More than two alternatives should e...
$(function(a){a("button").click(function(){if(a(this).hasClass("active")){a(this).removeClass("btn-warning");a(this).addClass("btn-inverse")}else{a(this).removeClass("btn-inverse");a(this).addClass("btn-warning")}});a("[data-content]").popover({delay:{hide:5000},placement:"left"})}(jQuery));
/*jslint node:true */ 'use strict'; module.exports.map = function () { /* global exp, emit */ var doc = this; function access(obj, prop) { var segs = prop.split('.'); while (segs.length) { var k = segs.shift(); if (obj[k]) { obj = obj[k]; } else { obj = undefined;...
var structtesting_1_1internal_1_1_matcher_tuple_3_01_1_1testing_1_1tuple_3_01_a1_01_4_01_4 = [ [ "type", "structtesting_1_1internal_1_1_matcher_tuple_3_01_1_1testing_1_1tuple_3_01_a1_01_4_01_4.html#a8463ac100366f7e8b6ad1035e42ec4b0", null ] ];
import React from 'react'; import PropTypes from 'prop-types'; const keyCodeEnter = 13; export default class MenuItem extends React.Component { constructor(...args) { super(...args); this.onKeyDown = this.onKeyDown.bind(this); } // Prevent focusing on mousedown onMouseDown(event) { event.preventD...
'use strict'; let gulp = require('gulp'); let runSequence = require('run-sequence'); gulp.task('build-ts', function(cb) { return runSequence('ts-lint', 'ts', cb); });
/** * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'sourcedialog', { // lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is...
(function(){ 'use strict'; 'use strict'; angular.module('gc.statusCodeService', [ ]).factory('StatusCodeService', [ function StatusCodeServiceFactory() { var statuses = { '1': 'info', '2': 'success', '3': 'redirect', '4': 'client-error', '5': 'server-error' }; var EMPTY = ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _ArrowKeyStepper = require('./ArrowKeyStepper'); Object.defineProperty(exports, 'ArrowKeyStepper', { enumerable: true, get: function get() { return _ArrowKeyStepper.ArrowKeyStepper; } }); var _AutoSizer = require('./AutoSiz...
var searchData= [ ['lambda',['lambda',['../de/df6/namespacebbb_1_1function_1_1lambda__symbol.html#abeec683e4c2770f82c60e84a36c1ec74',1,'bbb::function::lambda_symbol']]], ['land',['land',['../d3/d4d/namespacebbb_1_1function_1_1direct__lambda.html#af078f98db5b749c9eb5c029c409b925a',1,'bbb::function::direct_lambda::la...
"use strict"; /** * Ajax error handler */ $.ajaxSetup({ error: function (xhr) { humane.info("We're so sorry, something is wrong on our end."); } });
import { E2EGlobal } from './helpers/E2EGlobal'; import { E2EApp } from './helpers/E2EApp'; import { E2EMeetingSeries } from './helpers/E2EMeetingSeries'; import { E2EMinutes } from './helpers/E2EMinutes'; import { E2ETopics } from './helpers/E2ETopics'; import { formatDateISO8601 } from '../../imports/helpers/date'; ...
// @flow "use strict"; /** * @author dusiyu * @date 4/17/17. */ import type {PluginInvocation} from './plugin'; import type {Node} from './schema'; export type PrimitiveType = | string | number | boolean | null export type Document = | {[string]: Document} | Array<Document> | PrimitiveType export ...
/* * This file is part of the Mosaic Platform. * * (c) Rommel M. Zamora <rommel.zamora@groupm.com> * (c) Andrew Aculana <andrew.aculana@movent.com> * * Copyright (c) 2017. For the full copyright and license information, please view the LICENSE file that was distributed with this source code. */ function Bruer...
var should = require('should'); var annotationModule = require('../index.js'); var mockPath = './fixtures/emptyMock.js'; describe('empty module', function() { describe('asynchronous', function() { var err; var result; before(function(done){ annotationModule(mockPath, functi...
var apikey = "252044BE3886FE4A8E3BAA4F595114BB"; var inSearch = false; var lastSearchTerm = ''; var filterArray = []; var filterQuery=''; $(document).ready(function () { execSearch(); $('#searchbar').on('keyup', function (event) { if (inSearch != true) execSearch(); }); if(navigator.userAgent.match(/Windo...
module.exports = class ViewController { constructor() { this.views = {}; } callViewMethod(type, methodName, data) { let v = this.getViews(type); if(!v) { setTimeout(() => { this.callViewMethod(type, methodName, data); }, 750); } for(let i in v) { v[i][methodName](data); } } ...
/*jslint nomen:true*/ /*global define*/ define([ 'underscore', 'backbone', 'backgrid', './header-cell/header-cell' ], function (_, Backbone, Backgrid, HeaderCell) { "use strict"; var Header; /** * Datagrid header widget * * @export orodatagrid/js/datagrid/header * @cla...
(function (w,i,d,g,e,t,s) {w[d] = w[d]||[];t= i.createElement(g); t.async=1;t.src=e;s=i.getElementsByTagName(g)[0];s.parentNode.insertBefore(t, s); })(window, document, '_gscq','script','//widgets.getsitecontrol.com/50978/script.js');
var exports = module.exports = {} , nlp = require("nlp_compromise") , speak = require("speakeasy-nlp") , modules = [ require('./modules/weather'), require('./modules/heather') ] exports.initiate = function() { console.log('[I] There\'s ' + modules.length + ' modules load...
import { EventEmitter } from 'events'; class TabManager extends EventEmitter { constructor() { super(); // default tab is home this.tabName = 'home'; this.tabOptions = undefined; } setTab(tabName, tabOptions) { if (tabName === this.tabName && tabOptions === this.tabOptions) { return; ...
/* ========================================================================== Styleguide -- Version: 0.4.1 - Updated: 2/22/2014 ========================================================================== */ // Create Hex color code from color return function hexc(colorval) { var parts = colorval.match(/^rgb\...
var email_client = new Object(); email_client.active_emails = Object(); email_client.timeout = 1000; email_client.deactivate = function( key , object ){ var old_mid = $(object).children('.checkbox_td').children('.mid').html(); emaildash.remove_active_email( old_mid , page_object.user_id , {} ); } email_client...
var StatusBarView, View; var __hasProp = {}.hasOwnProperty; var __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor()...
/* * timecalc.js * * Parses multi line content for times and calculates a total time duration. * * Author: Eric Lambrecht * License: MIT */ ;(function ($, window, undefined) { "use strict"; var TimeCalculator, Time, defaults = { 'time-delimiter': '\n', 'natlang-sup...
import fs from './fs'; export default fs;
/*global console, alert, prompt*/ /* Author: Yahia Hegazy Created: 2016-05-12 Updated: 2016-05-19 Final: 2016-05-19 Project: PlayPen Information The purpose of this project started out as a simple need to test my javascript skills. */ //Gloabal Variables var setStatus = document.getElementById('status'...
// @flow function setStatus(name: string, value: string) : Action { return { type: 'SET_STATUS', name, value }; } module.exports = { setStatus }
define(['model/entity', 'transition', 'lib/pixi', 'enums', 'model/charactermovement'], function (Entity, Transition, PIXI, Enums, CharacterMovement) { class Character extends Entity { constructor(CharIndex, gridX, gridY, Heading, Name, clan, Body, Head, Weapon, Shield, Helmet, FX, FXLoops, NickColor) { ...
/** * @fileoverview Tests for google-camelcase rule. * @author Gregg Tavares (but it's just a modified version of camelcase by Nicholas C. Zakas) */ //------------------------------------------------------------------------------ // Requirements //--------------------------------------------------------------------...
(function (global, undefined) { var instruments = (function () { var _simpleCashflowList = { cashflows: function () { return [ { amount: 5, paymentDate: new Date(2012, 01, 01) }, { amount: 105, paymentDate: new Date(2012, 07, 07) } ...
/*//////////////////////////////////////////////// Script made by: ikefi http://steamcommunity.com/id/ikefi/ ////////////////////////////////////////////////*/ var sendMessage $(document).ready(function(){ // Current message id, used to keep track of what messages we need var currentMessageID = 0 ...
define(['jquery', '//cdn.jsdelivr.net/web-animations/1.0.6/web-animations.min.js'], function($) { 'use strict'; return function(args, ctx) { var i = $.inArray('--waitForEnd', args), waitForEnd = false, dir, duration = 900, keyframes; if (i !== -1 && i + 1 < args.length) { waitForEnd ...
/// <reference path="../../jquery-1.8.3.intellisense.js" /> /// <reference path="../../miniui/miniui.js" /> /// <reference path="../../jquery-bbq/jquery.ba-bbq.js" /> (function (window) { $().ready(function () { $("#selectSkin").change(function () { onSkinChange($(this).val()); }); ...
/* * Copyright (C) 2014 Camptocamp * * This file is part of MapFish Print * * MapFish Print is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
/** * 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. * * @flow */ import type {Fiber} from './ReactInternalTypes'; import type {Lanes} from './ReactFiberLane.old'; import type {UpdateQ...
(function () { 'use strict'; angular .module('webApp') .controller('AccountGamesController', accountGamesController); accountGamesController.$inject = ['TranslationFactory', 'WebAppConstants', 'GamelinkService', ...
var class_wanzyee_studio_1_1_crypto_long = [ [ "CryptoLong", "class_wanzyee_studio_1_1_crypto_long.html#a4b1cd1e431c417c3e55cea9504b4ce6a", null ], [ "ReadObfuscated", "class_wanzyee_studio_1_1_crypto_long.html#af57cdb2e3959435a73f296e10919600e", null ], [ "WriteObfuscated", "class_wanzyee_studio_1_1_crypto...
'use strict'; let React = require('react'); let Styles = require('../style/'); function keys(obj) { let keys = []; for (let key in obj) keys.push(key); return keys; } let Table = React.createClass({ _header: function() { let items = keys(this.props.items[0]).map(function(item,i) { return (<th ...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html const { join } = require('path'); const getBaseKarmaConfig = require('../../../karma.conf'); module.exports = function (config) { const baseConfig = getBaseKarmaConfig(); config.set({ ...
'use strict'; var Menu = require('menu'); function setupMenu() { return; var template = [{ label: 'Bieber', submenu: [{ label: 'What do you do?' }, { label: 'Never say never' }] }, { label: 'Electron', submenu: [{ label: 'About Electron', selector: 'orderFrontStan...
const webpack = require('webpack') const marked = require('marked') const renderer = new marked.Renderer() const USE_PREFETCH = process.env.NODE_ENV !== 'test' renderer.heading = (text, level) => { const escapedText = text.toLowerCase().replace(/[^\w]+/g, '-') return `<h${level}><a name="${escapedText}" href="#$...
'use strict'; var rhtml = require('rhtml'); module.exports = can.Control.extend({ defaults: { view: can.stache(rhtml('./main.mustache')) } }, { init: function (element, options) { // validateOptions(options); element.append(options.view()); } });
process.stdin.resume(); process.stdin.setEncoding('ascii'); var input = ""; var input_array = ""; var current_line = 0; process.stdin.on("data", function(data) { input += data; }); process.stdin.on("end", function() { input_array = input.split("\n"); main(); }); var readLine = function() { return in...
import AV from 'avoscloud-sdk' const QuestionComment = AV.Object.extend('QuestionComment') /** * Class Methods */ /** * Instance Methods */ export default QuestionComment
(function(module){ 'use strict'; var Pojo = require('../pojo'); function indicadoranaliticahl7(){ this.indicadoranaliticahl7id = ''; this.nombrehl7 = ''; this.nombre = ''; this.idindicador = ''; this.coste = ''; this.categoriahl7 = ''; this.orden = ''; this._metadata = { attrs: { 'indicadoran...
var fs = require('fs'); function Obtenerinfo() { var database = new DataBase(); var list = database.getTable("5000CasosPruebaCCVer7",'',0); console.log(list.length); console.log(list[0].length); }
(function () { 'use strict'; angular.module('ramlEditorApp') .service('newFileService', function newFolderService( ramlRepository, newNameModal, $rootScope, generateName) { var self = this; var specUrl = 'https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/ra...
/** * @flow */ import ncp from 'ncp'; export function ncpAsync(source: string, dest: string, options: any = {}) { return new Promise((resolve, reject) => { ncp(source, dest, options, err => { if (err) { reject(err); } else { resolve(); } }); }); } export class Semaphor...
require('./tasks/babel'); require('./tasks/test'); require('./tasks/cover');
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import { GridList, GridListTile, GridListTileBar } from 'material-ui/GridList'; import Subheader from 'material-ui/List/ListSubheader'; import IconButton from 'material-ui/IconButton'; import InfoIcon from 'm...
const passport = require('passport'); const JwtStrategy = require('passport-jwt').Strategy; const { ExtractJwt } = require('passport-jwt'); const LocalStrategy = require('passport-local'); const { JWT_SECRET } = require('./configuration'); const User = require('./models/user') //Se busca al usuraio que tenga el token ...
/** * when steps */ var db = require("../../data/db"); module.exports = function () { this .when(/^I (click|doubleclick) on the (link|button|element) "$string"$/, require('../support/action/clickElement')) .when(/^I (add|set) "$string" to the inputfield "$string"$/, requ...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var FestivalGoer = new Schema({ festivalGoerId: Number, personnalInformations : String }); module.exports = mongoose.model('FestivalGoer', FestivalGoer);
if (typeof(Class) === 'undefined') { /* Simple Inheritance http://ejohn.org/blog/simple-javascript-inheritance/ */ (function(){ var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/; // The base Class implementation (does nothing) this.Class = function(){}; // ...
import db from "lib/db" const app1 = {id: "001", slug: "app-1"}, app2 = {id: "002", slug: "app-2"}, appServer1 = {id: "001", appId: "001", name : "server 1"}, appServer2 = {id: "002", appId: "002", name: "server 2"}, user1 = {id: "001", slug: "user-1"}, user2 = {id: "002", slug: "user-2",...
(function(App) { App.Models.SoundCloud.Track = App.Models.SoundCloud.Base.extend({ parse: function(data, options) { return _.pick(data, "id", "stream_url", "title", "permalink_url", "user", "user_favorite", "created_at", "duration" ); }, }); })(App);