code
stringlengths
2
1.05M
import React, { Component } from 'react' import { connect } from 'react-redux' import { withRouter } from 'react-router' import { filter, get } from 'lodash' import { Button } from 'react-bootstrap' import moment from 'moment' import PmImg from 'components/PmImg' import FontAwesome from 'react-fontawesome' import Profi...
require('file?!../assets/laser_player.wav'); require('file?!../assets/laser_long.wav'); require('file?!../assets/laser_alien1.wav'); require('file?!../assets/laser_alien2.wav'); require('file?!../assets/audio/booo_daddy.wav'); require('file?!../assets/audio/booo_high.wav'); require('file?!../assets/audio/booo_standard....
module.exports = function (bookshelf) { return bookshelf.extend({ tableName: 'picks', game: function () { return this.belongsTo('Game'); }, winning_team: function () { return this.belongsTo('Team', 'winning_team_id'); }, losing_team: function () { return this.belongsTo('Team'...
'use strict'; document.querySelectorAll('.em-toggle')[0].addEventListener('click', function () { var element = document.querySelectorAll('.em-sidebar')[0]; var className = 'active'; if (element.classList.contains(className)) { element.classList.remove(className); } else { element.classList.add(className); } ...
import picState0 from './state0.png'; import picState1 from './state1.png'; import picState2 from './state2.png'; import picState3 from './state3.png'; import picState4 from './state4.png'; import picState5 from './state5.png'; import picState6 from './state6.png'; import picstate7 from './state7.png'; export default...
'use strict'; const http = require('http'), express = require('express'), _ = require('lodash'), redis = require('redis'); var client, app, server; module.exports = { addRoute: function(path, method, callback){ app[method](path, callback); }, removeRoute: function(path, method){ if(method === 'all'){ ...
'use strict'; angular.module('phi.system.directives.phiNotification', ['phi.system.i18nNotifications']) /** * A validation directive to ensure that the model contains a unique email address * @param Users service to provide access to the server's user database */ .directive('phiNotification', ['$timeout', 'i18nN...
angular.module('app.controllers') .controller('AddRedirectController', function ($scope, $http, Restangular) { $scope.saveRedirect = function () { Restangular.one('redirect').put($scope.redirect).then(function (result) { $scope.redirect = {} }) } });
var gulp = require('gulp'); var bundler = require('aurelia-bundler'); var bundles = require('../bundles.json'); var config = { force: true, baseURL: '.', configPath: './config.js', bundles: bundles.bundles }; gulp.task('bundle', ['unbundle', 'build'], function() { return bundler.bundle(config); }); gulp.task...
import {CylinderBufferGeometry, CylinderGeometry, BufferGeometry} from "three"; import {Locale} from "../../../../locale/LocaleManager.js"; import {ChangeAction} from "../../../../history/action/ChangeAction.js"; import {Editor} from "../../../../Editor.js"; import {NumberBox} from "../../../../components/input/NumberB...
var Strategy = require('./strategy'); /*! * Export `Strategy`. */ module.exports = { Strategy: Strategy };
console.log('Hello!'); //timeout should be large enough to stay alive during the test setTimeout(process.exit, 20000);
System.register(['@angular/core', '@angular/router'], function(exports_1, context_1) { "use strict"; var __moduleName = context_1 && context_1.id; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? d...
const stream = require('stream'); const promisify = require('es6-promisify'); const fs = require('fs'); const Oca = require('../../../src'); const readFile = promisify(fs.readFile); class StreamOutput extends Oca.Action{ constructor(){ super(); this.createInput('type: text'); this.createInput('file?: fi...
function productOfThreeNumbers(arr) { let x = parseInt(arr[0]); let y = parseInt(arr[1]); let z = parseInt(arr[2]); if (x == 0 || y == 0 || z == 0) { console.log("Positive"); return; } let negativeNumber = 0; if (x < 0) { negativeNumber++; } if...
exports.reducer = require('./lib/reducer') exports.simple_reducer = require('./lib/simple_reducer')
(function(angular) { 'use strict'; angular.module('matrixtrucking.services', [ ]); }(angular));
import path from 'path' import replayer from 'replayer' import webpack from 'webpack' import SentryWebpackPlugin from '../../src/index' import { SENTRY_API_KEY, SENTRY_ORGANIZATION, SENTRY_PROJECT } from './sentry' export const OUTPUT_PATH = path.resolve(__dirname, '../../.tmp') replayer.configure({ includeHeader...
let req = require('request'); let async = require('async'); let fs = require('fs'); let _ = require('lodash'); const REFS = {}; const OUT_FILE = __dirname + '/../integrations/generated/mailchimp/openapi.json'; const BASE_URL = "http://api.mailchimp.com/schema/3.0/Swagger.json"; const DELAY = 50; req.get(BASE_URL, {js...
module.exports = TheMinorErg; var BaseTerritory = require("./Base.js"); TheMinorErg.prototype = new BaseTerritory(); TheMinorErg.prototype.constructor = TheMinorErg; function TheMinorErg() { this.name = "The Minor Erg"; var neighbors = new Array( "ShieldWall", "PastyMesa", "FalseWallSouth", "HargPass", "Fa...
Template.team.onRendered(function () { $('.ui.accordion').accordion(); });
// Mediaresources service used to communicate Mediaresources REST endpoints (function () { 'use strict'; angular .module('mediaresources') .factory('MediaResourcesForTeacherService', MediaResourcesForTeacherService); MediaResourcesForTeacherService.$inject = ['$resource']; function MediaResourcesForT...
/** * zepto.range.js 1.0 * http://jquerywidget.com */ ;(function($, window, document, undefined) { $.fn.range = function(parameter,getApi) { if(typeof parameter == 'function'){ //重载 getApi = parameter; parameter = {}; }else{ parameter = parameter || {}; ...
'use strict'; const Errors = require('../errors'), util = require('../util'); class TypeBoolean { constructor() { this._default = undefined; this._validator = undefined; this._options = {}; } options(options) { if (util.isPlainObject(options)) { if (options.enforce_missing != null) {...
function noop() { } module.exports.noop = noop;
var exec = require('child_process').exec; var fs = require('fs'); var request = require('request'); var cheerio = require('cheerio'); var _ = require('underscore'); _.mixin( require('underscore.deferred') ); var inflection = require('inflection'); var Twit = require('twit'); var T = new Twit(require('./config.js')); va...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
/** * Created by candice on 17/3/29. */ export Layout from './components/Layout' export Content from './components/Content' export Footer from './components/Footer' export Header from './components/Header' export Sider from './components/Sider'
import enHkLocalisation from './en-hk'; import enSgLocalisation from './en-sg'; import enIdLocalisation from './en-id'; import enThLocalisation from './en-th'; import idIdLocalisation from './id-id'; import thThLocalisation from './th-th'; export default { 'en-hk': enHkLocalisation, 'en-sg': enSgLocalisation, 'e...
'use strict'; var express = require('express'); var bodyParser = require('body-parser'); var router = require('./../app/users/routes')(); module.exports = (function () { var app = express(); app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.json()); app.use('/', router); ret...
'use strict'; const fs = require('fs'); const sql = require('sql.js'); let db, lastPath; function openDb(path) { if (db === undefined || lastPath !== path) { lastPath = path; let filebuffer = fs.readFileSync(path); db = new sql.Database(filebuffer); } return db; } module.exports.openDb = openDb;
var CoreObject = require('core-object'); var RSVP = require('rsvp'); var chalk = require('chalk'); var red = chalk.red; var green = chalk.green; var white = chalk.white; module.exports = CoreObject.extend({ upload: function (indexHtml) { var that = this; var key = that.taggingAdapter.createT...
'use strict'; (function () { function storeProductController(stateParams, Products, AppState) { var self = this; // self.product = Products.get({ // productId: stateParams.productId // }); self.product = AppState.getActiveProduct(); self.mainImage = self.product.mainImage; self.displ...
import { observer } from '@ember/object'; import Helper from '@ember/component/helper'; export default Helper.extend({ changed: observer('object.isLoaded', function() { this.recompute(); }), compute([object]) { this.set('object', object); return this.get('object.isLoaded'); }, });
'use strict'; const expect = require('chai').expect; const Future = require('../fluture.js'); const FutureEncase = Future.classes.FutureEncase; const U = require('./util'); const unaryNoop = a => void a; const binaryNoop = (a, b) => void b; const ternaryNoop = (a, b, c) => void c; describe('Future.encase()', () => {...
var chanceCode = new Chance(); function codeGen(){ var code = ''; var sum = 0; while (sum <= 100) { var temp = chanceCode.integer({min:1,max:9}); if ((sum + temp) <= 100){ code += temp; } else{ code += (100-sum); } sum += temp; } ...
sap.ui.define([ "sap/ui/core/UIComponent", "sap/ui/model/json/JSONModel", "sap/ui/model/resource/ResourceModel" ], function (UIComponent, JSONModel, ResourceModel) { "use strict"; return UIComponent.extend("sapui5-exploration.Component", { metadata : { rootView: "sapui5-exploration.view.mai...
import { h } from 'omi'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(h("path", { d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5S5...
(function (window) { 'use strict'; var applicationModuleName = 'owwwly'; var service = { applicationEnvironment: window.env, applicationModuleName: applicationModuleName, applicationModuleVendorDependencies: ['ngResource', 'ngAnimate', 'ngMessages', 'ui.router', 'ui.bootstrap', 'ngFileUpload', 'ngIm...
import styled from 'styled-components'; const ModalRow = styled.div` padding: 2px 2px 2px 2px; margin-left: 0px; margin-top: -15px; width: auto; background-color: white; border-radius: 3px; overflow: hidden; box-sizing: border-box; display: flex; -webkit-box-orient: horizontal; -webkit-box-dire...
/* ========================================================= * bootstrap-validation.js * Original Idea: http:/www.newkou.org (Copyright 2012 Stefan Petre) * Updated by 不会飞的羊 (https://github.com/FateSheep/Validation-for-Bootstrap) * ========================================================= * * Licensed under the ...
// ProcessPaletteView = require '../lib/process-palette-view' // describe "ProcessPaletteView", -> // it "has one valid test", -> // expect("life").toBe "easy"
'use strict'; (function() { function crudRouteProvider($routeProvider) { // This $get noop is because at the moment in AngularJS "providers" must provide something // via a $get method. // When AngularJS has "provider helpers" then this will go away! this.$get = angular.noop; // Again, if Angu...
import React, {Component} from 'react'; import {Link} from 'react-router'; import {connect} from 'react-redux'; import {AppBar,LeftNav,MenuItem,List,ListItem } from 'material-ui'; import { browserHistory } from 'react-router'; import { pushState } from 'redux-react-router'; @connect(state => ({MenuItem: state.menu....
describe('header navigation', function() { beforeEach(function() { affix('#calendar') var options = { header: { left: 'next,prev,prevYear,nextYear today', center: '', right: 'title' } } $('#calendar').fullCalendar(options) }) describe('and click next', functi...
'use strict'; var marked = require('marked'), fs = require('fs'); module.exports = { // refines configure using server context processConfig: function( config ){ // get the options for the right server setup var out = {}, serverMode = (process.env.NODE_ENV) ? process.env.NODE_ENV...
import express from 'express'; // curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{"username":"adriana", "password":"gazuta", "action":"updateProducts"}' "http://localhost:9999/v1/adm" -v' import { admin, authCallback } from './admin'; import { sendContactMessage } from './contact'; ...
import * as types from './constants/settings' export const saveSettings = (settings) => ({ type: types.SAVE_SETTINGS, payload: settings }) export const fetchExchangeRate = (fiatCurrency) => ({ type: types.FETCH_EXCHANGE_RATE, payload: fiatCurrency })
function foo () { var bar = 5; return bar; }
{ "orders": [ { "id" : "0001", "customer" : "0", "orderDate" : "1410437150560", "totalValue": "13.99", "items" : [ { "id" : "0001", "name" : "Alien", "price" : "14.99" }, { "id" : "0007", ...
'use strict'; export default function($stateProvider) { 'ngInject'; $stateProvider .state('topics', { url: '/topics', template: '<topics></topics>' }); }
var crypter = require('./crypter'), cryption = process.argv[2], input = process.argv[3], key = process.argv[4]; if (cryption && input && key && (cryption === 'encrypt' || cryption === 'decrypt')) { console.log('\n' + (cryption === 'encrypt' ? 'Cipher (HEX): ' : 'Original message: ') + crypter(cryption,...
describe('Test Metro', function() { var sinon = require('sinon'); var metro = require('./../index'); var Q = require('q'); var testPipeline = { send: function(key, value, units) { if (this.callback) { this.callback.apply(null, arguments); } }, register: function(callback) { ...
/** * A simple test case that determines if elements, specified by a selector, * exist or not. * * The test fails for elements that are found and a case is created for each * one. The test passes is the selector finds no matching elements. */ quail.headerH5Format = function (quail, test, Case, options) { var s...
import _ from 'lodash' import Numeral from 'numeral' export function asCurrency (value) { return Numeral(value).format('$0,0') } export function formatValue (indicator, value) { if (_.isNull(value) || _.isUndefined(value)) { return 'not available' } if (indicator.match(/index/i)) { return Numeral(val...
// @reference ../Lib (function(secret){ window.a = secret; }(secret));
YUI.add('yui2-autocomplete', function(Y) { var YAHOO = Y.YUI2; /* Copyright (c) 2008, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.5.2 */ /** * The AutoComplete control provides the front-end logic for text-entry suggestion and ...
'use strict'; module.exports = { db: 'mongodb://localhost/legrogjdra-dev', app: { title: 'LeGrogJdRA - Development Environment' }, facebook: { clientID: process.env.FACEBOOK_ID || 'APP_ID', clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET', callbackURL: 'http://localhost:3000/auth/facebook/callback...
version https://git-lfs.github.com/spec/v1 oid sha256:8fe583520183995f24ee359a91a22efb04aa373e9b706577c98469c11d1abac6 size 100676
const fs = require('fs'); const path = require('path'); const { writeIconModule, createExportLine, readFromSvgContent, findAllSvgFiles } = require('./utils'); const baseFolder = __dirname + 'material-design-icons-4.0.0'; const outFolder = __dirname + '/' + path.join('..', 'src', 'md'); /** * Download latest fro...
// Components const InputDate = FocusComponents.common.input.date.component; const Button = FocusComponents.common.button.action.component; // Definition of moment's locale. moment.locale('en'); const datePickerFrenchLocale = { format: 'll', separator: ' - ', applyLabel: 'Appliquer', cancelLabel: 'Ab...
/** * Java.js : EventObject * * @author Adnan M.Sagar, PhD. <adnan@websemantics.io> * @copyright 2004-2016 Web Semantics, Inc. (http://websemantics.io) * @license http://www.opensource.org/licenses/mit-license.php MIT * @since 5th January 2005 * @package websemantics/oea/java.js/util */ /*...
(function() { var Q, getOpenGraphData, getUrlContent, getUrlDataRetry, jobs, kue, kueOptions, mongoose, objectLength, request, selectUserFields, settings, twitter, twitter_text_options, unique; require('newrelic'); mongoose = require('mongoose'); kue = require('kue'); kueOptions = process.env.REDIS_PORT ?...
const $$ = document.querySelectorAll.bind(document); export default $$;
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... es5id: 15.10.2.6_A2_T7 de...
module.exports = { testEnvironment : 'node', moduleFileExtensions : ['js', 'ts'], coveragePathIgnorePatterns : ["/node_modules/", "/src/ts/tests/"], testMatch : ['**/*.spec.ts'], transform : { '^.+\\.ts$': 'ts-jest' }, verbose : fals...
version https://git-lfs.github.com/spec/v1 oid sha256:29360997f0d93017f8a870c2db6ef94714e7c4b407dea2751d2b28af0759b863 size 2121
/** * The following features are still outstanding: popup delay, animation as a * function, placement as a function, inside, support for more triggers than * just mouse enter/leave, html popovers, and selector delegatation. */ module.exports = angular.module( 'ui.bootstrap.popover', [ 'ui.bootstrap.tooltip' ] ) .d...
'use strict'; var Promise = require('bluebird'); var ForbiddenError = require('../forbidden-error'), constants = require('../constants'); var Attr = require('./attr'), AttrParams = require('./attr-params'); var Attrs = function (partitions, policy, users, roles, partitioner) { this._partitions = partitions; ...
const expect = require('chai').expect; const checkPage = require('../../../demo/baidu_search/nightmare-async'); describe('(nightmare-async)百度首页:搜索', function () { this.timeout(30000); let matmanResult; before(async function () { matmanResult = await checkPage({show: false, doNotCloseBrowser: false, useRec...
version https://git-lfs.github.com/spec/v1 oid sha256:709fd952848e327d45e77a3d0cc90e7e0bd2785c67f22a9e45f3bcf96fcfcebc size 825
Ext.namespace("com.zz91.zzwork.scheduler.report"); var REPORT=new function(){ this.REPORT_GRID="reportgrid"; } /** * 映射关系 * */ com.zz91.zzwork.scheduler.report.Field=[ {name:"id",mapping:"id"}, {name:"DeptCode",mapping:"DeptCode"}, {name:"account",mapping:"account"}, {name:"text",mapping:"text"}, ...
const actionTypes = require('./types'); exports.searchSuccess = (query) => (results) => ({ type: actionTypes.SEARCH_SUCCESS, payload: { query: query, results: results } }); exports.refreshEntity = (entity) => ({ type: actionTypes.REFRESH_ENTITY, payload: { en...
(function () { 'use strict'; angular .module('filters.module') .filter('underscoreToSpace', underscoreToSpace); function underscoreToSpace() { return underscoreToSpaceFilter; //////////////// function underscoreToSpaceFilter(text) { if (text !== undefined) { return text.spli...
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('twitch-block', 'Unit | Model | twitch block', { // Specify the other units that are required for this test. needs: [] }); test('it exists', function(assert) { let model = this.subject(); // let store = this.store(); assert.ok(!!model); });
choona.util.debug = true; var application ; $("#unloadApp").toggle(function() { application.end(); $(this).val("Load Application"); }, function() { StartApplication(); $(this).val("Unload Whole Application"); }); function StartApplication(){ console.log("started"); application = choona.startApp({ id:"applica...
// Generated by CoffeeScript 1.6.3 /** @const @type {boolean} */ var WEB = true; ; var exports; exports = window['sharejs'];
'use strict' let argv = require('yargs').argv let Fuser = require('floca') let FuserAMQP = require('floca-amqp') let fuserAMQP = new FuserAMQP() let Assigner = require('assign.js') let assigner = new Assigner() if (argv.env === 'dev') process.argv.development = true let env = argv.env ? ('.' + argv.env) : '' let ...
import request from 'superagent/lib/client'; import AuthStore from '../stores/AuthStore'; export default { // We want to get a list of all the contacts // from the API. This list contains reduced info // and will be be used in the sidebar getContacts: (url) => { return new Promise((resolve, reject) => { ...
import React, { Component } from 'react' import { connect } from 'react-redux' import { createStructuredSelector } from 'reselect'; import { updateWindow, destroyWindow } from 'containers/App/windowActions'; import { selectWindow } from 'containers/App/selectors'; import { apiCall } from 'utils/remoteCall'; impo...
let x = 'Foo'; const y = () => `${x}-Bar`;
var rest = angular.module( 'moduleMailing', [] ); rest.service( 'Mail', ['$http', 'Base64', function ($http, Base64) { var _credentials = 'Basic ' + Base64.encode('saintefoy:services'); this.askQuestion = function (name, mail, msg, serv, callback) { var envoi = { ...
/** * Created by kisnows on 2017/2/22. */ import React, { Component } from 'react' import { Toast, Button, Dialog, Alert, ActionSheet, CellInput } from '../../../src' export default class ModalPage extends Component { constructor (props) { super(props) this.state = { phone: '', formD...
import LocalNotificationAdapter from './ember-notification-local-notification'; export default LocalNotificationAdapter.extend({});
export default { dashboards: { go: { name: "Go", runtime: "GO", summaryCard: { icon: "Go", chart: { type: "value", dataAttribute: "go_metrics/runtime/alloc_bytes" }, lines: [ { name: "Heap Used", value: [ ...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
/** * This file include all JavaScript methods that renders UI * and sends ajax requests to backend REST endpoints */ //Global variables var sinceMonth = new Date(); var untilMonth = new Date(); var sinceWeek = new Date(); var untilWeek = new Date(); /** * Performs a call to the backend GET "/getRequestsLeft" ...
var mailer = require('nodemailer'); var pool = require('nodemailer-smtp-pool'); var _ = require('underscore'); module.exports = function(app) { var _log = app.lib.logger; var _group = 'BOOT:MAILERPOOL'; try { var _conf = app.lib.bootConf(app, 'mailer'); if( ! _conf ) ...
(function ($) { // register namespace $.extend(true, window, { Slick: { CellCopyManager: CellCopyManager } }); function CellCopyManager(options) { var _grid; var _self = this; var _copiedRanges; // keeps track of the last marked (Ctrl-C copied) range var _options = options || ...
//determines the location of sprite on the game board in specific game levels. var levelData = { 1: [[0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0], ...
'use strict'; /* Controllers */ var siteGenControllers = angular.module('siteGenControllers', ['siteGenServices','siteGenDirectives']); /* caputire the form input to start the serivce */ siteGenControllers.controller('siteGenCtrl', function ($scope, photoData, iconData, contentData) { var inputValue, q...
// Load modules var Hapi = require('hapi'); // Declare internals var internals = {}; internals.get = function (request, reply) { reply(new Error('Here is my error')); }; internals.onPreResponse = function (request, reply) { // Demonstrates how to hide error messages from the client if (request.re...
/** * Created by Cristel on 1/3/2015. */ define('config', function(require) { var config = { /** Allows multiple instances of the sarmenu to be open at once */ 'allowMultipleMenus': true }; return config; });
export const fontSize = {"viewBox":"0 0 16 16","children":[{"name":"path","attribs":{"fill":"#000000","d":"M1 8h6v2h-2v6h-2v-6h-2zM15 4h-3.934v12h-2.133v-12h-3.934v-2h10z"}}]};
const test = require('tape') const nlp = require('../_lib') test('plural-verbs:', function (t) { let r = nlp('i look at') let len = r.verbs().isPlural().length t.equal(len, 0, 'i singular') r = nlp('we look at it. They report on it') len = r.verbs().isPlural().length t.equal(len, 2, 'they plural') r = ...
import request from 'request'; import async from 'async'; import Logger from './Logger'; /* Utility class for pulling AWS metadata that Eureka requires when registering as an Amazon instance (datacenter). */ export default class AwsMetadata { constructor(config = {}) { this.logger = config.logger || new Log...
import express from 'express'; import http from 'http'; import engine from 'react-engine'; import path from 'path'; import sckengine from 'socket.io'; const port = process.env.PORT || 3000; const app = express(); //Rutas para los archivos estaticos app.use(express.static(path.join(__dirname, '../../public'))) //def...
var Java = function() { }; Java.prototype.type = function(name) { var current = Packages; var paths = name.split(/\./g); for (var i = 0; i < paths.length; i++) { current = current[paths[i]]; } return current; }; Java.prototype.synchronized = function(obj, target) { if (target) { return new Pack...
exports.data = { name: 'Waking Titan Terminal Commands', command: 'terminal', description: 'Checks value of a Waking Titan terminal commmand.', group: 'WakingTitan', syntax: 'wt terminal [command]', author: 'Matt C: matt@artemisbot.uk', permissions: 0 }; const request = require('request-promise-native'); const ...
/*! * DropSearch * https://github.com/scazzy/DropSearch/ * * Twitter: @eltonjain */ (function(){window.DropSearch=function(l){function m(a,b,d){var f=b.children("."+c.eleResultListClass),e=f.children("li"),g=b.children("."+c.eleInputClass),h=!1;a.on("change",function(){var d=a.find("option:selected"),d=k(d);b.fin...