code
stringlengths
2
1.05M
import React, { Component } from 'react'; export default class Connector extends Component { render() { return <div className="connector" />; } }
/* global require */ var config = require('../../app/config'); var co = require('co'); var r = require('rethinkdbdash')(config.rethinkdb); module.exports = function () { return co(function* () { var databases = yield r.dbList().run(); var tables = ['messages', 'users', 'groups', 'groups_users']; ...
a = { a: 1, a: 2 }
var express = require('express'); var http = require('http'); var path = require('path'); var favicon = require('static-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var routes = require('./routes'); var users = require('./routes/page')...
import 'core-js/modules/es6.array.iterator'; import 'core-js/modules/es6.promise';
function createColors(){ return { "black": [0x20, 0x20, 0x20, 0xFF], "carnelian": [0x80, 0x20, 0x20, 0xFF], "copper": [0x80, 0x40, 0x20, 0xFF], "gold": [0x80, 0x80, 0x20, 0xFF], "jade": [0x20, 0x80, 0x20, 0xFF], "turquoise": [0x20, 0x80, 0x80, 0xFF], "ruby": [0x20, 0x20, 0x80, 0xFF], "amethyst": [0x80...
'use strict'; const expect = require('expect.js'); const parser = require('../../'); /*global describe*/ /*global it*/ let config = { options: { test: { alias: 't', type: 'Boolean' }, prueba: { alias: 'p', type: 'Boolean', defaultValue: true } } }; describe('type config', function() { it('empty arguments...
'use strict'; const EventEmitter = require('events').EventEmitter; const emoji = require('node-emoji'); const _ = require('lodash'); const format = require('util').format; const chalk = require('chalk'); let log; const LEVELS = { debug: { color: chalk.dim, emoji: 'beetle', errorLevel: 0 }, log: { ...
define([ "jquery", "everest/constants", "everest/system", "everest/url" ], function($, constants, system, URL){ "use strict"; var httpHeaders = constants.http.headers, httpVerbs = constants.http.verbs, httpContentTypes = constants.http.contentTypes, httpCharsets = consta...
define([ 'angular', './module', './service', 'services/bootstrap' ], function(angular, lazyModule, service, bootstrapService) { 'use strict'; lazyModule.controller('HomeCtrl', ['$scope', '$rootScope', '$activityIndicator', '$timeout', 'HomeService', 'ModalService', function($scope, $roo...
define(['jquery'], function ($) { $.fn.informantSubscribeForm = function (options) { var settings = $.extend({ renderResults: false, resultContainer: null, validate: function (form, evt) { return true; } }, options); this.each(function () { va...
import React from 'react'; //eslint-disable-line import { storiesOf } from '@kadira/storybook'; import { decorateStore } from '../../../.storybook/store'; import Experiment from './experiment'; //eslint-disable-line import Variation from '../variation'; //eslint-disable-line import Debugger from '../debugger'; //eslint...
'use strict'; var gulp = require('gulp'); var clean = require('gulp-clean'); var runSequence = require('run-sequence'); gulp.task('default', function(done) { runSequence('clean', 'assets', done); }); gulp.task('assets', ['assets:app', 'assets:vendor', 'assets:common-fonts']); gulp.task('assets:app', function() { ...
/*********************** * SEND EMAIL * * *******************/ //email regex function validateEmail(email) { var re = /^(([^<>()[\]\\.,;:\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,}))$/; return re.test(emai...
angular.module('app') // 3.5 // => 3 1/2 // 1.3333 // => 1 1/3 .filter('fraction', function() { return function(value) { if (_.isNull(value) || _.isUndefined(value)) return ''; return Ratio.parse(value, true) .simplify() .toQuantityOf(2, 3, 4, 5, 8, 16, 32...
function duke_edu_metadef(){ juice.findMeta("isbn","li:has(> em:contains('ISBN:'))"); juice.findMeta("isbns","li:has(> em:contains('ISBN:'))",juice.stringToAlphnumAray); juice.findMeta("author","[title*='Perform a search for the author']"); juice.findMeta("title",".resourcedetails > h1"); }
'use strict'; var grunt = require('grunt'); var path = require('path'); /** * This test is for checking that the appropriate readme file is found (i.e. when readme.txt * is not available), and that an alternative main plugin file is found. */ exports.wp_deploy = { setUp: function(done) { grunt.util.spawn({ ...
angular.module('vitae.interests', ['d3', 'vitae.templates']);
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { cssClasses, hasOwnProp } from './helpers'; export default class SubMenu extends Component { static propTypes = { children: PropTypes.node.isRequired, title: PropTypes.node.isRequired...
(function(){ "use strict"; $.extend($, { /* options = { url : 'the/path/here', type : ('GET', 'POST', PUT, 'DELETE'), data : myData, async : 'synch' || 'asynch', user : username (string), password : password (string), dataType : ('html', 'json', 'tex...
'use strict'; // Load the module dependencies var config = require('../config'), path = require('path'), http = require('http'), socketio = require('socket.io'); // Define the Socket.io configuration method module.exports = function (app, db) { var server; // Create a new HTTP server server = http.create...
'use strict'; var fnParams = require('fn-params'); /** * A Token is a wrapper for a given component function * @class * @param {Function} fn the function we want as a token * @param {string} name the name we want the token to have * @param {Array<string>} [require] Array of dependencies as string */ var Token =...
var fs = require("fs"); var DiscordClient = require('discord.io'); var config = require("./config.json"); var Vote = require("./vote"); var Tracker = require("./tracker"); var http = require("http"); var consolere = require('console-remote-client').connect('console.re','80','windbot'); var bot; var votes = []; var d...
'use strict'; import './assets/css/role.css';
search_result['4372']=["topic_0000000000000A5E_vars--.html","VideoSubtitleModel Fields",""];
/** * Tests for the 'view/view.js' file. */ // Do not warn if these variables were not defined before. /* global module, test, equal, ok */ module("view"); test("Test listeners.", function() { // create an image var size0 = 4; var imgSize0 = new dwv.image.Size(size0, size0, 1); var imgSpacing0 = new ...
var lugg = require('..'), debug = require('../lib/debug-env.js'), assert = require('assert'), pino = require('pino'), hasChinding = require('./helper').hasChinding, sink = require('./helper').sink, once = require('./helper').once; var levels = pino.levels.values; describe('lugg.init()', functio...
// All of the calendar tests (for admin/instructor) var CalendarPage = function() { this.get = function() { browser.get(browser.baseUrl + '/#!/calendar'); } this.title = function(ind) { return element.all(by.repeater('event in events')) .get(ind).element(by.tagName('h1')).getText(); } this.dateTime = fun...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
/* globals dat,rdo,BABYLON */ (function(window) { 'use strict'; var config = { 'CAMERA_FOV': 70, 'CAMERA_NEAR_PLANE': 0.1, 'CAMERA_FAR_PLANE': 500 }; var properties = { 'axesHelperVisible': true, 'gridHelperVisible': true, 'planeWidth': 5, 'planeHeight': 5, 'planeMaterialColor': '#156289', 'pla...
/*eslint no-undef: 0*/ import { fetchFromApi } from '../../helpers/api'; export const AuthActionTypes = { LOGIN_REQUEST: 'AUTH/LOGIN_REQUEST', LOGIN_SUCCESS: 'AUTH/LOGIN_SUCCESS', LOGIN_FAILURE: 'AUTH/LOGIN_FAILURE', LOGOUT: 'AUTH/LOGOUT', USER_LOAD_REQUEST: 'AUTH/USER_LOAD_REQUEST', USER_LOAD_SUCCESS: 'A...
"use strict"; exports.__esModule = true; exports.default = transformFileSync; function transformFileSync() { throw new Error("Transforming files is not supported in browsers"); }
import { Box3 } from '../Three'; function Tree( name, id, root, parent ) { // root parameter only used internally if ( root === undefined ) { this.id = 0; this.maxId = 0; this.root = this; this.parent = null; this.pathCache = []; this.idCache = []; } else { this.root = root; this.parent = parent;...
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import Home from './containers/Home'; export const urls = { index: '/', }; export const routes = ( <Route path={urls.index} component={App}> <IndexRoute component={Home} /> </Route> );
/** * * FULL TILT * http://github.com/richtr/Full-Tilt * * A standalone DeviceOrientation + DeviceMotion JavaScript library that * normalises orientation sensor input, applies relevant screen orientation * transforms, returns Euler Angle, Quaternion and Rotation * Matrix representations back to web developers a...
/** * */ App.SyncSerializer = App.Serializer.extend({}); App.SyncAdapter = App.Adapter.extend( { buildURL: function(type, glomeid) { console.log('type: ' + type); console.log('id: ' + glomeid); var url = App.apiHost + '/api/users/' + glomeid + '/sync.json'; console.log('return URL for type: ' +...
import React from 'react' import './grid.scss' export default class Grid extends React.Component { constructor (props) { super(props) this.togglePush = this.togglePush.bind(this) this.togglePlop = this.togglePlop.bind(this) this.state = { push: false, plop: false } } togglePush (...
/** * @author ohad * Created on 31.01.2017 */ (function () { 'use strict'; angular.module('BrainPal.pages.driver') .controller('RecommendationsCtrl', RecommendationsCtrl); /** @ngInject */ function RecommendationsCtrl($scope, $timeout) { $scope.recommendations = [ { state : 're...
'use strict'; import React from 'react'; import Cat from './cat'; React.render( <Cat name="Shmui"/>, document.body );
module.exports.getRecipeList=function(callBack){ var sql="select code,name,description from recipe where code in ( \ select recipe_code as code from recipe_drink \ where drink_code in (select drink_code from pumperConfig))" getRecipeListBySql(sql, callBack); } module.exports.getFavRecipeList=function(callBack) {...
'use strict' /* UI styles not needed for tests */ if (process.env.NODE_ENV !== 'test') { require('./index.scss') } import {toString, getInstance, isInteger, clone, roundAfterPoint} from '../shared/utils' const allowedStatuses = ['todo', 'dev', 'done'] let totallyCreated = 0 function Issue (projectName, priority, ...
/*=================================================================== # FileName: serial.js # Author: Maelon.J # Email: maelon.j@gmail.com # CreateTime: 2017-10-13 12:21 # Description: Extend the base class of Circuit. ===================================================================*/ import Circuit ...
function main(elem) { if(!elem){ elem=div(); } moveupon(elem,{ start(event){ console.log(event); }, move(event){ console.log(event); }, end(event){ console.log(event); } }) return elem; }
/** * ESUI (Enterprise Simple UI) * Copyright 2013 Baidu Inc. All rights reserved. * * @ignore * @file 主模块 * @author erik */ define( function (require) { var lib = require('./lib'); /** * 主模块 * * @class main * @alias ui * @singleton */ ...
(function() { var Random if( typeof module !== 'undefined' ) { module.exports = XOR if( typeof require === 'function' ) { var Random = require( '../' ) } } else { Random = this.Random Random.XOR = XOR } function XOR( x, y, z, w ) { Random.call( this ) this....
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path fillOpacity=".3" d="M12.01 21.49L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l11.63 14.49.01.01.01-.01z" /></g> , 'SignalWifi0Bar');
// -------------------------------------------------------------------------------------------------------------------------- // // -- JWK -- define("jwebkit", [ "jwk-base/jwk", "jwk-model/jwk.model", "jwk-ajax/jwk.ajax", "jwk-net/jwk.net", ], function(jwk){ var Fn = Function, window = (new Fn(...
import Controller from '@ember/controller'; import { restartableTask, task, timeout } from 'ember-concurrency'; // BEGIN-SNIPPET child-tasks export default class ChildTasksController extends Controller { status = 'Waiting to start'; @restartableTask *parentTask() { this.set('status', '1. Parent: one moment......
var a = function(){}
/* --- name: Locale.uk-UA.Date description: Date messages for Ukrainian (utf-8). license: MIT-style license authors: - Slik requires: - /Locale provides: [Locale.uk-UA.Date] ... */ (function(){ var pluralize = function(n, one, few, many, other){ var d = (n / 10).toInt(), ...
"use strict"; let Caf = require("caffeine-script-runtime"); Caf.defMod(module, () => { return (() => { return function() { return this.rule( { keywordLiteral: /(undefined|NaN|null|true|false)(?![a-zA-Z0-9]+)/ }, { stnFactory: "SimpleLiteralStn", stnProps: function() { ...
const google = require('googleapis'); const got = require('got'); /*1. Create a service client */ const analyticsreporting = google.analyticsreporting('v4'); /*2. Authorizing and authenticating */ /**2.1 Generating an authentication URL **/ const OAuth2 = google.auth.OAuth2; const oauth2Client = new OAuth2( /*以下信...
'use strict'; function ctrlDetailLink($scope, srvData, srvLocale, srvNav) { $scope.item = null; $scope.linkName = ''; $scope.init = function (obj) { $scope.item = obj; // Link name : not the real link name, but the most important one $scope.linkName = srvLocale.translations.htmlTi...
/*! * jQuery QueryBuilder 2.3.2 * Locale: Italian (it) * Licensed under MIT (http://opensource.org/licenses/MIT) */ (function (root, factory) { if (typeof define == 'function' && define.amd) { define(['jquery', 'query-builder'], factory); } else { factory(root.jQuery); } }(this, fun...
(function($) { /** * Navigation */ // Parts and Services Report Images $(".placeholders .img-responsive").on("click", function() { $(".placeholders .img-responsive").not(this).removeClass("active"); $(this).addClass("active"); var target = "#" + $(this).data("target"); $(".table-responsive.reports").not(target)...
var searchData= [ ['_5faction',['_Action',['../class_archivist_1_1_relay_command.html#a5a579c3c493736b2f5006abf22f9d9ed',1,'Archivist::RelayCommand']]], ['_5fbackupshortcut',['_BackupShortcut',['../class_archivist_1_1_user_settings.html#a6ebd0bd8be8705c4982b91f2ecc3c9cb',1,'Archivist::UserSettings']]], ['_5fdefau...
import sh from './bash'; export default function GenerateDocumentation() { sh('rm -rf documentation').then(() => { sh('esdoc -c ./scripts/utils/esdoc.json'); }); }
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.styles = void 0; var _extends2 = _int...
//---------------------------------------------------------------------------------------------------------------------- // Local Authentication Support // // @module local.js //---------------------------------------------------------------------------------------------------------------------- var passport = require...
/**************************************************************************** Copyright (c) 2013 cocos2d-x.org http://www.cocos2d-x.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...
'use strict'; const should = require("should"); const sinon = require("sinon"); import * as ping from "../src/commands/ping.js"; import * as mm from "../src/commands/multimedia.js"; import * as lang from "../src/commands/lang.js"; import * as dice from "../src/commands/dice.js"; import * as man from "../src/commands/m...
var Node = require("./node"), Ruleset = require("./ruleset"); var Directive = function (name, value, rules, index, currentFileInfo, debugInfo, isReferenced) { this.name = name; this.value = value; if (rules) { this.rules = rules; this.rules.allowImports = true; } this.index = i...
'use strict'; // Queries routes use queries controller var queries = require('../controllers/queries'); var authorization = require('./middlewares/authorization'); // Queries authorization helpers var hasAuthorization = function(req, res, next) { if (req.query.user.id !== req.user.id) { return res.send(401, ...
// load dependencies var mongoose = require('mongoose'); // define schema for show model var showSchema = mongoose.Schema({ name: String, date: { day: Number, start: Number, stop: Number }, hosts: [String] }); // create the model and expose it to the app module.exports = mong...
// // DEVELOPMENT CONFIGURATIONS // var config = module.exports = require('./config.global'); var this_config_name = 'development'; config.loaded.push(this_config_name); // // Redis // config.redis.channels = [ 'development:push:ios', 'development:push:android' ]; // // APNS // config.apns.gateway.address = 'gateway...
Fuse.defaults.hostsite = "http://joinfuse.com/carvoyant.html" Fuse.defaults.production = true;
Array.prototype.bubbleSort = function() { var sorted = false; while (sorted === false) { sorted = true; for (var i = 0; i < this.length - 1; i++) { if (this[i] > this[i+1]) { var temp = this[i]; this[i] = this[i+1]; this[i+1] = temp; sorted = false; } } } ...
import ActionCreators from '../actions/ActionCreators'; import store from '../store/store.js'; const logger = store => next => action => { console.group(action.type); console.info('dispatching', action); let result = next(action); console.log('next state', store.getState()); console.groupEnd(action.type); return...
import React, { Component } from 'react'; // eslint-disable-line no-unused-vars import EventEmitter from 'eventemitter3'; import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment'; let EE; let viewport = {width: 1366, height: 768}; // Default size for server-side rendering const RESIZE_EVENT = 'resize'; function ha...
'use strict'; /* PACKAGE */ var Vue = require('vue'); var TweenMax = require('TweenMax'); /** * UI home section. * @module ui/sections/home/index */ var SectionHome = Vue.extend({ name: 'section-home', template: require('./view.tpl'), data: function () { return { hello: '\'Allo!', ...
/** * module definition for the 'security' module. */ define([ 'angular', 'cryptojs.core', 'cryptojs.x64-core', 'cryptojs.sha512', 'cryptojs.hmac', 'angular-http-auth' ], function (angular, CryptoJS) { 'use strict'; /** @ngInject */ function SecurityModuleConfig($stateProvider, R...
'use strict'; const OF = require('./objectfilter'); const Model = require('./model'); class NotificationModel extends Model { constructor() { super('notifications'); this.schema = new OF({ id: String, status: String, }); } } module.exports = new NotificationModel();
search_result['4148']=["topic_00000000000009EB_attached_props--.html","UserInfoDto Attached Properties",""];
module.exports = function (config) { config.set({ basePath: '../', autoWatch: false, singleRun: true, exclude: [], frameworks: ['jasmine'], // list of files / patterns to load in the browser files: [ 'bower_components/jQuery/dist/jquery.js', ...
/*! * jQuery QueryBuilder 2.6.2 * Locale: Swahili (sw) * Author: Timothy Anyona * Licensed under MIT (https://opensource.org/licenses/MIT) */ (function(root, factory) { if (typeof define == 'function' && define.amd) { define(['jquery', 'query-builder'], factory); } else { factory(root....
/*! Element Plus v2.0.2 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.ElementPlusLocaleRu...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.window = global.window || {})); }(this, (function (exports) { 'use strict'; /*! * Sc...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.6.0 (2020-11-18) */ (function () { 'use strict'; ...
/*! * tablesort v5.1.0 (2020-01-22) * http://tristen.ca/tablesort/demo/ * Copyright (c) 2020 ; Licensed MIT */ !function(){Tablesort.extend("monthname",function(a){return-1!==a.search(/(January|February|March|April|May|June|July|August|September|October|November|December)/i)},function(a,b){var c=["January","February...
/*! * Native JavaScript for Bootstrap Collapse v4.0.5 (https://thednp.github.io/bootstrap.native/) * Copyright 2015-2021 © dnp_theme * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE) */ const transitionEndEvent = 'webkitTransition' in document.head.style ? 'webkitTransit...
import 'isomorphic-fetch' import { API_TODOS, API_HEADER } from '../../../../../../config' import auth from '../../services/auth/login' export default { fetchTodos() { return new Promise((resolve, reject) => { return fetch(API_TODOS, { method: 'POST', headers: A...
version https://git-lfs.github.com/spec/v1 oid sha256:d3742b9416c02f355787be148bb74ecab8f61301292bd06146ab1a32c2ffcc01 size 4694
define(['app', 'angular', 'jquery', 'text!./km-terms-check.html', 'linqjs'], function(app, angular, $, template, Enumerable) { 'use strict'; //============================================================ // // //============================================================ app.directive('kmTermCheck...
/* vim:set ts=2 sw=2 sts=2 expandtab */ /*jshint asi: true newcap: true undef: true es5: true node: true devel: true forin: false */ /*global define: true, document: true */ (typeof define === "undefined" ? function ($) { $(require, exports, module) } : define)(function (require, exports, module, undefined) ...
/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * This file was added automatically by CKEditor builder. * You may re-use it at any time to build CKEditor again. * * If you would like to build CKEdi...
/*! TetrisRNG | (c) 2014 Jonathan Giroux (Bloutiouf) | MIT License */ function TetrisRNG(e,t){this.decrease=e;this._random=t||Math.random;this.items=[]}TetrisRNG.prototype.add=function(e,t){return this.items.unshift([e,t||1])};TetrisRNG.prototype.clear=function(){this.items=[]};TetrisRNG.prototype.remove=function(e){fo...
/* debug infomation */ if (typeof console == "undefined") { var logArr = window.logArr = []; console = window.console = { log : function() { logArr.push(arguments); } }; } (function(window) { /*ALARM navigation to where*/ window.ALARMNAVI = { 0: "pdus", 1: "ips", ...
import config from '../config/environment'; export default Ember.Service.extend({ enableRaven() { return window.Raven && !config.sentry.development; }, identify(attributes) { if(this.enableRaven()) { window.Raven.setUserContext(attributes); } }, captureException(exception) { if(this.en...
Reveal.addEventListener('ready', function () { QUnit.module('Markdown'); test('Vertical separator', function () { strictEqual(document.querySelectorAll('.reveal .slides>section>section').length, 4, 'found four slides'); }); test('Attributes on element header in vertical slides', function () ...
describe('momentService', function() { 'use strict'; var momentService; beforeEach(module('dashboard')); beforeEach(inject(function(_momentService_) { momentService = _momentService_; })); it('should exist', function() { expect(momentService).toBeDefined(); }); });
define(['./_basePullAll'], function(basePullAll) { /** * This method is like `_.pull` except that it accepts an array of values to remove. * * **Note:** Unlike `_.difference`, this method mutates `array`. * * @static * @memberOf _ * @since 4.0.0 * @category Array * @param {Array} array The...
(function (Dataflow) { var Search = Dataflow.prototype.plugin("search"); var SearchResult = Backbone.Model.extend({ defaults: { source: '', icon: '', action: null, label: '', description: '' } }); var SearchResults = Backbone.Collection.extend({ model: SearchResult, ...
/* * File: app/store/storeCotizacionUnidad.js * * This file was generated by Sencha Architect version 4.1.2. * http://www.sencha.com/products/architect/ * * This file requires use of the Ext JS 5.1.x library, under independent license. * License of Sencha Architect does not include license for Ext JS 5.1.x. For ...
/** * React classSet * * Copyright 2013-2014 Facebook, Inc. * @licence https://github.com/facebook/react/blob/0.11-stable/LICENSE * * This file is unmodified from: * https://github.com/facebook/react/blob/0.11-stable/src/vendor/stubs/cx.js * */ /** * This function is used to mark string literals representin...
var config = require('../../server/config.json'); var path = require('path'); module.exports = function(user) { //send verification email after registration user.afterRemote('create', function(context, user) { console.log('> user.afterRemote triggered'); var options = { type: 'email', to: user...
var searchData= [ ['diff_5ftable_5fadc0_40',['diff_table_ADC0',['../class_a_d_c.html#a1b2c46ade5591fb8038961fb352506a3',1,'ADC']]], ['differentialmode_41',['differentialMode',['../class_a_d_c___module.html#adaba2c3f43e9c702a873da6539b3d25f',1,'ADC_Module']]], ['disablecompare_42',['disableCompare',['../class_a_d_...
// Source: // https://gist.github.com/insin/bbf116e8ea10ef38447b import React, { PropTypes } from 'react' import { Row, Col } from 'react-bootstrap' import classNames from 'classnames' import Help from './Help' import Loading from './Loading' const FIELD_EVENT_HANDLER = /^(?:on|handle)[A-Z]/ /** * Perform shallow...
var Notification =require('../module').Notification; /** * 推送API * @class Notification */ /** * 增加一条推送 * @method addOne * @param {String} content 推送的内容 * @param {objectid} from 推送的创建者 * @param {array} to 通送给的人,数组内容是ObjectId * @param {number} prority 优先级 * @param {function} callback 回调函数 */ exports.addOne ...
/* @option Slide show speed */ sdSS.speed = 500;
var $ = require('jquery'); var meta = require('./meta'); var instance = 0; module.exports = { setup: function () { this.uid = instance++; this.ens = meta.ns.event + '.' + this.uid; }, destroy: function () { $.removeData(this.element, meta.name); } };