code
stringlengths
2
1.05M
/* eslint-env mocha */ import { expect } from 'chai'; import sinon from 'sinon'; import coreStore from 'kolibri.coreVue.vuex.store'; import { snackbarIsVisible, snackbarOptions, connected, reconnectTime, } from 'kolibri.coreVue.vuex.getters'; import { setUpVueIntl } from 'kolibri.utils.i18n'; import { HeartBeat...
/*! * Module dependencies. */ var util = require('util'), marked = require('marked'), super_ = require('../Type'); /** * Markdown FieldType Constructor * @extends Field * @api public */ function markdown(list, path, options) { this._defaultSize = 'full'; // TODO: implement filtering, usage disabled for...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'toolbarswitch', 'sq', { toolbarswitch: 'Switch toolbar' });
module.exports={A:{A:{"2":"K D G E A B hB"},B:{"2":"2 C d J M H I"},C:{"1":"0 1 3 4 7 8 9 v w x y z HB GB BB CB FB","2":"2 6 eB DB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u YB XB"},D:{"1":"3 4 7 8 9 GB BB CB FB RB MB LB kB JB NB OB PB","2":"0 1 2 6 F N K D G E A B C d J...
var chai = require('chai'); global.expect = chai.expect; chai.use(require('chai-kerouac-middleware'));
/* * GREYS-BLOCKING.js * * Copyright (c) 2011-2015 oldmanpushcart@gmail.com * License: GNU General Public License 3 (GPLv3) * Read more at http://shjs.sourceforge.net/doc/gplv3.html * * @author : oldmanpushcart@gmail.com * @date : 2016-02-18 * * * gblocking.js的名字含义是"greys-blocking",这是一个小型\精简的CommonJS规范的实现者...
/** @module ember @submodule ember-runtime */ import Ember from "ember-metal/core"; // Ember.assert import {get} from "ember-metal/property_get"; import {set} from "ember-metal/property_set"; import {meta} from "ember-metal/utils"; import {addObserver, removeObserver, addBeforeObserver, removeBeforeObserver} from "embe...
const async = require('async'); const apply = (keyspace, api, next) => { const cqls = [ `ALTER TABLE ${keyspace}.members ADD from_supergroupid text`, ]; async.mapSeries(cqls, api.client.execute, next); }; const rollback = (keyspace, api, next) => { next(); }; module.exports = { apply, rollback, };
var _ = require('lodash'), api = require('../api'), errors = require('../errors'), updateCheck = require('../update-check'), config = require('../config'), adminControllers; adminControllers = { // Route: index // Path: /ghost/ // Method: GET in...
var iF = require("include-folder"); var json = require("./data.json"); var files = iF(__dirname + "/../files",/(.*)/); console.dir(files);
$(function () { // Prepare demo data var data = [ { "hc-key": "ca-ab-4813", "value": 0 }, { "hc-key": "ca-ab-4812", "value": 1 }, { "hc-key": "ca-ab-4801", "value": 2 }, { ...
var Connection = require("./connection").Connection, Message = require("./message").Message, Room = require("./room").Room, User = require("./user").User, urlFor = require("./restful").urlFor; /** * A campfire client for a specific account. * @constructor * @param {string} account The name of the ac...
'use strict'; describe('Service: Type', function () { // load the service's module beforeEach(module('petz.api')); // instantiate service var sut; beforeEach(inject(function (_Type_) { sut = _Type_; })); it('should do something', function () { expect(!!sut).toBe(true); }); });
module.exports = function (obj) { var s = '<xml>' + '<ToUserName><![CDATA[' + obj.toUser + ']]></ToUserName>' + '<FromUserName><![CDATA[' + obj.fromUser + ']]></FromUserName>' + '<CreateTime>' + Date.now() + '</CreateTime>' + '<MsgType><![CDATA[text]]></MsgType>' + '<...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "\u4e0a\u5348", ...
import { frameworks, url, setOptions, initSurvey, getSurveyResult } from "../settings"; import { Selector, ClientFunction } from "testcafe"; const assert = require("assert"); const title = `radiogroup`; const json = { questions: [ { type: "radiogroup", name: "car", title: "What car are you driv...
'use strict'; /** * Module dependencies. */ import glob from 'glob'; import chalk from 'chalk'; import path from 'path'; /** * Module init function. */ export default function () { /** * Before we begin, lets set the environment variable * We'll Look for a valid NODE_ENV variable and if one cannot b...
Clazz.declarePackage ("J.adapter.smarter"); Clazz.load (["java.util.Hashtable"], "J.adapter.smarter.AtomSetCollection", ["java.lang.Boolean", "$.Float", "java.util.Collections", "$.Properties", "JU.AU", "$.BS", "$.Lst", "$.P3", "$.V3", "J.adapter.smarter.Atom", "$.Bond", "$.SmarterJmolAdapter", "J.api.Interface", "JU....
/** * Module dependencies. */ var domify = require('domify') , events = require('events') , empty = require('empty') , article = require('./article') , clause = require('./clause') , toArray = require('to-array') , truncate = require('truncate') , config = require('config') , Participants = require('...
version https://git-lfs.github.com/spec/v1 oid sha256:5541dc6123b004b250c03f09e67fe5eaf2114245164776f5088adc50f3980346 size 177708
var Controller = function(){ this.grid_size = {x: 20, y: 20}; this.initial_length = 1; this.time_step = 400; this.maximum_spawns = 5; this.collectibles = []; this.views = []; this.snake = new Snake(this.initial_length); this.canTurn = true; this.facts_shown = {}; this.counter = 0; var pos0 = {x: -1, ...
define([ './var/tags', './isObjectLike' ], function (tags, isObjectLike) { var isOldOpera = isObjectLike(global.opera) && global.opera.toString() === tags.opera; return isOldOpera; });
import React, { Component } from 'react'; import { render } from 'react-dom'; import Button from '../../index'; import './index.less'; export default class BaseDemo extends Component { render() { return ( <div className="button-con"> <div className="left"> <Button>确定</Button> <Button ...
import TabPane from 'ember-bootstrap/components/base/bs-tab/pane'; export default TabPane.extend({ classNameBindings: ['showContent:in'] });
function csrfSafeMethod(method) { // these HTTP methods do not require CSRF protection return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); } module.exports = function(xhr, settings) { if (!csrfSafeMethod(settings.type) && !this.crossDomain) { xhr.setRequestHeader("X-CSRFToken", CSRF_TOKEN); } };
/* */ "format cjs"; (function(process) { ; (function() { var undefined; var VERSION = '3.10.1'; var BIND_FLAG = 1, BIND_KEY_FLAG = 2, CURRY_BOUND_FLAG = 4, CURRY_FLAG = 8, CURRY_RIGHT_FLAG = 16, PARTIAL_FLAG = 32, PARTIAL_RIGHT_FLAG = 64, ARY_FLAG...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); ...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.Tribute = factory()); }(this, (function () { 'use strict'; function _classCallCheck(instance,...
angular.module('<%= appname %>').factory('<%= name %>', function () { 'use strict'; function <%= name %>() { } // <%= name %>.prototype.myInstanceMethod = function() { // // } return <%= name %>; });
import React from 'react'; import { render } from 'react-testing-library'; import renderer from 'react-test-renderer'; import 'jest-styled-components'; import IssueIcon from '../IssueIcon'; describe('<IssueIcon />', () => { it('should match the snapshot', () => { const renderedComponent = renderer.create(<Issue...
/* This algorithm implements Euclid's Algorithm to find the greatest common divisor of two integers. - by Michael Sharp - michael@softwareontheshore.com - www.softwareontheshore.com */ function euclidsDivisor(a, b) { var remainder = a % b; if(remainder == 0) { return b; } else { return euclidsDivi...
const BaseApplication = Jymfony.Component.Console.Application; const Kernel = Jymfony.Component.Kernel.Kernel; const InputOption = Jymfony.Component.Console.Input.InputOption; /** * @memberOf Jymfony.Bundle.FrameworkBundle.Console */ export default class Application extends BaseApplication { /** * Construct...
(function () { 'use strict'; angular .module('app.widgets') .directive('ccWidgetMinimize', ccWidgetMinimize); /* @ngInject */ function ccWidgetMinimize () { // Usage: // <a data-cc-widget-minimize></a> // Creates: // <a data-cc-widget-minimize="" href="#...
"use strict" var test = require("tape") var mobx = require("..") var observable = mobx.observable var iterall = require("iterall") function buffer() { var b = [] var res = function(newValue) { b.push(newValue) } res.toArray = function() { return b } return res } test("test1", f...
'use strict'; var core = require('ses-core'); exports.init = function (app, restify) { core.registerEndpoints(__dirname, 'routes', app, restify); };
/* * Copyright (C) 2007 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
'use strict'; /** * Partially applies arguments that will be appended to those provided * to the returned function. * * ```js * function fullname(first, last) { * return first + ' ' + last; * } * * var name = partialRight(fn, 'Woodward'); * name('Brian'); * //=> 'Brian Woodward' * ``` * * @name .partia...
function createDebounce (time, execution) { function debounce ({path}) { return new Promise(function (resolve) { if (execution.timer) { execution.resolve(path.discard()) clearTimeout(execution.timer) } execution.timer = setTimeout(function () { execution.resolve(path.con...
require( '../setup' ); var port = 8988; var config = { port: port, socketio: true, websocket: true, defaultUser: true, anonymous: [ '/api/test/proxy' ], parseAhead: true, handleRouteErrors: true }; var harnessFn = require( '../../src/harness' ); describe( 'Websocket', function() { var cookieExpiresAt; var har...
/* eslint-disable comma-dangle, max-len, no-useless-return, no-param-reassign, max-len */ import Api from '../api'; import TemplateSelector from '../blob/template_selector'; ((global) => { class IssuableTemplateSelector extends TemplateSelector { constructor(...args) { super(...args); this.projectPa...
var moment = require("../../moment"); /************************************************** Danish *************************************************/ exports["lang:da"] = { setUp : function (cb) { moment.lang('da'); moment.createFromInputFallback = function () { throw new...
// Generated by CoffeeScript 1.6.3 (function() { var Cache, DevNullStorage, cache, expect; expect = require('chai').expect; Cache = require('../../../../../lib/Cache'); DevNullStorage = require('../../../../../Storage/DevNullAsyncStorage'); cache = null; describe('DevNullAsyncStorage', function() { ...
var fs = require ('fs') , join = require('path').join , file = join(__dirname, 'fixtures','all_npm.json') , JSONStream = require('../') , it = require('it-is') var expected = JSON.parse(fs.readFileSync(file)) , parser = JSONStream.parse('rows..rev') , called = 0 , ended = false , parsed = [] ...
export default { NO_MATCHES: 'Sorry, no matches found.', INITIAL: 'Use the input field above to search for instruments or click on the search icon to close the search.' };
const Mocha = require('mocha') const fs = require('fs-plus') const {assert} = require('chai') module.exports = function (testPaths) { global.assert = assert let reporterOptions = { reporterEnabled: 'list' } if (process.env.TEST_JUNIT_XML_PATH) { reporterOptions = { reporterEnabled: 'list, mocha...
import {Controller} from 'stimulus' let controllerID = 0 function formatTabStorageKey(tabKey) { return `${window.location.pathname}-tabbing-${tabKey}` } function setTabState(tabKey, value) { if (!window.localStorage) { return } window.localStorage.setItem(formatTabStorageKey(tabKey), value) } function getTabS...
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. All Rights Reserved. // // Licensed under the Apache License Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
/*! * jQuery JavaScript Library v2.1.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-effects,-effects/Tween,-effects/animatedSelector,-event-alias,-css/hiddenVisibleSelectors * http://jquery.com/ * * Includes Sizzle.js * ...
version https://git-lfs.github.com/spec/v1 oid sha256:c250af2d1bd4b8795cbff3e25f4414c650e145ad5c645bdf6150337970a7520a size 4360
var server = require('./server'); server.start(function(server){ console.info('Express for vrhd listening at http://0.0.0.0:%s',server.address().port); });
/** * A handy class to calculate color values. * * @version 1.0 * @author Robert Eisele <robert@xarg.org> * @copyright Copyright (c) 2010, Robert Eisele * @link http://www.xarg.org/2010/03/generate-client-side-png-files-using-javascript/ * @license http://www.opensource.org/licenses/bsd-license.php BSD License * */ (f...
import * as zrUtil from 'zrender/src/core/util'; import * as graphic from '../../util/graphic'; import * as textContain from 'zrender/src/contain/text'; import * as formatUtil from '../../util/format'; import * as matrix from 'zrender/src/core/matrix'; import * as axisHelper from '../../coord/axisHelper'; import AxisBu...
import React, { Component } from 'react'; import { Container } from '@extjs/ext-react'; import { Cartesian } from '@extjs/ext-react-charts'; import ChartToolbar from '../../ChartToolbar'; import storeData from './storeData'; export default class SplineMarkers extends Component { store = Ext.create('Ext.data.Store...
/* Language: Parser3 Requires: xml.js Author: Oleg Volchkov <oleg@volchkov.net> */ module.exports = function (hljs) { hljs.LANGUAGES.parser3 = function () { var COMMENTED_BLOCK = { begin: '{', end: '}' }; COMMENTED_BLOCK.contains = [COMMENTED_BLOCK]; return { ...
define({ "enableUndoRedo": "Aktivér Fortryd/Annuller fortryd", "toolbarVisible": "Værktøjslinje synlig", "toolbarOptions": "Indstillinger for værktøjslinje", "mergeVisible": "Sammenlæg", "cutVisible": "Klip", "reshapeVisible": "Omform", "back": "Tilbage", "label": "Lag", "edit": "Redigérbar", "updat...
/** * 删除记录:点击button,遍历当前选中的记录,一次只能删除一条(暂时)! * 然后发送ajax请求与后台交互。 * 后台拦截——》处理 */ function toDeleteGL() { var num = 0; // 计数:被选中的记录 var idArray = new Array(); //var id; $("td input:checkbox").each(function () { if ($(this).is(":checked")) { var id = $(this).parent...
import BootstrapDaterangePicker from 'ember-bootstrap-daterange/components/daterange-picker'; export default BootstrapDaterangePicker;
define({ "allowSaveAs": "Izinkan Ekspor", "startingState": "Keadaan awal:", "byUrl": "Model kosong", "byItem": "Model pra-konfigurasi", "imageServiceUrl": "URL Service Gambar", "validate": "Validasi", "validating": "Memvalidasi...", "validated": "URL itu valid", "modelName": "Model", "selectModel": ...
/*! * CanJS - 2.1.2 * http://canjs.us/ * Copyright (c) 2014 Bitovi * Mon, 16 Jun 2014 20:44:18 GMT * Licensed MIT * Includes: CanJS default build * Download from: http://canjs.us/ */ steal('can/util', 'can/view/elements.js', 'can/view', 'can/view/node_lists', 'can/view/parser',function (can, elements, view, nod...
module.exports = { entry: "./index", devtool: "eval-cheap-module-source-map" }
"use strict"; function preprocess(ast, options) { switch (options.parser) { case "json": case "json5": case "json-stringify": case "__js_expression": case "__vue_expression": return { ...ast, type: options.parser.startsWith("__") ? "JsExpressionRoot" : "JsonRoot", no...
/*jshint node:true, mocha:true, expr:true */ /** * @author kecso / https://github.com/kecso */ var testFixture = require('../_globals'); describe('diff CLI tests', function () { 'use strict'; var gmeConfig = testFixture.getGmeConfig(), storage, gmeAuth, expect = testFixture.expect, ...
// ----------------------------------------------------------------------------------- /* jQuery simpleTimeline plugin v1.0 Copyright 2016 eScience-Center, University of Tübingen http://escience.uni-tuebingen.de Licensed under the MIT License https://opensource.org/licenses/MIT */ // ----------------------------...
/** * Transform @property tags to @member tags if it looks like @property was incorrectly used. * - That is, there is only one property and it has the same name as the member. * The result is less-redundancy and better type exposure in the JSDoc output. * * If the member type is not assigned then the property type is u...
/*global define*/ define([ '../Core/Cartesian3', '../Core/defined', '../Core/Math', './SceneMode' ], function( Cartesian3, defined, CesiumMath, SceneMode) { 'use strict'; /** * Blends the atmosphere to geometry far from the camera for hor...
/** alert对话框 **/ define('mods/common/alert',function(require,exports,module){ var $ = require('lib'); var $reuse = require('mods/dialog/reuse'); var TPL = {}; TPL.dialog = [ '<div class="fxj_layer fxj_layer_4">', '<div class="layer_h">', '<a href="javascript:;" class="close" data-action="cancel"></a>',...
/*! jQuery UI - v1.10.4 - 2014-04-27 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional["zh-TW"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月",...
// Start reading from stdin so we don't exit. process.stdin.resume() process.on('SIGUSR1', function () { console.log('Got SIGUSR1') process.send({ event: 'signal:received', args: ['SIGUSR1'] }) }) process.on('SIGTERM', function () { console.log('Got SIGTERM') process.send({ event: 'signal:rece...
'use strict'; /** * @ngdoc directive * @name ngIf * @restrict A * * @description * The `ngIf` directive removes or recreates a portion of the DOM tree based on an * {expression}. If the expression assigned to `ngIf` evaluates to a false * value then the element is removed from the DOM, otherwise a clone of the...
/** * This function change the input * @param obj plain js object * @returns {object} object without null value */ export const removeNullValueKey = obj => { const keys = Object.keys(obj); keys.forEach(k => { const child = obj[k]; if (child === null) { delete obj[k];...
import _ from 'lodash' import OperationalTx from './operational' import ColorValue from '../colorvalue' import UncoloredColorDefinition from '../definitions/uncolored' import errors from '../errors' /** * @class SimpleOperationalTx * @extends OperationalTx */ export default class SimpleOperationalTx extends Operat...
'use strict'; // This is the AngularJS Algolia Search module // It's using $http to do requests with a JSONP fallback // $q promises are returned var inherits = require('inherits'); var forEach = require('lodash/collection/forEach'); var AlgoliaSearch = require('../../AlgoliaSearch'); var errors = require('../../er...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'about', 'en', { copy: 'Copyright &copy; $1. All rights reserved.', dlgTitle: 'About CKEditor', help: 'Check $1 for help.', moreInfo: 'For...
(function() { 'use strict'; angular .module('app.users') .controller('UserEditController', UserEditController); UserEditController.$inject = ['$scope', 'user', '$state']; /* @ngInject */ /** * Controller responsável por editar um usuário * @param {Object} $scope Escopo ...
/** * Description : This is a test suite that tests an LRS endpoint based on the testing requirements document * found at https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * * https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md * */ (function (module) { "use str...
/* Lead developer: Raphaël Velt * Licensed under the MIT License * Translations by: * Vicenzo Cosenza (Italian) * Eduardo Ramos Ibáñez (Spanish) * Jaakko Salonen (Finnish) * Zeynep Akata (Turkish) * Σωτήρης Φραγκίσκος (Greek) * Martin Eckert (German) * */ // Namespace var GexfJS = { lens...
var auto = require('run-auto') var fs = require('fs') var parseTorrent = require('parse-torrent') var test = require('tape') var TrackerServer = require('bittorrent-tracker/server') var WebTorrent = require('../') var leavesPath = __dirname + '/content/Leaves of Grass by Walt Whitman.epub' var leavesFile = fs.readFile...
var crypto = require('crypto'); var md5 =function(input){ return crypto.createHash('md5').update(input).digest('hex'); //16进制输出 } exports.md5 = md5;
const Directive = require('./directive') module.exports = Poison function Poison(poison) { Directive.call(this, poison) this.phase = 'incoming' this._outPoisonsEnabled = false } Poison.prototype = Object.create(Directive.prototype)
EditorUI.DockUtils = (function () { var _resizerSpace = 3; // 3 is resizer size var _resultDock = null; var _potentialDocks = []; var _dockMask = null; var _dragenterCnt = 0; var _draggingInfo = null; if ( Editor.isNative ) { var Ipc = require('ipc'); Ipc.on( 'panel:drags...
"use strict"; import React from 'react'; import TestUtils from 'react/lib/ReactTestUtils'; import Checkbox from './checkbox'; import StubContext from '../../../specs_support/stub_context'; describe('checkbox', function() { var checkboxDOM; var checkbox; var Subject; var...
define(function(require, exports, module) { var Lazyload = require('echo.js'); exports.run = function() { Lazyload.init(); $('#free').on('click', function(event) { window.location.href = $(this).val(); }); }; });
import React from 'react' import { connect } from 'react-redux' import ListSubheader from 'material-ui/List/ListSubheader' import List, { ListItem, ListItemText } from 'material-ui/List' export default connect(mapStateToProps)(({ room, motionsById }) => <List> <ListSubheader disableSticky > ...
datab = [{},{"Value 1 (Number of entries)":{"colspan":"1","rowspan":"1","text":"256"},"Value 2 (First value mapped)":{"colspan":"1","rowspan":"1","text":"0"},"Value 3 (Number of bits)":{"colspan":"1","rowspan":"1","text":"8"}}];
version https://git-lfs.github.com/spec/v1 oid sha256:262cc3c19a48ea6f86dee2eea613b4fe9b506c6f60b709b36405ffd355f4f73d size 631
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'forms', 'zh-cn', { button: { title: '按钮属性', text: '标签(值)', type: '类型', typeBtn: '按钮', typeSbm: '提交', typeRst: '重设' }, checkboxAndRadio...
import { guidFor } from 'ember-metal/utils'; import { sendEvent, accumulateListeners } from 'ember-metal/events'; import ObserverSet from 'ember-metal/observer_set'; import { symbol } from 'ember-metal/utils'; export let PROPERTY_DID_CHANGE = symbol('PROPERTY_DID_CHANGE'); var beforeObserverSet = new ObserverSe...
/* SortTable version 2 7th April 2007 Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/ Instructions: Download this file Add <script src="sorttable.js"></script> to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many,...
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
define( ({ noDataMsg: 'لا توجد بنود ليتم عرضها.' }) );
/** * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and contributor * rights, including patent rights, and no such rights are granted under this license. * * Copyright (c) 2013, Dash Industry Forum. * All rights re...
System.register(['angular2/core'], 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 ? desc = Object.getOwn...
/** * @ngdoc directive * @name umbraco.directives.directive:valPropertyMsg * @restrict A * @element textarea * @requires formController * @description This directive is used to control the display of the property level validation message. * We will listen for server side validation changes * and when an error is detect...
/* ========================================================== * bootstrap-formhelpers-states.js v1.3.1 * https://github.com/vlamanna/BootstrapFormHelpers * ========================================================== * Copyright 2012 Vincent Lamanna * * Licensed under the Apache License, Version 2.0 (the "License")...
import { Model } from './model'; class Sender extends Model { static get tableName() { return process.env.SENDERS_TABLE; } static get hashKey() { return 'userId'; } static get rangeKey() { return 'id'; } } module.exports.Sender = Sender;
'use strict'; var path = require('path'); var expect = require('chai').expect; var assign = require('lodash/object/assign'); var Project = require('../../../lib/models/project'); var AddonDiscovery = require('../../../lib/models/addon-discovery'); var fixturePath = path.resolve(__dirname, '../../fixtures/addon'); var ...
require('chai').should(); import localStorage from 'local-storage'; import ls from '../../services/ls'; describe('services/ls', () => { beforeEach(() => localStorage.remove('foo')); describe('#get', () => { it('correctly gets an existing item from local storage', () => { localStorage('foo...
define([ 'aeris/util', 'aeris/util/gmaps', 'aeris/maps/strategy/abstractstrategy', 'aeris/maps/layers/googleroadmap', 'googlemaps!' ], function(_, mapUtil, AbstractStrategy, GoogleRoadMap, gmaps) { /** * A strategy for rendering a Google Maps map. * * @param {aeris.maps.Map} mapObject * @class M...
'use strict'; var renderSettings = function(req, res, next, oauthMessage) { var outcome = {}; var getAccountData = function(callback) { outcome.account = null; callback(null, 'done'); return; req.app.db.models.Account.findById(req.user.roles.account.id, 'name company phone zip').exec(function(err...