code
stringlengths
2
1.05M
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define("Bulma", [], factory); else if(typeof exports === 'object') exports["Bulma"] = factory(); else root...
/* * Module :: euroInput.js * Info : Module for the input element of dollar currency. */ (function(Core) { Core.register('euroInput', function (sandbox) { return { /** * init is a method that is used to make the listeners add and start * @param N/A */ init : function () { ...
/** @module memory */ (function (factory) { if (typeof module !== 'undefined' && typeof module.exports !== 'undefined' && typeof require !== 'undefined') { // CommonJS module.exports = factory(require('q'), require('underscore-data'), require('./base')); } else { // running in browser ...
/********************************************************************************* MIT License Copyright (c) 2016 - Miguel Ángel Pérez Martínez 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 wi...
/* eslint-disable no-console */ import React from 'react' import Portal from './Portal' export class App extends React.Component { state = { pickerVisible: false, } handleToggleVisibility = () => { this.setState(({ pickerVisible }) => ({ pickerVisible: !pickerVisible, })) } handleColorCh...
console.log("こんにちは世界");
import https from 'https'; import http from 'http'; import url from 'url'; import {resCodes} from '../utils/utils'; export const _send = (options, resolve, reject) => { let body = ''; let module = options.protocol === 'http:' ? http : https; return module.request(options, (res) => { res.setEncoding('utf8'); ...
$(function() { $('button:submit').prop("disabled", true); $('input#inputPhone').keyup(function(){ validate(); }); $('.phone_us').mask('(000) 000-0000'); // $('button:submit').click(function(){ // $('#phone_error').empty().append("Your text was sent to " + $("#inputPhone").val()); // }) function v...
import React from 'react'; import { Menu, Icon } from 'semantic-ui-react'; import { ALL_POSTS } from '../../util/Constants'; import { Link } from 'react-router-dom'; const HomeMenu = ({ activeMenu }) => { return ( <Link to="/"> <Menu.Item name={ALL_POSTS} active={activeMenu === ALL_POSTS}> <Icon na...
jQuery.fn.showMeMore = function (options) { var options = $.extend({ current: 4, count: 4, fadeSpeed: 300, showButton: '', hideButton: '', showButtonText: 'showButton', hideButtonText: 'hideButton', enableHide: false, generateBtn: tru...
/** * @file Application Router and Controller * @author Jason Wohlgemuth * @module router **/ define(function(require, exports) { 'use strict'; var Marionette = require('backbone.marionette'); /** * @name RouterController * @constructor * @extends Marionette.Object * @prop {function...
var assert = require("assert"); var TVDB = require(".."); var API_KEY = process.env.TVDB_KEY; describe("Utility Functions", function() { it("should parse a pipe list to a javascript array", function() { var input = "abc|def|ghi|jkl|"; var output = TVDB.utils.parsePipeList(input); assert.d...
/* * * ConciergePage * */ import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import { FormattedMessage } from 'react-intl'; import { createStructuredSelector } from 'reselect'; import makeSelectConciergePage from './selectors'; import messages from './messages'; export class Concierg...
define(function(require){ var defineComponent = require('flight/lib/component'); return defineComponent(notification); function notification(){ this.defaultAttrs({ alert: '.alert' }); this.after('initialize', function(){ this.attachEventListeners(); }); this.attachEventListen...
define([],function(){ var substringMatcher = function(strs) { return function findMatches(q, cb) { var matches, substrRegex; // an array that will be populated with substring matches matches = []; // regex used to determine if a string contains the substring `q` substrRegex =...
(function(){"use strict";function handleClick(e){var anchor=e.currentTarget;var url=anchor.getAttribute("href");var element;if(/^(javascript|mailto|data|blob):/.test(url)){return true}var pathNav=!/\:?\/\//.test(url);var fragmentId=/^\s*#/.test(url);if(fragmentId){element=document.querySelector(url)||document.getElemen...
/*! * Propeller v1.3.3 (http://propeller.in): accordion.js * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ var pmdAccordion = function ($) { /** * ------------------------------------------------------------------------ * Variables * ------------------------...
import React, { Component } from 'react' import PropTypes from 'prop-types' import { TransitionMotion, spring } from 'react-motion' import styled from 'styled-components' const Title = styled.div` height: 6vmin; position: absolute; top: 0; left: 0; display: flex; align-items: center; white-...
/** * Pago.js * * @description :: TODO: You might write a short summary of how this model works and what it represents here. * @docs :: http://sailsjs.org/documentation/concepts/models-and-orm/models */ module.exports = { attributes: { // Usuario que paga el Servicio serviciousuario:{ ...
/** * Item.js * * @description :: TODO: You might write a short summary of how this model works and what it represents here. * @docs :: http://sailsjs.org/documentation/concepts/models-and-orm/models */ module.exports = { attributes: { region: { model: 'region' }, c...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("specialchar","si",{euro:"යුරෝ සලකුණ",lsquo:"වමේ තනි උපුටා දක්වීම ",rsquo:"දකුණේ තනි උපුටා දක්වීම ",ldquo:"වමේ දිත්ව උපුටා දක්වීම ",rdquo:"දකුණේ දිත...
/** All triggerable application events for publish/subscribe. Events are triggered by any module that needs to send out an app-wide alert. Then other modules can subscribe to these events. The Views are directly bound to model change events. That communication does not use this framework. Also, th...
var game = require('./game/GameController'); var saveStruct = require('./game/data/saveSchema'); var progress = require('./progress'); var GameLoader = { currentSaveName: "", slotNamesList: null, init: function() { progress.createSaveSlots(); this.slotNamesList = progress.getSaveList(); }, load: function(l...
GS.GridObject = function(grid, layer, sourceObj) { this.id = GS.gridObjectIdCount; this.grid = grid; this.type = layer; this.sourceObj = sourceObj; this.linkedGridCells = []; this.view = null; this.removed = false; this.usable = false; this.lightLevelFactor = 0.1; this.minLightLevel = 0.1; this.maxLightLev...
users-single.js
'use strict'; var util = require('util'); var path = require('path'); var yeoman = require('yeoman-generator'); var colors = require('colors'); var fs = require('fs') var ControllerGenerator = module.exports = function ControllerGenerator(args, options, config) { yeoman.generators.Base.apply(this, arguments); this...
import path from 'path'; import fs from 'fs'; import test from 'ava'; import webpack from 'webpack'; import MemoryFS from 'memory-fs'; import commonjs from 'rollup-plugin-commonjs'; function normalize(string) { return string .replace(/(\r\n|\r|\n)/g, '\n') .trim(); } async function fixture(t, entry, options) { ...
$(document).on('click', '.customCheckBox', function(e) { if ($(this).is(':enabled')) $(this).parent().toggleClass("selected"); }); $(document).on('click', '.customRadioBox input', function(e) { var radioButton = $(this).parents('fieldset').find('input'); if ($(this).is(':enabled')) { $(this...
beforeEach(function() { this.addMatchers({ hasPrototypeChain : function(chain) { var expected = Array.isInstance(chain) ? chain : arguments; var proto = this.actual; for ( var i = expected.length - 1, cls; cls = expected[i]; --i) { do { ...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Sayfalar Schema */ var SayfalarSchema = new Schema({ baslik: { type: String, default: '', required: 'Başlık yazın', trim: true }, uzanti: { type: String, default: '', ...
"use strict"; // Read power from Current Cost (transactional power reading, not history) var com = require("serialport"); var parseXML = require("xml2js").parseString; var serialPower; var sensors = []; var sensor = function(ch0, ch1, ch2) { this.ch0 = ch0; this.ch1 = ch1; this.ch2 = ch2; } var sensCh ...
(function() { var modules = {}; function initModule(name, module) { if (modules[name]) { console.error("Module with name " + name + " already initialized"); } else { modules[name] = module; } } window.app = function(name, module) { if (module) {...
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class AndroidTime extends React.Component { render() { if(this.props.bare) { return <g> <g id="Icon_1_"> <g> <g> <path fill-opacity="0.9" d="M256,43C137.789,43,43,138.851,43,256s94.789,213,213,213s213-95.851,...
this.$defined = function(obj){ return (obj != null); }; /* https://github.com/anutron/mootools-more/raw/shake/ Script: Fx.Tween.js Formerly Fx.Style, effect to transition any CSS property for an element. License: MIT-style license. */ Fx.Shake = new Class({ Extends: Fx.Tween, options: { times: 5 }, ini...
var net = require('net'); var server = net.createServer(function (socket) { echo(socket); }); function echo(socket){ socket.write('Echo server\r\n'); socket.pipe(socket); } server.listen(1337, '127.0.0.1');
var gulp = require('gulp'); var $ = require('gulp-load-plugins')(); var merge = require('merge-stream'); var config = require('../config.js').icons; gulp.task('icons:scale-icons', function() { // Define all icon sizes for Android const android = { 'ldpi' : { width: 36, height: 36 }, 'mdpi' : { width:...
export default function fetchAccessToken() { const session = window.localStorage.getItem('boxal') || '{}'; return JSON.parse(session).token; }
Tea.infuse('greet', function (require, exports) { function helloPython() { document.write("Hello,Python") } function helloJavaScript() { document.write("Hello,JavaScript") } exports.helloPython = helloPython exports.helloJavaScript = helloJavaScript }) Tea.taste(function (requi...
var reqExtend = require( '../request-extend' ); req = { prop1 : 'a', prop2 : 'b', prop3 : 'c' }, res = undefined, next = function () {}, mod = { name : 'request-extend', node : 'rocks' } module.exports = { 'apply with namespace' : function ( test ) { test.expect( 3 ); var fn = r...
/*eslint-env node, mocha*/ /* eslint no-magic-numbers: 0 */ /* eslint 'max-len': [ 'error', 200 ] */ const R = require('ramda') const { expect } = require('chai') const MySqlStore = require('../../../lib/mysql') const Err = require('../../../lib/error') // Remove new line characters and replace mult...
/* gulpfile.js =========== Rather than manage one giant configuration file responsible for creating multiple tasks, each task has been broken out into its own file in gulp/tasks. Any files in that directory get automatically required below. To add a new task, simply add a new task file that directory. ...
/** * 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...
$( document ).ready(function() { $("div.headertitle").addClass("page-header"); $("div.title").addClass("h1"); $('li > a[href="index.html"] > span').before("<i class='fa fa-cog'></i> "); $('li > a[href="modules.html"] > span').before("<i class='fa fa-square'></i> "); $('li > a[href="namespaces.html...
(function () { 'use strict'; angular.module('rdf.ui') /** * @ngdoc service * @name rdf.ui.service:array * * @description * angular-ui-tree. */ .factory('arrayService', [ function () { var self = null; var arrayService = {}; ...
require('dotenv').config(); const test = require('tape'); const fs = require('fs'); const path = require('path'); const FormData = require('form-data'); const { request, ResourceUrl } = require('../..'); const meter = require('stream-meter'); const probe = require('probe-image-size'); const async = require('async'); ...
/* YeAPF 0.8.59-128 built on 2017-12-22 07:10 (-2 DST) Copyright (C) 2004-2017 Esteban Daniel Dortta - dortta@yahoo.com */ if("undefined"===typeof console)var console="undefined"!=typeof window?window.console=window.console||{}:{};(function(){for(var a="assert clear count debug dir dirxml error exception group groupCol...
/** * @package GoUrl Bitcoin/Altcoin Payment Box - show iFrame Payment Box * @copyright 2014-2021 Delta Consultants * @category Javascript * @website https://gourl.io * @api https://gourl.io/api.html * @version 2.2.2 */ /** * Display iFrame payment box * Full Instruction - https://g...
"use strict"; const getSuites = require("./get-suites"); module.exports = function pathToSuites(benchmarks, paths) { let ret = []; if (paths && paths.length) { // dom/construction/createElement => benchmarks.dom.construction.createElement for (const path of paths) { const parts = path.split(/[/\\]/)...
var structca_1_1axoninteractive_1_1_geometry_1_1_hex_1_1_axial_hex_coord = [ [ "AxialHexCoord", "structca_1_1axoninteractive_1_1_geometry_1_1_hex_1_1_axial_hex_coord.html#a1649e0af0ab864522c7074f0da4bc632", null ], [ "Equals", "structca_1_1axoninteractive_1_1_geometry_1_1_hex_1_1_axial_hex_coord.html#a46f04d45b...
const webpack = require('webpack') const path = require('path') module.exports = (function(options) { return { entry: __dirname + "/src/index.ts", output: { path: __dirname + "/dist", // // TODO: // Enter your library name here! // filename: "LibraryTemplate.js", ...
version https://git-lfs.github.com/spec/v1 oid sha256:91489eaa6c26cc40a561dec66c0c372e9f3045293d723443e2ec6a6e8be2542e size 1890
/** * 全局提示 * @author zhangjialin * @version 0.0.2.1 * @note * 全局展示操作反馈信息,居中显示并自动消失,单例模式,可提供“成功”等反馈信息 */ define(function(require) { const React = require('react'); const ReactDOM = require('react-dom'); const Skin = require('./Skin.jsx'); var util = require('./core/util'); var cTools = re...
// Classy - Yet another Javascript OO-framework (complete) // (c) 2011-2015, Michel Beaudouin-Lafon, mbl@lri.fr // Open sourced under the MIT License (function(exports) { var Metaclass; function object(myClass, init) { Object.defineProperty(this, "__class", { value: myClass, writable: false, enumerable: false, ...
#!/usr/bin/env node /* eslint-disable no-multi-spaces */ 'use strict'; const assert = require('assert'); const common = require('../../prelude/common.js'); function substituteMany (files) { const d = common.retrieveDenominator(files); return files.map((f) => common.substituteDenominator(f, d)); } if (process.p...
const parser = require('jsonlint').parser; const jjv = require('jjv'); const schemaError = require('./schema-error'); const pkg = require('../package'); function parse(source) { try { return parser.parse(source); } catch (error) { error.type = pkg.name; error.step = 'parse'; throw error; } } function valid...
define(['jquery', 'kissy', 'ui/popwin'], function($, S, Popwin){ return { /** * 根据url获取一段html并放在popwin里面显示出来 * @param config Object * config.url String * config.data postData * config.fn callback * @return ui/popwin */ showPop: function(config){ S.mix(config, { grid: null, url: null...
$(function(){ function testInput(type, asserts, jqObject) { test(type, function() { var $el = jqObject || $('<input type="' + type + '">'); asserts.forEach(function(item) { try { $el.val(item.value); deepEqual($el.val(), item.expected, JSON.stringify(item)); } catch (e) { ...
import EventEmitter from 'eventemitter3'; import { TRANSFORM_MODE } from '../const'; import TransformStatic from './TransformStatic'; import Transform from './Transform'; import Bounds from './Bounds'; import { Rectangle } from '../math'; // _tempDisplayObjectParent = new DisplayObject(); /** * The base class for all...
'use strict'; const shttp = require('./index.js'); shttp.listenToPort(6111); shttp.setPublicFolder(__dirname); shttp.setDefaultPage('index1.html'); // Order does not matter, as long as the whole directory structure is there when initialized // ie, // shttp.routePath('datInner1').toDir('inner1'); // will route t...
!function(e,t){"use strict";"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t:e.empty=t(e)}(this,function(){"use strict";return function(e){for(;e.firstChild;)e.removeChild(e.firstChild);e.innerText&&(e.innerText="")}});
const morgan = require('morgan') const requestLogger = require('./requestLogger') const { E_MIDDLEWARE_NOT_ARRAY } = require('./../errors') function middlewareHandler ({ server, drawer, middleware, setLogger }) { if (middleware.constructor !== Array) { return { error: E_MIDDLEWARE_NOT_ARRAY } } if (setLogge...
jQuery(function ($) { 'use strict'; $('[data-rel=datepicker]').datepicker({ autoclose: true, todayHighlight: true }); var $table = $('#table-orders'); var table = $table.dataTable({ bSortCellsTop: true, order: [ [ 0, 'desc' ] ], columnDefs...
var mouse = { x:0, y:0, down:false, init:function(){ $('#gamecanvas').mousemove(mouse.mousemovehandler); $('#gamecanvas').mousedown(mouse.mousedownhandler); $('#gamecanvas').mouseup(mouse.mouseuphandler); $('#gamecanvas').mouseout(mouse.mouseuphandler); }, mousemovehandler:function(ev){ var offset = $('...
/** * Module dependencies */ var mongoose = require('mongoose') , Schema = mongoose.Schema /** * UserModel * * Will be passed to Crud for dissection. Crud will then normalize and simplify * the JSON-object to something fairly human-friendly. */ var Users = new Schema({ 'added': {type: Date, 'default': ...
const config = require('./../../config/index'); var redis = require('redis'); var client = redis.createClient({ host: config.redis.server, port: config.redis.port, password: config.redis.password, }); exports.setObject = function (key, object) { // 进入前需要先序列化 client.set(key, JSON.stringify(object))...
var gulp = require('gulp'); var webpack = require('webpack-stream'); var gutil = require('gulp-util'); var uglify = require('gulp-uglify'); var rename = require('gulp-rename'); var sourcemaps = require('gulp-sourcemaps'); var replace = require('gulp-replace'); var mocha = require('gulp-spawn-mocha'); var jshint = requi...
import Enemy from './Enemy'; import Bullets from './../bullet/Bullets'; import Baby from './../bullet/Baby'; export default class Woman extends Enemy { constructor(game, player, x, y) { super(game, x, y, 'woman'); this.player = player; this.game = game; this.game.physics.arcade.enable(th...
var keydownup = require("./index") keydownup(process.stdin) process.stdin.on('keydown', function(){ console.log("keydown") }) process.stdin.on('keyup', function(){ console.log("keyup") }) process.stdin.on('keypress', function(ch, key){ console.log("keypress") if(key && key.name == "c" && key.ctrl){ console...
import Ember from 'ember'; export default Ember.Component.extend({ tagName: 'div', classNames: ['content'], classNameBindings: ['_uiClass', 'theme'], _uiClass: 'ui', });
'use strict'; var User = function (name) { this.name = name; }; User.prototype.toString = function () { return this.name; }; module.exports = User;
'use strict'; // The line below is where the injection happens to access Children. Note how the controller now has square brackets that open here and close at the end. // This means we are registering dependencies for the controller. Dragon warnings: $scope need to come first. Always. Also, the first time you see the ...
/** * @author Toru Nagashima * @copyright 2017 Toru Nagashima. All rights reserved. * See LICENSE file in root directory for full license. */ 'use strict' // ------------------------------------------------------------------------------ // Helpers // ----------------------------------------------------------------...
/** * @module Hook * @class Hook.System * * @param {Client} client * @constructor */ Hook.System = function(client) { this.client = client; }; /** * Return server's system time. * @method time * @return {Promise} */ Hook.System.prototype.time = function() { var promise = this.client.get('system/time'); ...
NeuralNFL = { init: function() { $('form#inputs').submit(function(e) { e.preventDefault(); if ($('form#inputs').serializeArray().some(function(field) { return field.value === '' })) { return NeuralNFL.showError(); } $.ajax({ u...
module.exports = function(grunt) { // 1. All configuration goes here grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { // 2. Configuration for concatinating files goes here. vendor: { src: [ 'resources/scripts/jquer...
/** * Configures and starts express server via Let's Encrypt. * * Events are fired during initialisation to allow customisation, including: * - onHttpServerCreated * * consumed by lib/core/start.js * * @api private */ var async = require('async'); var http = require('http'); var https; try { // Use spdy if...
//----------------------------------------------------------------------------- // Scene_Gameover // // The scene class of the game over screen. function Scene_Gameover() { this.initialize.apply(this, arguments); } Scene_Gameover.prototype = Object.create(Scene_Base.prototype); Scene_Gameover.prototype.constructo...
'use strict'; eventsApp.directive('upvote', function() { return { restrict: 'E', replace: true, templateUrl: '/templates/directives/upvote.html', scope: { upvote: "&", // function to be executed downvote: "&", // function to be executed count: "=" // object } }; });
export Accordion from './Accordion'; export Alert from './Alert'; export Badge from './Badge'; export Breadcrumb from './Breadcrumb'; export BreadcrumbItem from './BreadcrumbItem'; export Button from './Button'; export ButtonGroup from './ButtonGroup'; export ButtonInput from './ButtonInput'; export ButtonToolbar from ...
var searchData= [ ['bool',['Bool',['../group___l_p_c___types___public___types.html#ga39db6982619d623273fad8a383489309',1,'lpc_types.h']]] ];
defineClass('Consoloid.Service.RemoteService', 'Consoloid.Service.BaseRemoteService', { __constructor: function(options) { $.each(options.methods, function(index, method) { if (method.name === "destroyService") { throw new Error("Service had a method name destroyService"); } ...
var translations_it = { account: 'Account', allowances: 'Allowances', dashboard: 'Dashboard', history: 'History', notifications: 'Notifications', payments: 'Payments', savings: 'Savings', settings: 'Settings', signout: 'Sign Out', search: 'Cerca', cancel: 'Annulla', about: 'Info s...
'use strict'; var yeoman = require('yeoman-generator'); var chalk = require('chalk'); var yosay = require('yosay'); module.exports = yeoman.Base.extend({ // 等同于 initializing: function(){} initializing() { //通过初始化函数来声明的函数,不会被自动调用 this.helperMethod = () => { console.log('won\'t be called automatically...
import React from 'react'; import ColorFormatter from '../ColorFormatter'; import { shallow } from 'enzyme'; describe('ColorFormatter', () => { it('should render an element with the correct background color', () => { const value = 'red'; const colorFormatterWrapper = shallow(<ColorFormatter value={value...
/** * @param {number} n * @return {number} */ var newInteger = function(n) { };
(function() { var SpellChecker, wordRegex; SpellChecker = require('spellchecker'); wordRegex = /(?:^|[\s\[\]])([a-zA-Z']+)(?=[\s\.\[\]:,]|$)/g; module.exports = function(text) { var endColumn, line, matches, misspellings, row, startColumn, word, _i, _len, _ref; row = 0; misspellings = []; _re...
'use strict'; var _ = require('lodash'); var qs = require('qs'); exports.Middleware = function(){ return function(req){ if (req.qs && req.qs.filter && _.isObject(req.qs.filter)){ exports.normalize(req.qs); } return req; }; }; exports.normalize = function(qsObject){ if (qsObject && qsObject.f...
/** * SimuladorController * * @description :: Server-side logic for managing simuladors * @help :: See http://links.sailsjs.org/docs/controllers */ module.exports = { /** * carga la pagina principal */ index: function (req,res){ return res.view('simulador/index',{'fecha':getFecha()}); }, ...
var blackJack = {}; blackJack.deck = []; blackJack.suits = ['hearts', 'diamonds', 'clubs', 'spades']; blackJack.buildDeck = function(){ for (var suitName in blackJack.suits) { for (var i = 1; i < 14; i++) { var card = { suit: blackJack.suits[suitName], value: i+1 } blackJack.deck.push(card); } ...
module.exports = { "env": { "browser": true, "commonjs": true, "es6": true, "node": true }, "extends": "eslint:recommended", "parserOptions": { "sourceType": "module" }, "rules": { "no-console":0, "indent": [ "error", "tab...
const ELEMENT_THEME_USER_CONFIG = 'ELEMENT_THEME_USER_CONFIG'; export const loadFromLocal = (key) => { return new window.Promise((resolve) => { chrome.storage.local.get([key], (result) => { resolve(result[key]); }); }); }; export const saveToLocal = (key, value) => { chrome.storage.local.set({[key]:...
var interactive = document.querySelector('#kssref-base-interactive-elements') var dialog = interactive.querySelector('dialog') interactive.querySelector('button[name="dialog-open"]').addEventListener('click', function (_e) { dialog.showModal() }) dialog.querySelector('button[name="dialog-close"]').addEventListener('cl...
var bodyParser = require('body-parser'); var cookieParser = require('cookie-parser'); var compression = require('compression'); var csrf = require('csurf'); var exphbs = require('express-handlebars'); var express = require('express'); var expressValidator = require('expres...
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// @Copyright ~2016 ☜Samlv9☞ and other contributors /// @MIT-LICENSE | 1.0.0 | http://apidev.guless.com/ /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// }| /// ...
// Copyright (c) 2011 Romain Vallet <romain.vallet@gmail.com>, Ben Holland <benholland99@gmail.com> // Licensed under the MIT license, read license.txt var hoverZoomPlugins = hoverZoomPlugins || []; hoverZoomPlugins.push( { name: 'Asos.com', version: '0.1', prepareImgLinks: function(callback) { var res = ...
const _ = require('underscore'); const Backbone = require('backbone'); const ChromaTemperatureView = require('./ChromaTemperatureView.js'); const ChromaHueSaturationView = require('./ChromaHueSaturationView.js'); module.exports = class ChromaPicker extends Backbone.Model { defaults() { return { hue: 0, ...
export actions from './actions' export reducers from './reducers' export component from './component'
import request from 'supertest'; import chai from 'chai'; import jwt from 'jsonwebtoken'; import db from '../../models'; import helper from '../helper/test.helper'; import server from '../../../server'; const secret = process.env.SECRET || 'samplesecret'; const superRequest = request(server); const expect = chai.expe...
define(['backbone'], function(Backbone){ var PokemonView = Backbone.View.extend({ initialize: function(options) { this.pageState.pokedexSort = options.pokedexSort || 'all'; this.pokedexFilter = options.pokedexFilter; this.model.on("change", this.render, this); this.model.on("destroy", this.remove, this);...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("specialchar", "eo", {euro: "Eŭrosigno", lsquo: "Supra 6-citilo", rsquo: "Supra 9-citilo", ldquo: "Supra 66-citilo", rdquo: "Supra 99-citilo", ndash...