code
stringlengths
2
1.05M
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _express = require('express'); var _express2 = _interopRequireDefault(_express); var _membershipController = require('../controllers/membershipController'); var _membershipController2 = _interopRequireDefault(_membershipController);...
import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import styles from './GroupDeleteConfirmationPanel.scss'; import { deleteGroup, toggleDeleteGroupOpen } from '../../../../redux/modules/groups'; import PanelWithActions from '../../../../components/ManagementPages/PanelWithActions/PanelWi...
var _ = require('lodash'), Bluebird = require('bluebird'), path = require('path'), debug = require('debug')('configurated-sample-generator'), fs = Bluebird.promisifyAll(require('fs')), packer = require('./packer'), util = require('util'); function PackerConfigurer(options) { options = o...
/* Waypoint: Iterate over Arrays with map The map method is a convenient way to iterate through arrays. Here's an example usage: var timesFour = oldArray.map(function(val){ return val * 4; }); The map method will iterate through every element of the array, creating a new array with values that have been modified b...
/** * @providesModule RegisterPage */ import React, { Component } from 'react'; import { TouchableOpacity, ScrollView, StyleSheet, Dimensions, TextInput, Platform, Button, Alert, Image, Text, View } from 'react-native'; import Crypto from 'crypto-js'; import { requestState } from 'ReducerUtils'; import { c...
'use strict'; var mongoose = require('mongoose'), Schema = mongoose.Schema; var hasValue = function(val){ return val && val.length; }; // Schema var UserSchema = new Schema({ name: { type: String, required: true, validate: [ hasValue, 'Name cannot be blank'...
Ext.define("Com.GatotKaca.ERP.model.Language",{extend:"Ext.data.Model",fields:[{name:"language_id",type:"string"},{name:"language_name",type:"string"},{name:"language_status",type:"boolean"}]});
/** * History * @see https://github.com/ReactTraining/history */ import { createBrowserHistory, createMemoryHistory } from 'history'; export const historyConfig = { baseName: '', forceRefresh: false, }; export const createClientHistory = () => createBrowserHistory(historyConfig); export const createServerHis...
/*** * Contains core SlickGrid classes. * @module Core * @namespace Slick */ (function($) { // register namespace $.extend(true, window, { "Slick": { "Event": Event, "EventData": EventData, "Range": Range, "NonDataRow": NonDataItem,...
import React from 'react'; import PropTypes from 'prop-types'; import Bar from 'src/components/organisms/Bar'; import Results from 'src/components/organisms/Results'; import './Search.css'; class Search extends React.Component { static propTypes = { isLoading: PropTypes.bool, query: PropTypes.string, re...
'use strict'; const SqlConnectionManager = require('../lib/SqlConnectionManager.js'); describe('SqlConnectionManager tests', () => { test('open connection failed', () => { const connection = { connect: jest.fn((callback) => callback('connection error')), }; const connectionFact...
'use strict'; require('../src/verdoux'); var assert = require('assert'); var util = require('util'); var Experimental = require('../src/experimental'); describe('Experimental', function(){ var experimental; beforeEach(function() { experimental = Experimental.create(); }); it('should be able to be creat...
'use strict'; module.exports = function(grunt) { require('load-grunt-tasks')(grunt); grunt.initConfig({ jshint: { options: { jshintrc: '.jshintrc' }, files: [ 'Gruntfile.js', 'lib/**/*.js', 'test/**/*.js' ] }, watch: { files: ['<%= jshint.fi...
require.config({ baseUrl: './js', paths: { 'cm':'../../bower_components/codemirror' } });
jQuery(function($) { // QWERTY Text Input // The bottom of this file is where the autocomplete extension is added // ******************** $('#text').keyboard({ layout: 'qwerty' }); $('.version').html( '(v' + $('#text').getkeyboard().version + ')' ); // QWERTY Password // ******************** $('#p...
module.exports={A:{A:{"2":"H D G E A B HB"},B:{"1":"J L N I","2":"0 C p"},C:{"1":"1 2 4 6 7 8 9 W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y z AB BB","33":"0 3 cB F K H D G E A B C p J L N I O P Q R S T U V aB UB"},D:{"1":"IB FB JB KB LB MB","33":"0 1 2 4 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W...
(function (global) { System.config({ paths: { // paths serve as alias 'npm:': '/static/js/lib/' }, // map tells the System loader where to look for things map: { // our app is within the app folder app: '', // angular bundle...
function range(a,b) { return a<b ? Array(b-a+1).fill(0).map(i=>a++) : Array(a-b+1).fill(0).map(i=>a--) }
export class Element { constructor(value) { this.value = value; this.next = null; } } export class List { constructor(arr) { this.head = null; if (arr) { arr.forEach((el) => { this.add(new Element(el)); }); } } get length() { return this.head ? this.countElements(...
// @requires Tian.js //============================================================= // Namespace: Tian.Number // Contains convenience functions for number manipulation. //------------------------------------------------------------- Tian.Number = { /** * Property: dsep * Decimal separator to use when f...
/* A morse code keyer, based on HTML5 audio. Gordon Good velo27 [at] yahoo [dot] com License: None; use as you wish Limitations: - Schedules all audio events up front. This means the speed cannot be changed after the send method is called. Usage: keyer = new Keyer(); keyer.init(context, sink); ...
"use strict"; const path = require("path"); const webpack = require("webpack"); const paths = require("./paths"); const env = require("./env"); const outputPath = path.join(paths.app, "distdll"); const webpackConfig = { entry : { cesiumDll : ["cesium/Source/Cesium.js"], }, devtool : "#source-map...
version https://git-lfs.github.com/spec/v1 oid sha256:c9b40ba5d11ec054f4c252d852ab147d85c1188c65ecd068c6c324930c4da26b size 529
'use strict'; module.exports = { up: (queryInterface, Sequelize) => { return queryInterface .addColumn('Orders', 'data', { type: Sequelize.JSON, }) .then(() => queryInterface.addColumn('OrderHistories', 'data', { type: Sequelize.JSON, }), ) .then(()...
import React, { Component } from 'react'; // eslint-disable-next-line import ScrollBar from 'react-perfect-scrollbar'; // eslint-disable-next-line import 'react-perfect-scrollbar/styles.scss'; import './example.scss'; function logEvent(type) { console.log(`event '${type}' triggered!`); } const debounce = (fn, ms =...
import { setData } from '@progress/kendo-angular-intl'; setData({ name: "de-LU", likelySubtags: { de: "de-Latn-DE" }, identity: { language: "de", territory: "LU" }, territory: "LU", numbers: { symbols: { decimal: ",", group: ".", ...
//# sourceMappingURL=http://localhost:8080/static/scripts/dist/app.js.map import React from 'react'; import ReactDOM from 'react-dom'; import PollForm from './createPoll.jsx'; import PollDisplay from './pollDisplay.jsx'; import Sidebar from './sidebar.jsx'; class MainDisplay extends React.Component { render (...
define([ 'angular', 'angular-route', './controllers/index' ], function (ng) { 'use strict'; return ng.module('app', [ 'app.controllers', 'ngRoute' ]); });
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import { Link } from 'react-router-dom'; import Card from '@material-ui/core/Card'; import CardContent from '@material-ui/core/CardContent'; import Typography from '@material-ui/core/Typography'; const...
module.exports = { name: 'user', properties: { fullName: { type: String, required: true } } }
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const HarmonyImportDependency = require("./HarmonyImportDependency"); class HarmonyAcceptImportDependency extends HarmonyImportDependency { constructor(request, originModule, parserScope) { super(reques...
//Problem 3. Occurrences of word //Write a function that finds all the occurrences of word in a text. //The search can be case sensitive or case insensitive. //Use function overloading. function countWordOccurrences(text, word, caseSensitiv){ var i, len, caseSensitiv, currentWord, count...
#!/usr/bin/env node import Backbeam from '../' var yargs = require('yargs').usage('Usage: $0').help('help') yargs.wrap(yargs.terminalWidth()) yargs.command('server', 'Start the development server', (yargs) => { var backbeam = new Backbeam(process.cwd()) backbeam.serverStart() console.log('Started server at port...
var app; (function (app) { var common; (function (common) { var services; (function (services) { var ConstantService = (function () { function ConstantService() { this.apiAcertoURI = 'api/acerto/'; this.apiApostaURI = '/api/apos...
#!/usr/bin/env node var count = process.argv[ 2 ] || 10 ; process.stdout.write( 'Starting echo.js...' ) ; try { process.stdin.setRawMode( true ) ; } catch ( error ) { console.log( 'Not a TTY' ) ; } process.stdin.on( 'data' , function( data ) { console.log( 'Count #' , count , ':' , data ) ; if ( count <= 0 ...
var db = require("mongojs").connect("basketminderdb", ["reports"]); // "username:password@example.com/mydb" exports.getAllReports = function(callback) { db.reports.find(function(err, reports) { if(err) { console.log('No Reports'); console.log(err); } callback(reports...
angular.module('breeze') .controller('ProfileCtrl', function($scope, $auth, $alert, Account) { /** * Get user's profile information. */ $scope.getProfile = function() { Account.getProfile() .success(function(data) { $scope.user = data; }) .error(function(erro...
'use strict'; const assert = require('assert'); const mockRequire = require('mock-require'); const mockBindings = require('./mocks/bindings'); const mockLinux = require('./mocks/linux'); const mockI2c = require('./mocks/i2c.node'); const sinon = require('sinon'); mockRequire('bindings', mockBindings); const i2c = req...
if (typeof exports === 'object') { var assert = require('assert'); var alasql = require('..'); } else { __dirname = '.'; } if (false) { describe('Test 135 a la NoSQL', function () { var test135; it('1. Insert NoSQL', function (done) { var test135 = alasql.create('test135'); var one = test135.create('one'...
Ext.define("Com.GatotKaca.ERP.model.Day",{extend:"Ext.data.Model",fields:[{name:"day_id",type:"number"},{name:"day_name",type:"string"}]});
define(['class'], function(Class){ var Datatypes = {}; var compareValues = function(v1, v2){ if (v1 == v2) { return 0; } else if (v2 > v1) { return 1; } else { return -1; } }; var compareDates = function(v1, v2){ var diff = v2 - v1; if (diff == 0) { return 0; ...
/* civiz.js */ var CVIZ = { version: '0.12' } var COLORS = { red: '#ca0020', pink: '#f4a582', ltblue: '#92c5de', dkblue: '#0571b0', black: '#000000', white: '#ffffff', grey: '#dddddd', highlight: '#ffeb3...
(function(){ dw.visualization.register('grouped-column-chart', 'raphael-chart', { // some config _showValueLabels: function() { return true; }, render: function(el) { this.setRoot(el); var me = this, c = me.initCanvas({}), dataset...
/* Generated with Babel */ /*eslint no-console: 0*/ 'use strict'; var gutil = require('gulp-util'); var PluginError = gutil.PluginError; var path = require('path'); var pluginName = 'gulp-custom-lint'; var rowPad = ' '; var columnPad = ' '; var failedCount = 0; function logLine(rowAndCols, message) { console....
define(['qunit-assert', 'test-setup', 'AMD/Definition', 'AMD/Dependency'], function(t, testSetup, AMDClass, Dependency) { module("AMD.Definition"); var setup = function (test) { var amd = new AMDClass(); var lodash = new Dependency( 'vendor/lodash', '_' ); var jquery = new Dependen...
angular.module('filters.xbmc.asset', []) .filter('asset', function () { return function (input, host) { if (input && host) { var securityPrefix = ''; var asChromeApp = false; if(window.chrome && window.chrome.storage) { asChromeApp = true; } if(!asChromeApp && host.username !...
import { connect } from 'react-redux' import Stats from '../components/stats/Stats' import { tryAgain } from '../actions' const mapStateToProps = (state) => ({ total: state.questions.list.length, open: state.questions.list.filter(q => !q.completed).length, completed: state.questions.list.filter(q => q.completed)...
/** * ================================================ * ABElectronics Expander Pi - DAC demo * Version 1.0 Created 19/06/2017 * * Requires rpio to be installed, install with: npm install rpio * * run with: sudo node dacwrite.js * ================================================ */ // link to the expanderpi librar...
import Vue from 'vue' import Vuex from 'vuex' import grid from './modules/Grid' Vue.use(Vuex) console.log('index.js') export default new Vuex.Store({ modules: { grid } })
import React, { PropTypes } from 'react'; import styled from 'styled-components'; import pallete from 'styles/colors'; import date from 'utils/date'; import FlexRow from 'components/FlexRow'; import FlexRowCenter from 'components/FlexRowCenter'; import FlexSB from 'components/FlexSB'; import FlexColumn from 'component...
/* * File: jshttp.js * Created on Thu Sep 04 10:51:21 BST 2014 by java2js * -------------------------------------------------- * This file was generated mechanically by the java2js utility. * Permanent edits must be made in the Java file. */ define([ "jslib", "edu/stanford/cs/command", "edu/sta...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR2V0Q2xpZW50QnlQb29sUmVzcG9uc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbW9kZWxzL0dldENsaWVudEJ5UG9vbFJlc3BvbnNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiO...
import callApi from '../../util/apiCaller'; import localStorage from 'localStorage'; export const ACTIONS = { ADD_USER_NEWS: 'ADD_USER_NEWS', }; export function addUserNews(news) { return { type: ACTIONS.ADD_USER_NEWS, news }; } export function fetchUserNews(id) { return (dispatch) => { return cal...
var donut = document.getElementByClassName("donutbtn"); donut.addEventListener('click',function(e){ console.log(e); })
"use strict"; const { runTest, runTestWithHelp } = require("../helpers"); const packageName = "info"; const isSubPackage = true; const infoTest = () => { const args = ["info"]; const logMessage = "For using this command you need to install: '@webpack-cli/info' package"; return runTest(packageName, args, logMe...
module.exports = { 'DropScreen': require('./dropscreen'), 'DoActionScreen': require('./doactionscreen'), 'EatScreen': require('./eatscreen'), 'ExamineScreen': require('./examinescreen'), 'GainStatsScreen': require('./gainstatscreen'), 'HelpScreen': require('./helpscreen'), 'InventoryScreen': require('./in...
/*--公用方法--*/ ~function (pro) { //->获取URL地址栏问号后面的参数值及HASH值 function queryURLParameter() { var obj = {}, reg = /([^?=&#]+)=([^?=&#]+)/g; this.replace(reg, function () { obj[arguments[1]] = arguments[2]; }); reg = /#([^?=&#]+)/; if (reg.test(this)) { ...
import { setTitle } from '~/repository/utils/title'; describe('setTitle', () => { it.each` path | title ${'/'} | ${'Files'} ${'app'} | ${'app'} ${'app/assets'} | ${'app/assets'} ${'app/assets/javascripts'} | ${'app/assets/...
//============================================================================= // marker //============================================================================= var MarkerCluster; var MapOverlay_Overlap_chlist={}; //markerのSTATUS種類 1:未完了 5:完了 99:ブックマーク時のアイコン色 MAKER_STATUS_S={ 0:{'color':'336699'},//...
var searchData= [ ['init_5fdetection',['init_detection',['../df/dfe/ncd_8c.html#a09e5952022b76cf427821fee2c4060d4',1,'init_detection():&#160;ncd.c'],['../dc/d68/ncd_8h.html#a09e5952022b76cf427821fee2c4060d4',1,'init_detection():&#160;ncd.c']]], ['ip_5fchecksum',['ip_checksum',['../df/dfe/ncd_8c.html#ad9b2931d45a3e9...
var browser = require('bowser').browser; var hasXMLHttpRequest = 'XMLHttpRequest' in global; var hasXDomainRequest = 'XDomainRequest' in global; var support = module.exports = {}; if (hasXMLHttpRequest) { var xhr = new XMLHttpRequest(); support.xhr = {}; support.xhr.getAllResponseHeaders = 'getAllResponseHead...
/** *@Author: chad.ding *@Copyright: 2017-2018 DMF *@Date: 2017-05-25 10:54:27 */ import React, { Component } from 'react'; import { Input, Select } from 'antd'; import './style.less'; export default class SelectInput extends Component { constructor(props) { super(props); let value = this.pr...
var model = require('./model'); var error = require('../../../error'); var filter = { _id: 0, pwd: 0, __v: 0 }; function getUser(params, callback) { //console.log('GET /user'); var q = model.Q({ uid: 1, pwd: 0 }, params), f = model.F(filter, params); if (q == null) return callback(error....
import Component from 'ember-component'; import computed from 'ember-computed'; import injectService from 'ember-service/inject'; import {htmlSafe} from 'ember-string'; import {isBlank} from 'ember-utils'; import {isEmberArray} from 'ember-array/utils'; import run from 'ember-runloop'; import layout from '../../templat...
import { bindActionCreators } from 'redux' import { connect } from 'react-redux'; import * as trayActions from '../actions/trayActions' import { TrayAppPage } from '../components/tray/TrayAppPage.jsx'; function mapStateToProps(store) { return { storyList: store.storyList, timer: store.timer } } function ...
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), publicPath: 'www/public/assets', resourcesPath: 'www/resources', port: grunt.option('port') || '3003' || '3003', version: '2.15.0', includereplace: { php_views: { options: { globals: { brows...
/** * o------------------------------------------------------------------------------o * | This file is part of the RGraph package - you can learn more at: | * | | * | http://www.rgraph....
(function($) { var jClock = window.jClock = function(clock, canvas, options) { var ctx, img; // Canvas isn't supported, abort if(!(ctx = canvas.getContext('2d'))) return; options = $.extend(true, {}, jClock.defaults, options); img = new Image(); img.src = clock; // Need to wait until ...
// ========================================================================== // Project: SproutCore - JavaScript Application Framework // Copyright: ©2006-2011 Strobe Inc. and contributors. // portions copyright @2009 Apple Inc. // License: Licensed under MIT license (see license.js) // ================...
'use strict'; angular.module('roadServerApp') .factory('Auth', function Auth($location, $rootScope, $http, User, $cookieStore, $q) { var currentUser = {}; if($cookieStore.get('token')) { currentUser = User.get(); } return { /** * Authenticate user and save token * *...
"use strict"; module.exports = function (grunt) { //project configuration grunt.initConfig({ // 通过connect任务,创建一个静态服务器 connect: { options: { port: 8000, // 服务器端口号,默认为8000 hostname: 'localhost', // 服务器地址(可以使用主机名localhost,也能使用IP) base: ...
/* * This is a catch all, for when nothing is working * on a matched route on the server. */ export default () => { return new Promise((resolve) => { resolve({ status: 404, payload: 'Not found' }); }); }
import React, {Component, PropTypes} from 'react'; import { connect } from 'react-redux' import { Table, message } from 'antd' class List extends Component { render() { const { total, list, getList, id } = this.props const pagination = { total, showTotal: total => `共${total}...
/** * Porsche.js is licensed under the MIT license. If a copy of the * MIT-license was not distributed with this file, You can obtain one at: * http://opensource.org/licenses/mit-license.html. * * @author: Yang Yang (compking@gmail.com) * @license MIT * @copyright Yang Yang, 2015 */ "use strict"; var Class = require("...
'use strict'; var _ = require('lodash'); var Collection = require('./Collection'); var io = require('../services/io'); var session = require('../models/session'); var uris = require('../services/uris'); var Modules = Collection.extend({ model: require('../models/Module'), initialize: function () { _.bindAll...
/** * Created by koqiui on 2017-04-09. */ (function (global, factory) { var theExports = null; var hasModuleExports = false; if(typeof module === "object" && typeof module.exports === "object") { theExports = module.exports; hasModuleExports = true; } else {//导出为模块 theExports =...
import { Animated, Dimensions, Image, StyleSheet, View } from 'react-native'; import React, { Component } from 'react'; import { HexagonView } from '../hexagonView'; import PropTypes from 'prop-types'; import { isEqual } from 'lodash'; const { width: WINDOW_WIDTH, height: WINDOW_HEIGHT } = Dimensions.get('window'); ...
// Generated by CoffeeScript 1.6.1 (function() { var Singool, express, findit, fs, _; _ = require('underscore'); fs = require('fs'); express = require('express'); findit = require('findit'); Singool = (function() { Singool.prototype.config = {}; Singool.prototype.jsPackage = null; Singoo...
import Phaser from 'phaser' import Lead from '../engine/leading' var W = function(game, x, y, key, frame) { Phaser.Weapon.call(this, game, x, y, key, frame) } W.prototype = Object.create(Phaser.Weapon.prototype) W.prototype.constructor = W W.prototype.update = function() { if (this.lastFire < this.fireInterval) {...
'use strict'; var path = require('path') , util = require('util') , EventEmitter = require('events').EventEmitter , request = require('request') , _ = require('lodash') , cheerio = require('cheerio') , fs = require('fs') , Bottleneck = require('bottleneckp') , seenreq = require('seenreq') , iconvLite = requi...
// override loader.translate to rewrite 'locate://' & 'pkg://' path schemes found // in resources loaded by supporting plugins var addLocate = function(loader){ /** * @hide * @function normalizeAndLocate * @description Run a module identifier through Normalize and Locate hooks. * @param {String} moduleName Th...
const Command = require('../structures/command.js'); module.exports = class Avatar extends Command { constructor(client) { super(client); this.name = "avatar"; } run(message, args, commandLang) { let embed = this.client.getDekuEmbed(message); let query = args.join(" ").toLowerCase(); let m...
Meteor.publishComposite('servers', function(){ return { find: function(){ return Servers.find({available: true}, { sort: { createdAt: -1 }}); }, children: [{ find: function(){ // Return everything for now to determine what I need to return return PlexCustomers.find({ $and: [{ u...
var notWhiteMatch = /\S+/g; function hasClass(v,c) { return ( v.classList ? v.classList.contains(c) : new RegExp('(^| )' + c + '( |$)', 'gi').test(v.className) ); } function addClass(v,c,spacedName){ if (v.classList) { v.classList.add(c); } else if ( spacedName.indexOf(` ${c} `) ) { v.className += ' '...
class SegmentTree { constructor (graph) { this.graph = graph } build (vertexesPath) { this.t = [] let weight = [] if (vertexesPath.length >= 2) { for (let i = 0; i < vertexesPath.length - 1; i += 1) { weight.push(this.graph.edgeCost(vertexesPath[i + 1], vertexesPath[i])) } ...
import { connect } from 'zefir/utils' import Input from '../../components/ui/input' import Button from '../../components/ui/button' import InputList from '../../components/ui/input-list' const SlackInviteForm = ({ email, sendInvitation, messages }) => ( <div> <form className='Form' onSubmit={sendInvitation}> ...
function Display(arr){ var d = document.createElement('div'); this.display = d; this.arr = arr; } Display.prototype = { whatToDisplay : function(pos, arr){ // console.log(arr); this.display.innerHTML = arr[pos]['name']; }, count : function(amounts){ //make limiter var s = ''; f...
/** * DevExtreme (ui/pivot_grid/ui.pivot_grid.area_item.js) * Version: 16.2.5 * Build date: Mon Feb 27 2017 * * Copyright (c) 2012 - 2017 Developer Express Inc. ALL RIGHTS RESERVED * EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml */ "use strict"; var $ = require("jquery"), Class = require("../...
module.exports = { build: { description: 'Bundle code for release', tasks: [ // Clean output directory 'clean:dist', 'copy:dist', 'sass:dist', // - minify the packaged javascript 'uglify:dist', 'cssmin:dist' ] } };
var modules = require('./modules'); var request = modules.request; exports.fetchMovieByName = function(name, success, error){ request({ method: 'GET', uri: 'http://www.omdbapi.com/?t='+name+'&y=&plot=short&r=json'}, function(e, r, b){ success(JSON.parse(b)); }); }
let extensionInstalled = false; document.getElementById('start').addEventListener('click', () => { // send screen-sharer request to content-script if (!extensionInstalled) { alert( 'Please install the extension:\n' + '1. Go to chrome://extensions\n' + '2. Check: "Enable Developer mode"\n'...
'use strict'; /* Services */ // Demonstrate how to register services // In this case it is a simple value service. angular.module('energy.services', []). value('version', '0.1');
'use strict'; import GithubApi from 'github-api'; /** * The class that extends Github.js * * @extends GithubApi */ export default class Github extends GithubApi { /** * @constructor * @param {Object} options The object containing the information to work with the GitHub API * @param {string} option...
var searchData= [ ['default_5fbits_5fnot_5fcompare',['DEFAULT_BITS_NOT_COMPARE',['../classthewizardplusplus_1_1anna_1_1maths_1_1_maths.html#a75f09f0aec377a8532b750235c0c16ce',1,'thewizardplusplus::anna::maths::Maths']]], ['density',['density',['../classthewizardplusplus_1_1anna_1_1graphics_1_1_fog_parameters.html#a...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.16/esri/copyright.txt for details. //>>built define({widgetLabel:"Teckenf\u00f6rklaring",points:"Punkter",lines:"Linjer",polygons:"Polygoner",creatingLegend:"Teckenf\u00f6rklaring skapas",noLegend:"Ingen teck...
// check if a variable is not undefined, null, or blank var isset = function(variable){ return typeof(variable) !== "undefined" && variable !== null && variable !== ''; } var now = function(){ return 1 * new Date; } var guid = function() { return Config.version + '-xxxxxxxx-'.replace(/[x]/g, function(c) { ...
if (typeof exports === 'object') { var assert = require('assert'); var alasql = require('..'); } else { __dirname = '.'; } describe('Test 213 CONVERT data types', function () { it('1. INT', function (done) { alasql('SELECT VALUE CONVERT(INT,123.45)', [], function (res) { assert(res === 123); done(); }); ...
//! moment.js locale configuration //! locale : Spanish Spain [es] //! author: https://github.com/moment/moment/blob/develop/locale/es.js var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); var e...
var express = require('express'), router = express.Router(), resources = require('./../resources/model'); var sensors = require('./../plugins/internal/tempBaroAltPlugin'); router.route('/').get(function (req, res, next) { res.send(resources.pi.sensors); }); router.route('/barometer').get(function (req, r...
// 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...