code
stringlengths
2
1.05M
// All symbols in the `Tai_Viet` script as per Unicode v7.0.0: [ '\uAA80', '\uAA81', '\uAA82', '\uAA83', '\uAA84', '\uAA85', '\uAA86', '\uAA87', '\uAA88', '\uAA89', '\uAA8A', '\uAA8B', '\uAA8C', '\uAA8D', '\uAA8E', '\uAA8F', '\uAA90', '\uAA91', '\uAA92', '\uAA93', '\uAA94', '\uAA95', '\uAA96', '...
module.exports={A:{A:{"1":"H G E A B","2":"jB","8":"L"},B:{"1":"8 C D e K I N J"},C:{"1":"0 1 2 3 4 5 7 9 gB BB F L H G E A B C D e K I N J P Q R S T U V W X Y Z a b c d f g h i j k l m n o M q r s t u v w x y z JB IB CB DB EB O GB HB aB ZB"},D:{"1":"0 1 2 3 4 5 7 8 9 F L H G E A B C D e K I N J P Q R S T U V W X Y Z a...
/* * Copyright (c) 2017-2018 * * by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com) & DAW students * * GESANE: Free Open Source Health Management System * * Sources at: * https://github.com/rafaelaznar/gesane-server * https://github.com/rafaelazna...
class ModuleDeclaration { constructor (options) { this.type = 'ModuleDeclaration' Object.assign(this, options) } } module.exports = ModuleDeclaration
// Copyright (c) 2015 Uber Technologies, Inc. // // 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...
import React from 'react' import styles from './style/index.less'; class Panel extends React.Component { render(){ var props = this.props; return (<div className={styles.panel}> <div className={styles['panel-title']}>{this.props.title}</div> <div className={styles['panel-amount']}...
// moment.js // Altered slightly for use in Kalendae.js // version : 1.5.0 // author : Tim Wood // license : MIT // momentjs.com var moment = Kalendae.moment = (function (Date, undefined) { var moment, round = Math.round, languages = {}, hasModule = (typeof module !== 'undefined'), ...
import fs from "fs"; import HtmlParser from "./../../src/lib/HtmlParser.js"; describe('lib/HtmlParser', () => { const parser = new HtmlParser(); it('parse() available', () => { expect(parser.parse).toBeDefined(); }); describe('parse invalid input', () => { it('undefined', (done) => { parser.pa...
/* globals module */ /** * @module baasicUserEducationService * @description Baasic User Education Service provides Baasic route templates which can be expanded to Baasic REST URIs. Various services can use Baasic User Education Route Service to obtain needed routes while other routes will be obtained through HAL. By...
/* Main module for angularJS App stephaneAG - 2014 */ (function(){ // 'closure' or 'self executing anonymous functions' // create the App module var app = angular.module('store', []); // create the main controller app.controller('StoreController', function(){ //this.product = gem; // set a...
let days=['monday','tuesday','wednesday','thursday','friday','saturday','sunday']; class WardroundImportForm extends BlazeComponent { onCreated(){ super.onCreated(); this.state=new ReactiveDict(); let dayTime={}; days.forEach((day)=>{ dayTime[day]={ selected:false, morning:false, afternoon:fa...
import React, { Component } from 'react'; import { DragDropContext } from 'react-dnd'; import HTML5Backend from 'react-dnd-html5-backend'; import ReactDOM from 'react-dom'; export class Editor extends Component { render() { const style = {border: '1px dashed', width: '80%', height: '500px'}; return...
// Generated: 2015-9-19 17:50 "use strict"; function print(message) { console.log(message); } function assert(condition, fail_message) { // NOTE: coersion on purpose.. if you pass null or undefined // the condition should fail. if (condition == false) { throw new Error("ASSERTION FAILED: " + fail...
'use strict'; describe('latinApp.version module', function() { beforeEach(module('latinApp.version')); describe('interpolate filter', function() { beforeEach(module(function($provide) { $provide.value('version', 'TEST_VER'); })); it('should replace VERSION', inject(function(interpolateFilter) {...
/* eslint-env jest */ import _ from 'lodash' import { expect } from 'chai' import { Graph } from 'graphlibrary' import rank from '../../lib/rank' describe('rank', function () { const RANKERS = [ 'longest-path', 'tight-tree', 'network-simplex', 'unknown-should-still-work' ] let g beforeEach(function (...
import {Infinity} from 'j0'; export default function clamp(x, L = -Infinity, H = Infinity) { if (H < L) { [L, H] = [H, L]; } if (x < L) { x = L; } else if (H < x) { x = H; } return x; }
module.exports = function (grunt) { require('load-grunt-tasks')(grunt); require('time-grunt')(grunt); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), app: 'src', dist: 'dist', jade: { compile: { options: { client: false, pretty: true ...
import { StandardDice } from '../../src/dice/index.js'; import { RequiredArgumentError } from '../../src/exceptions/index.js'; import { ExplodeModifier, Modifier, SortingModifier } from '../../src/modifiers/index.js'; import ComparePoint from '../../src/ComparePoint.js'; import RollResult from '../../src/results/RollRe...
describe("About Arrays", function() { //We shall contemplate truth by testing reality, via spec expectations. it("should create arrays", function() { var emptyArray = []; expect(typeof(emptyArray)).toBe("object"); //A mistake? - http:javascript.crockford.com/remedial.html expect(emptyArray.length).to...
module.exports = function(grunt) { grunt.initConfig({ "babel": { options: { sourceMap: false }, dist: { files: { // dest - src "build/files/core/Font.js" : "src/core/Font.js", "build/files/core/Game.js" : "src/core/Game.js", "build/files/cor...
import { declareRuntimeEnv } from '@resolve-js/scripts' const cloudConfig = { mode: 'production', runtime: { module: '@resolve-js/runtime-aws-serverless', options: { importMode: 'dynamic', }, }, staticPath: declareRuntimeEnv('RESOLVE_CLOUD_STATIC_URL'), eventstoreAdapter: { module: '@res...
const baseUrl = require('../../config').baseUrl; const copy = require('angular').copy; module.exports = function(app) { app.controller('DinosaurController', ['csResource', 'csDeathTouch', function(Resource, death) { this.dinosaurs = []; this.errors = []; this.counter = death; this.remote = new Resourc...
export default class TileTick { constructor() { this.i = String; this.t = Number; this.p = Number; this.x = Number; this.y = Number; this.z = Number; } }
(function(Padawan) { if (window.Padawan) { console.error(new Error("Conflict! window.Padawan already exists!")); } else { Padawan(); } })(function() { function Padawan(target, message, options) { this.target = target; this.message = message; this.options = options; this.tooltip = null; this.arrow = nu...
/** * An abstract rendering command * * @category Rendering */ class RenderCommand { /** * Indicates if the command concern an opaque element * * @return {boolean} True if command must be in the opaque queue */ isOpaque() { return true; } /** * Execute the command * *...
module.exports = function (sequelize, Sequelize) { return { 'test2.2': { attributes: { bid: { type: Sequelize.INTEGER, primaryKey: true }, id1: { type: Sequelize.INTEGER }, id2: { type: Sequelize.INTEGER }, id3: { type: Sequelize.IN...
//`new Function(...){` if(local.log_dir){ api_text(ret, api, local, req, res, next) } else {// directoty is not ready setTimeout(api_text, 1024, ret, api, local, req, res, next) } return true// async anyway //`}` /* * Event(s): * broadcast: 'chatmsg@um' * * Developed, tested, debugged using ...
'use strict'; var http = require('http'); var https = require('https'); /** * Expose `addShutdown`. */ exports = module.exports = addShutdown; /** * Adds shutdown functionaility to the `http.Server` object * @param {http.Server} server The server to add shutdown functionaility to */ function addShutdown(server) ...
version https://git-lfs.github.com/spec/v1 oid sha256:ef1ea61d60f7f1dc8b40d599d4561cf5e2913efb2e04d639099f1a27f1ece0a7 size 2658
"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...
var path = require('path'); var webpack = require('webpack'); var BrowserSyncPlugin = require('browser-sync-webpack-plugin'); var CopyWebpackPlugin = require('copy-webpack-plugin'); // Phaser webpack config var phaserModule = path.join(__dirname, '/node_modules/phaser/'); var phaser = path.join(phaserModule, 'build/cu...
/* eslint-disable react/prefer-stateless-function, no-use-before-define, react/jsx-no-bind, react/prop-types */ import React, { Component } from 'react-native'; import FriendEntry from '../components/friend_entry'; import { connect } from 'react-redux'; import Immutable from 'immutable'; // just for testing import Butt...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf); var _promise = require('babel-runtime/core-js/promise'); var _promise2 = _interopRequireDefa...
'use strict'; /* * This program is distributed under the terms of the MIT license: * <https://github.com/v0lkan/talks/blob/master/LICENSE.md> * Send your comments and suggestions to <me@volkan.io>. */ var chart = require( 'darth' ); var clear = require( 'clear' ); var POLL_INTERVAL = 1000; var data = []; export...
import * as middleware from "lib/auth/middleware" describe("auth middleware", () => { describe("#validArtsyEmail", () => { it("returns true for artsy accounts, false for anything else", () => { expect(middleware.validArtsyEmail("johndoe@artsymail.com")).toBeTruthy() expect(middleware.validArtsyEmail(...
import QueryBuilder from './QueryBuilder'; export default QueryBuilder;
const webpack = require('webpack'); const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const ExtractTextPlugin = require("extract-text-webpack-plugin"); module.exports = { devtool: 'source-map', entry: { 'app': [ 'babel-polyfill', 'react-hot-loader/patch', ...
var express = require('express'); var router = express.Router(); var log = require('bunyan').createLogger({name: "admin-index", streams: require('../../lib/logformat')}); /** * Render admin views * @param {string} view view's name http://localhost:3000/admin/v/index */ router.get('/v/:view', func...
// Demo components. import "./src/CalendarDayMoonPhase.js"; import "./src/CarouselComboBox.js"; import "./src/CountryListBox.js"; import "./src/CustomCarousel2.js"; import "./src/CustomDrawer.js"; import "./src/FocusVisibleTest.js"; import "./src/LabeledColorSwatch.js"; import "./src/LocaleSelector.js"; import "./src/M...
module.exports = { entry: './src/crosstalk.js', output: { path: __dirname + '/dist', filename: 'crosstalk.min.js', }, module: { loaders: [{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' }] }, externals: [{ "window": "window" }] };
(function ($, undefined) { describe("Klavier", function () { var Klavier = $.fn.klavier._constructor, container; beforeEach(function () { container = $("<div></div>").appendTo(window.document.body); }); afterEach(function () { container.remove(); container = undefined; ...
// Copyright (c) 2015 Lorenzo Gil // MIT License import AuthManager from '../utils/authmanager'; export default { name: 'authManager', initialize: function (application) { application.register('authmanager:main', AuthManager); application.inject('controller', 'authManager', 'authmanager:main...
version https://git-lfs.github.com/spec/v1 oid sha256:b77f49ef5a838914e339d98b141ece3cde2766b8433058ba60abc9d22badd648 size 4346
module.exports = Column; function Column() {}; Column.iface = [ 'getName', 'isNullable', 'getDataType', 'getMaxLength', 'isPrimaryKey', 'getDefaultValue', 'isUnique', 'isAutoIncrementing' ]; Column.iface.forEach(function(method) { Column.prototype[method] = function() { throw new Error(method +...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides default renderer for control sap.ui.commons.FileUploader sap.ui.define(['jquery.sap.global', 'sap/ui/core/Renderer', 'sap...
'use strict'; /* Ensure the script fires even if the DOM is already loaded */ if ( document.readyState !== "loading" ) { homepageLogic(); } else { document.addEventListener( 'DOMContentLoaded', function() { homepageLogic(); } ); } function homepageLogic() { let date = new Date, slideIn_1 = ...
var http = require('http'); var express = require('express'); var app = express(); var server = http.createServer(app); var io = require('socket.io').listen(server); var gist = require('./gist.js'); app.configure(function(){ app.use(express.static(__dirname + '/public')); }); /*app.get("/add/user", function(req, r...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
export default { noContacts: "Keine Datensätze gefunden." }; // @key: @#@"noContacts"@#@ @source: @#@"No records found."@#@
(function() { var API = new Module("processFrame"); function reportConnection(connection) { log("process frame started"); var frameWindow = sys.modules.iFrameWindow.makeFrameWindow({title : "unnamed process iframe"}); log("made iframe window"); var win=frameWindow.win; win.connection=connection...
angular.module('iTravelApp.controller.home', []) .controller('HomeCtrl', function($scope, $state, $ionicModal, $http, ApiEndpoint, Plan, $location, User, _, $ionicLoading, $rootScope) { console.log('HomeCtrl loaded'); init(); function init() { $scope.currLocation = { ...
/*jslint browser: true*/ /*global pluralize: true*/ "use strict"; // // Interpret various metrics into a string response and a score. // // Abstract "class" for interpreting results. This is in an implementation of // functional inheritance, as defined in /JavaScript: The Good Parts/. // // In this pattern, we defin...
var path = require('path') module.exports = { entry: { app: './src/main.js' }, output: { path: path.resolve(__dirname, '../dist/static'), publicPath: '/static/', filename: '[name].js' }, resolve: { extensions: ['', '.js', '.vue'], alias: { 'src': path.resolve(__dirname, '../src'...
(function() { window.Blitz = (function() { Blitz.VERSION = '0.7.1'; Blitz.prototype.blitzTemplate = "<div class=\"blitz hide\">\n <div class=\"blitz-inner-wrapper\">\n <span class=\"blitz-message\"></span>\n <span class=\"blitz-spinner hide\"></span>\n <a href=\"#\" class=\"blitz-close\">&times;</a...
version https://git-lfs.github.com/spec/v1 oid sha256:eb9a504a0d1b626f3907e46a9889c349c8dc4be581537797192803cae3609b12 size 400324
/** * Generic AppContainer for unsing OneRef with React. * * usage: * * import MyApp from './myApp'; // React class * <AppContainer appClass={MyApp} stateRef={...} />, * * creates an instance of appClass, passing appState (current value of stateRef) * and stateRefUpdater as properties. * * Listens for...
'use strict'; /** * Module dependencies */ var confirmationsPolicy = require('../policies/confirmations.server.policy'), confirmations = require('../controllers/confirmations.server.controller'); module.exports = function(app) { // Confirmations Routes app.route('/api/confirmations/search').all() .post(co...
import React from "react"; import { render } from "react-dom"; import { Router, Route, browserHistory, IndexRoute } from "react-router"; import { Root } from "./components/Root"; import { Home } from "./components/Home"; import { User } from "./components/User"; import { Lessons } from "./components/Lessons"; class A...
'use strict'; /* * The entry point. * * @module Iamporter */ module.exports = require('./lib/iamporter');
var child_process = require('child_process'); var async = require('async'); var fs = require('fs'); var c = require('../config.js'); var parameters = { lossless: [ '-c:v','prores' ], preview: [ '-c:v','libx264', '-s',Math.round(c.width/2)+'x'+Math.round(c.height/2), '-crf','16', '-pix_fmt','yuv420p', // q...
var wd = require('wd'); var urlparse = require('url').parse; var urlformat = require('url').format; var WebDriverInstance = function (baseBrowserDecorator, args, logger) { var log = logger.create('WebDriver'); var config = args.config || { hostname: '127.0.0.1', port: 4444 }; var self = this; // In...
const Recommendation = require('../models/Recommendation'); /****************************WEBPAGE SESSION********************************/ /** * GET /recommendation * Recommendation Index Page. */ exports.getRecommendation = (req, res) => { var paramSearch = { 'user': req.user.id }; Recommendation.find(paramSear...
/** * Copyright 2012-2019, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; module.exports = { barmode: { valType: 'enumerated', values: ['stack', 'group', 'overlay', ...
"use strict"; //界面参数 function qSA(query) { return document.querySelectorAll(query); } function qS(query) { return document.querySelector(query); } var rAF = requestAnimationFrame $(function() { $("#tabs").tabs({ collapsible: true, selected: 1, onSelect: function() { var tabs2 = $("#tabsShow").tabs({ se...
/** * Creates private scope based on context * @module Private */ /** * * @returns {Function} * @example * import $private from 'yyf/private-scope'; * const $p = $private(); * * class A { * constructor(secureData) { * $p(this, secureData); * } * get password() { * return encrypt($(this).password...
/** * SeaJS v2.0.0b3 | seajs.org/LICENSE.md */ (function(global, undefined) { // Avoid conflicting when `sea.js` is loaded multiple times var _seajs = global.seajs if (_seajs && _seajs.version) { return } var seajs = global.seajs = { // The current version of SeaJS being used version: "2.0.0b3" } /** * uti...
import angular from 'angular'; import PhoneFormController from './phone-form.controller'; import PhoneFromDirective from './phone-form.directive'; const phoneForm = angular.module('app.components.phoneForm', []) .controller(PhoneFormController.name, PhoneFormController) .directive(`aioPhoneForm`, PhoneFromDir...
'use strict'; var each = require('lodash/each'); var DataNode = require('./data/Node'); /** Base node type for document nodes. @class @abstract @param {model/Document} doc A document instance @param {object} node properties */ function DocumentNode(doc, props) { DataNode.call(this, props); if (!doc) ...
import React from 'react' import PropTypes from 'prop-types' import ReactDOM from 'react-dom' import FloatingActionButton from 'material-ui/FloatingActionButton' import autoPrefix from 'material-ui/utils/autoPrefix' import {extendChildren} from 'material-ui/utils/childUtils' /* From https://material.google.com/compon...
var path = require('path') var HtmlWebpackPlugin = require('html-webpack-plugin') var webpackConfig = { entry: './index.js', output: { path: path.resolve(__dirname, './dist'), filename: 'index_bundle.js' }, plugins: [new HtmlWebpackPlugin()] } module.exports = webpackConfig
import React from 'react' import { BarChart, XAxis } from 'react-native-svg-charts' import { View } from 'react-native' import * as scale from 'd3-scale' class XAxisExample extends React.PureComponent { render() { const data = [14, 80, 100, 55] return ( <View style={{ height: 200, padd...
/** * React (with addons) v0.10.0 */ !function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(function(){var define,module,expo...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
/* * PhantomJS Runner QUnit Plugin (List Tests) 1.2.0 * * PhantomJS binaries: http://phantomjs.org/download.html * Requires PhantomJS 1.6+ (1.7+ recommended) * * Run with: * phantomjs runner-list.js [url-of-your-qunit-testsuite] * * e.g. * phantomjs runner-list.js http://localhost/qunit/test/index.html *...
/** * @description * HTTP code snippet generator for native Go. * * @author * @montanaflynn * * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author. */ 'use strict'; var util = require('util'); var CodeBuilder = require('../../helpers/code-builder'); m...
var nodeExternals = require('webpack-node-externals'); var webpack = require('webpack'); var browserify = require('browserify'); var path = require('path'); var fs = require('fs'); var os = require('os'); var deleteEmpty = require('delete-empty'); var PACKAGE_FILE = JSON.parse(fs.readFileSync(path.join(__dirname...
module.exports = { 'v-list-item-subtitle': { slots: [ { name: 'default', props: undefined, }, ], }, }
/* * The MIT License * * Copyright (c) 2009 Olle Törnström studiomediatech.com * * 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 ...
"use strict"; const express = require("express"); const router = express.Router(); const UserModel = require("../models/user"); const portfolioCtrl = require("../controllers/portfolioCtrl"); const getQuoteCtrl = require("../controllers/getQuoteCtrl"); const getStockCtrl = require("../controllers/getStockCtrl"); // get...
// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { ScrollView, StyleSheet, TextInput, View, Dimensions, } from 'react-native'; import { ListItem } from 'react-native-elements'; import { ViewContainer, SectionList, Loa...
StartTest(function(t) { var validAttributes = { name: 'name-' + Math.random(), plan_type: 'daily', autocompletable: false, begin_to_remind: 0, enabled_at: new Date(), data: { x: 'x', y: 'y', deadline_hour: '3', deadline_minute: '13' }, assignables_attributes: [{...
var MapWithSvgMarkers = MapWithSvgMarkers || {}; MapWithSvgMarkers.map = { mapConf: { markers: [ {latLng: [341.1460064696189, 226.21229238521158], associatedImages: [0], title: "New York" , pictures: [{src: 'sample3.jpg'}]}, {latLng: [361.4523163785248, 502.3781071463317], associatedImages: [...
(function (factory) { // Turn off strict mode for this function so we can assign to global.ArrayStruct /* jslint strict: false */ // see https://github.com/kriskowal/q/blob/master/q.js // This file will function properly as a <script> tag, or a module // using CommonJS and NodeJS or Requir...
'use strict'; module.exports = { app: { title: 'RELIOX', description: 'Chlorine Dioxide Technology', keywords: 'reliox, reli-ox, chlorine, chlorine dioxide, dioxide, smell, smelly, reliox-corp', googleAnalyticsTrackingID: process.env.GOOGLE_ANALYTICS_TRACKING_ID || 'GOOGLE_ANALYTICS_TRACKING_ID' },...
module.exports = { lang: 'en', altLang: '', langChange: 'Ελληνικά', basemap: 'Υπόβαθρο', layers: { mapBox: 'Χάρτης', bing: 'Δορυφορική εικόνα', estates: 'Ακίνητα' }, estate: { title: 'Estate Type', type: { detached: 'Detached House', apartment: 'Apartment', store: 'St...
import createVCA from './vca'; import {connect, disconnect} from './util'; import createCompressor from './compressor'; export const createAudioContext = () => new (window.AudioContext || window.webkitAudioContext)(); export const createInsertEffect = ({ context, effect, dryGain = 1, wetGain = 0.5 }) => { const...
'use strict'; const lib = require('../lib/'); const Ajv = require('ajv'); const dat = { s1: { signal: [{ name: 'Alfa', wave: '01.zx=ud.23.45' }] }, s2: { signal: [ { name: 'pclk', wave: 'p.......' }, { name: 'Pclk', wave: 'P.......' ...
'use strict'; var React = require('react'); var SvgIcon = require('../../svg-icon'); var MapsDirectionsCar = React.createClass({ displayName: 'MapsDirectionsCar', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: "M18.92 6.01C18.72...
/** * @title WET-BOEW Meter polyfill * @overview The <meter> element displays a gauge. Based on code from https://gist.github.com/667320 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html * @author @nschonni */ (function( $, window, wb ) { "use strict"; /* * Vari...
'use strict'; //Setting up route angular.module('avaliacao').config(['$stateProvider', function($stateProvider) { // Avaliacao state routing $stateProvider. state('edit-avaliacao', { url: '/avaliacao/:avaliacaoId/edit', templateUrl: 'modules/avaliacao/views/edit-avaliacao.client.view.html' }). state('...
import { Router } from 'express'; import IsArray from '../../core/isArray'; const Parse = require('parse/node'); import TransactionObject from '../transactions/TransactionModel'; const router = new Router(); // For the remaining routes require login. router.use(async (req, res, next) => { if(req.session && req....
// Copyright 2011 The Closure Library Authors. 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.apache.org/licenses/LICENSE-2.0 // // Unl...
Ext.define('MyApp.controller.Main', { requires : [ ], extend: 'Ext.app.Controller', stores : [ ], init : function () { var me = this; me.control({ 'layout panel > grid' : { 'itemclick' : function (grid, record, el, index){ } ...
// Base16 iA Dark // Scheme: iA Inc. (modified by aramisgithub) var color_scheme = { 'base00': '#1a1a1a', 'base01': '#222222', 'base02': '#1d414d', 'base03': '#767676', 'base04': '#b8b8b8', 'base05': '#cccccc', 'base06': '#e8e8e8', 'base07': '#f8f8f8', ...
import React, { Component } from 'react'; import { Row, Col } from 'antd'; import Spin from '../../../components/uielements/spin'; import Alert from '../../../components/feedback/alert'; import Switch from '../../../components/uielements/switch'; import PageHeader from '../../../components/utility/pageHeader'; import B...
var chai = require("chai"); var expect = chai.expect; var sinon = require("sinon"); var context = require("./lambda_driver/context"); var event = require("./lambda_driver/s3_put_event"); describe('app.js', function() { describe('lambda', function() { it("calls context#done", function() { var sp...
import {Factory} from 'config/factory'; export class [componentName]Service extends Factory { config(httpFactory) { "ngInject"; //Define your methods here var factory = {}; return factory; } }
// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. //Busco o endereço pelo CEP $(document).ready(function(){ $("#enterprise_cep").on('focusout', function() { var cep = $("#enterprise_cep").val().replace(/[^0-9]/, ''); ...
/* eslint-disable global-require */ // The top-level (parent) route export default { path: '/', // Keep in mind, routes are evaluated in order children: [ require('./home').default, require('./catalog').default, require('./about').default, // Wildcard routes, e.g. { path: '*', ... } (must...
/********************************************* * skel/workbench/js/yloader.js * YeAPF 0.8.54-53 built on 2017-03-07 17:28 (-3 DST) * Copyright (C) 2004-2017 Esteban Daniel Dortta - dortta@yahoo.com * 2017-03-07 17:28:07 (-3 DST) * First Version (C) 2014 - esteban daniel dortta - dortta@yahoo.com * Purpose: ...