text
stringlengths
2
1.04M
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ //# sourceMappingURL=lib/mobx.min.js.map
#!/usr/bin/env node 'use strict'; const {join} = require('path'); const {readJsonSync} = require('fs-extra'); const {getPublicPackages, handleError} = require('./utils'); const checkEnvironmentVariables = require('./shared-commands/check-environment-variables'); const downloadBuildArtifacts = require('./shared-comma...
// @flow import React from 'react'; type Props = { children?: any, } const TableWrapper = ({ children, }: Props) => <div className='table__table-wrapper'>{children}</div>; export default TableWrapper;
class C { #x; constructor(foo, _p) { var x = _p.#x; this.foo = foo; } }
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import DropDownMenu from './DropDownMenu'; import getMuiTheme from '../styles/getMuiTheme'; describe('<DropDownMenu />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node) => shallo...
'use strict'; var dgram = require('dgram'); var util = require('util'); var events = require('events'); var decode = require('./decode'); var Server = function(port, host) { var server; events.EventEmitter.call(this); this.port = port; this.host = host; this._sock = dgram.createSocket({ typ...
import { describe, it, beforeEach } from 'mocha'; import { expect } from 'chai'; import { setupApplicationTest } from 'ember-mocha'; import { authenticateSession } from 'ember-simple-auth/test-support'; import setupMirage from 'ember-cli-mirage/test-support/setup-mirage'; import { visit, find, click, currentRouteName }...
var labels = document.getElementById("barchart5").getAttribute("data-labels").split(","); var data = document.getElementById("barchart5").getAttribute("data-data").split(","); var ctx = document.getElementById("ticketregioncount").getContext('2d'); var coloR = []; var dynamicColors = function() { ...
$(document).on("ready",inicio); function inicio(){ buscar_administrativos(); } function buscar_administrativos(){ var base_url = document.getElementById('base_url').value; var cargo_id = document.getElementById('cargo_id').value; var controlador = base_url+"reporte/buscar_administrativo"; $.ajax({...
(function ($) { "use strict"; // Start of use strict // Smooth scrolling using jQuery easing $('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function () { if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { var target = $(this....
import React from 'react'; import styled from '@emotion/styled'; import { colorsRaw, colors, Icon, lengths, zIndex } from 'netlify-cms-ui-default'; import { translate } from 'react-polyglot'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; const SearchContainer = styled....
window.$ = require('jquery'); // Make sure everything is included in the bundle require('buffer-browserify'); var reconnect = require('reconnect'); var reloader = require('client-reloader'); var domready = require('domready'); var client = require('../shared/client'); var game = require('../shared/state'); var U...
/** * @license Copyright 2018 Google Inc. 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 * Unless required by applicable law or a...
const express = require("express") const app = express(); const data = require("./data.js") app.get("/api/products", ( req, res )=>{ res.send(data.products) }) app.listen(5000, ()=>{ console.log("server running") })
const express = require ('express'); const app = express(); app.get ('/', (req, res) => { res.send({ hi: 'there'}); }); app.listen(5000);
//// [implicitsResolve.ts] interface App<M, A> { _appBrand: {m:M,a:A}; } implicit const arrToApp = <A>(i: Array<A>) => <App<Array<any>, A>>(<any>i); implicit const appToArr = <A>(i: App<Array<any>, A>) => <Array<A>>(<any>i); interface Monad<M> { chain: <A, B>(arg: App<M, A>, fn: (arg: A) => App<M, B>) => App<M,B...
const semver = require('semver') const minixhr = require('minixhr') /* global Worker */ export const baseURLBin = 'https://solc-bin.ethereum.org/bin' export const baseURLWasm = 'https://solc-bin.ethereum.org/wasm' export const pathToURL = {} /** * Retrieves the URL of the given compiler version * @param version is...
const http = require('http'); const fs = require('fs'); const path = require('path'); const JSON5 = require('json5'); const btoa = require('btoa'); const NodeUtils = require('./NodeUtils.js'); const Nimiq = require('../../../dist/node.js'); class JsonRpcServer { /** * @param {{port: number, corsdomain: string...
"use strict"; var pes = 1; var tripCtrl = require("../trip/tripCtrl"); var http = require("../misc/http"); t //cc here exports.registerRoute = function (app) { };
const feature_policies = { "AmbientLightSensor" : ["ambient-light-sensor"], "Accelerometer" : ["accelerometer"], "LinearAccelerationSensor" : ["accelerometer"], "GravitySensor" : ["accelerometer"], "Gyroscope" : ["gyroscope"], "GeolocationSensor" : ["geolocation"], "Magnetometer" : ["magnetometer"], "Un...
var itemSelected=null; var cont=0; $(document).ready(function (){ $(document).on('click','.procesar',function (){ $('.tl').text('Confirmar Cierre de Inventario'); $.get( $(this).data('url'), function (data) { $('.modal-body').html(data); $('#moda...
const crypto = require("crypto"); const isString = require("lodash/isString"); const common = require("../common/bigquery"); module.exports = { ...common, key: "google_cloud-bigquery-new-row", name: "BigQuery - New Row", description: "Emit an event when a new row is added to a table", version: "0.0.1", ded...
/* eslint-disable react/prop-types */ import { memo, useCallback, useEffect, useState, } from 'react'; import { Container } from '@material-ui/core'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { ShoppingCart } from 'react-feather'; import ReceiptIcon from '@material-ui/icons/R...
const html = require('choo/html'); const callcount = require('./callcount.js'); const chai = require('chai'); const expect = chai.expect; // Skip a test if the browser does not support locale-based number formatting function ifLocaleSupportedIt (test) { if (window.Intl && window.Intl.NumberFormat) { it(test); ...
!function(e){"function"==typeof define&&define.amd?define(["../datepicker"],e):e(jQuery.datepicker)}(function(e){return e.regional.ar={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمب...
import Vue from 'vue' import VueRouter from 'vue-router' import moment from 'moment' import Swal from 'sweetalert2' import {Form, HasError, AlertError} from 'vform' import VueProgressBar from 'vue-progressbar' import { BootstrapVue, IconsPlugin } from 'bootstrap-vue' import 'bootstrap/dist/css/bootstrap.css' import 'bo...
odoo.define('web.DataModel', function (require) { "use strict"; var data = require('web.data'); var Model = require('web.Model'); var pyeval = require('web.pyeval'); var session = require('web.session'); Model.include({ /** * Fetches a Query instance bound to this model, for searching * * @param {A...
import notification from './notification.store'; import session from './session.store'; import system from './system.store'; import adminMenu from './admin-menu.store'; import context from './context.store'; import licenseViolation from './license-violation.store'; import error from './error.store'; import settingsItem...
'use strict'; var _request = require('request'); var _request2 = _interopRequireDefault(_request); var _node = require('parse/node'); var _node2 = _interopRequireDefault(_node); var _HTTPResponse = require('./HTTPResponse'); var _HTTPResponse2 = _interopRequireDefault(_HTTPResponse); var _querystring = require('...
/* Copyright (c) 2017, F5 Networks, Inc. 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 * Unless required by applicable law or agreed to ...
//# sourceMappingURL=runtime~main.766c0d58a3c1d085d48b.bundle.js.map
var pageComponent = webpackJsonppageComponent([13],{ /***/ 276: /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _metalComponent = __webpack_require__(1); var _metalComponent2 = _interopRequireDefault(_metalComponent); var ...
import shop from '../../api/shop' // initial state // shape: [{ id, quantity }] const state = () => ({ firstname: 'Sidney', lastname: 'Ondap', email: '', username: '', password: '', birthday: '', gender: '', }) // getters const getters = { getFullName: (state) => { return state.firstname + ' ' + s...
import { getTimeStamp, getRandomVal } from "../utils"; const graphData = [ { day: 1, date: getTimeStamp("sub", 5, 4), time: "5시", status: "공복", sugar: getRandomVal(50, 200) }, { day: 1, date: getTimeStamp("sub", 9, 4), status: "아침 식후", time: "9시", sugar: getRandomVal(100, ...
'use strict'; var path = require( 'path' ); var chai = require( 'chai' ); // Variable to use as our "success token" in promise assertions var SUCCESS = 'success'; // Chai-as-promised and the `expect( prom ).to.eventually.equal( SUCCESS ) is // used to ensure that the assertions running within the promise chains are // ...
import React from "react"; import context from "../decorators/consumer"; import { Alert } from "react-bootstrap"; const Success = props => { const { children, context: { status: { submitSucceeded } } } = props; if (!submitSucceeded) { return null; } return <Alert bsStyle={"success"}>{ch...
// We only need to import the modules necessary for initial render import CoreLayout from '../layouts/PageLayout/PageLayout' import Home from './Home' import CounterRoute from './Counter' import ExerciseRoute from './Exercise' /* Note: Instead of using JSX, we recommend using react-router PlainRoute objects to bu...
require("chai") .use(require("chai-as-promised")) .should() const { expect } = require("chai") // Contracts const TransactionRecorder = artifacts.require("./TransactionRecorder.sol") const TransactionRequestCore = artifacts.require("./TransactionRequestCore.sol") // Bring in config.web3 (v1.0.0) const config = r...
class SenbayReader{ constructor(videoElementId, baseNumber=121, debug=false) { // console.log(baseNumber) this.senbayFormat = new SenbayFormat(baseNumber); this.videoElementId = videoElementId; this.video = document.getElementById(videoElementId); this.timerId = null; this.decodeHandler = n...
/* so globalna promenliva, ama ne e dobra praksa let c; function add(a, b) { c = a + b; } add(2, 2); console.log("c: " + c); */ //Ova e Pure function function add(a, b) { return a + b; } let c = add(2, 2); console.log(c); //drug primer function add(a, b) { return a + b; } let sum = add(2, 2); console.log(s...
module("display joining message", { setup: function() { this.$tour = $('<div class="js-virtual-tour"></div>'); $('#qunit-fixture').append(this.$tour); this.$nav = $('<div class="tour-nav"><a href="#one">one</a><a href="#two">two</a></div>'); this.$tour.append(this.$nav); this.$info = $('<div id=...
const { LOCALE } = require("../util/EvobotUtil"); const i18n = require("i18n"); const { MessageEmbed } = require("discord.js"); i18n.setLocale(LOCALE); module.exports = { name: "invite", description: i18n.__('invite.description'), execute(message, args) { //set the permissions id here (https://discordapi.co...
module.exports = { purge: [ '../lib/**/*.ex', '../lib/**/*.eex', '../lib/**/*.leex' ], darkMode: false, // or 'media' or 'class' theme: { extend: { screens: { 'sm': '680px' }, fontFamily: { 'sans': '"Lato", "Helvetica Neue", Helvetica, Arial, sans-serif' }...
const http = require('http'); const express = require('express'); const app = express(); const porta = 3000; var contador = 2; const livros = [ { id: 1, titulo: "Diario de um Banana", descricao: 'É um livro de ficçao cientifica que conta a historia de um estudante em suas aventuras do dia a dia', e...
/* * 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 ma...
/** * Implement Gatsby's Node APIs in this file. * * See: https://www.gatsbyjs.org/docs/node-apis/ */ // You can delete this file if you're not using it const path = require("path") exports.createPages = ({ actions, graphql }) => { const { createPage } = actions const postTemplate = path.resolve(`src/templat...
+ function($) { 'use strict'; // UPLOAD CLASS DEFINITION // ====================== var dropZone = document.getElementById('drop-zone'); var uploadForm = document.getElementById('js-upload-form'); var startUpload = function(files) { console.log(files) Array.prototype.forEach.c...
// mlog链接 module.exports = (query, request) => { const data = { id: query.id, resolution: query.res || 1080, type: 1, } return request('POST', `https://music.163.com/weapi/mlog/detail/v1`, data, { crypto: 'weapi', cookie: query.cookie, proxy: query.proxy, realIP: query.realIP, }) }
import states from './states'; export default { states };
/* */ (function(Buffer) { var md5 = require('create-hash/md5'); var rmd160 = require('ripemd160'); var sha = require('sha.js'); var checkParameters = require('./precondition'); var defaultEncoding = require('./default-encoding'); var Buffer = require('safe-buffer').Buffer; var ZEROS = Buffer.alloc(128); ...
function sendMessage(context, event) { const client = context.getTwilioClient(); return client.messages .create({ from: event.To, to: event.From, body: 'Here is our address: 375 Beale St #300, San Francisco, CA 94105, USA', }) .then( (resp) => resp, (err) => { conso...
'use strict'; /** * if VCAP_SERVICES exists then it returns the credentials * for the last service that stars with 'name' or {} otherwise * If plan is specified it will return the credentials for * the service instance that match that plan or {} otherwise * @param String name, service name * @param String plan...
/** * @module route */ const pathToRegexp = require('path-to-regexp') const {deepClone} = require('@ministryofjustice/fb-utils-node') const {FQD, PORT} = require('../constants/constants') const SERVER_ADDRESS = FQD ? FQD.replace(/\/$/, '') : `http://localhost:${PORT}` const { getEntryPointInstances, getInstanc...
var setData = require('@progress/kendo-angular-intl').setData; setData({ name: "fr-CG", likelySubtags: { fr: "fr-Latn-FR" }, identity: { language: "fr", territory: "CG" }, territory: "CG", numbers: { symbols: { decimal: ",", group: " ",...
let mathEnforcer= require('./mathEnforcer.js'); // its not working with distructuring syntax in judje so thats why im using the normal way let { assert } = require('chai'); describe('Testing the module given from the file above', () => { describe('Testing the functionality of the addFive function', () => { ...
const radiansToDegreesConversionValue = 180 / Math.PI; export function convertRadiansToDegrees(value) { return value * radiansToDegreesConversionValue; }
// Please kill me now // This does pagination // 4/1/20 Renamed to kawaii.sh, too lazy to rename the plugin though (function ($) { $.fn.nekoPaginate = function (options) { var defaults = { paginateElement: 'li', hashPage: 'page', elementsPerPage: 10, effect: 'default', slideOffset: 2...
/** * Copyright 2015 Google Inc. 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 * * Unless required by appli...
export const haha = '1'
export default { bind(el, binding, vnode) { if ( el.querySelector(".el-dialog__header") && el.querySelector(".el-dialog") ) { debugger; const dialogHeaderEl = el.querySelector(".el-dialog__header"); const dragDom = el.querySelector(".el-dialog"); dialogHeaderEl.style.cssTex...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId])...
export default function isNumber(item) { return /[0-9]+/.test(item); }
/* Sub to "publish" normalize pub to "publishToFront" Goals: * groom What goes to socket.io */ require('dotenv').config({path:"../../../.env"}); let TAG = " | socket Router | " const util = require('@arbiter/arb-redis') const redis = util.redis let publisher = util.publisher let subscriber = ut...
AOS.init({ duration: 800, easing: 'slide-up', once: true }); (function($) { 'use strict'; // bootstrap dropdown hover // loader var loader = function() { setTimeout(function() { if($('#loader').length > 0) { $('#loader').removeClass('show'); } }, 1); }; loader(); $('...
uni.$u.props.gap.bgColor = '#f3f4f6' uni.$u.props.gap.height = '10'
require('./angular-locale_fr-ne'); module.exports = 'ngLocale';
// https://gist.githubusercontent.com/Yizack/bbfce31e0217a3689c8d961a356cb10d/raw/107e0bdf27918adea625410af0d340e8fc1cd5bf/countries.json import https from 'https'; // paso 1 import fs from 'fs'; const options = { // paso 2 hostname: 'gist.githubusercontent.com', port: 443, path: '/Yizack/bbfce31e0217a3689...
import React, { useEffect, useState } from 'react'; import { Link, Redirect } from 'react-router-dom'; import { useDispatch, useSelector } from 'react-redux'; import { makeStyles } from '@material-ui/core/styles'; import Container from '@material-ui/core/Container'; import Typography from '@material-ui/core/Typography'...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = _default; var _beforeBlockString = _interopRequireDefault(require("./beforeBlockString")); var _hasBlock = _interopRequireDefault(require("./hasBlock")); var _rawNodeString = _interopRequireDefault(require("./rawNode...
const dotenv = require('dotenv').config(); const express = require('express'); const app = express(); const port = 8080; const bodyParser = require('body-parser'); const fs = require('fs'); const formidable = require('formidable'); const child_process = require('child_process'); const path = require('path'); const mong...
import axios from "axios"; const defaultStatus = { id: 0, username: "未认证用户", roleAuthorities: [], type: 'Anonymous', status: 1, statusName: '启用', authentication: false, rememberMe: false, resourceAuthorityStrings: [], avatar: undefined, token:"", menus:[] }; export cons...
const config = { // context: __dirname + '/src', // `__dirname` is root of project and `src` is source entry: { app: './js/app.js', }, output: { path: __dirname + '/public', filename: "./app.js" }, module: { rules: [ { test: /\.(sass|scss|css)$/, //Check for sass or scss file n...
'use strict'; let playerOne; let playerTwo; // DISPLAY CONTROLLER MODULE const displayController = (() => { let gameDifficulty = 'easy'; // 'easy' as initial difficulty in case player doesn't select any let gameMode; const getGameMode = () => gameMode; // UI - PLAYERS ATTRIBUTES const cssRoot = getComputed...
'use strict'; angular.module('myApp.form', ['ngRoute']) .controller('formCtrl', [function() { }]);
const Post = require('../models/Post'); module.exports = { async store(req, res) { const post = await Post.findById(req.params.id); post.likes++; await post.save(); req.io.emit('like', post); return res.json(post); } }
'use strict'; var strings = require('../strings'); var wrapping = require('./wrapping'); function codeblock (chunks) { wrapping('pre><code', strings.placeholders.code, chunks); } module.exports = codeblock;
// // Copyright (c) Microsoft and contributors. 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 // // Unless requi...
const Workout = require('./Workout'); module.exports = { Workout };
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
const headerTemplate = (fileName, projectName) => `// // ${fileName} // ${projectName} // // Generated by Zepcode on ${ new Date().toLocaleDateString() }. // Copyright © ${new Date().getFullYear()} __MyCompanyName__. All rights reserved. //`; export default headerTemplate;
import { createStore, applyMiddleware, compose } from 'redux'; import reduxThunk from 'redux-thunk'; import reducer from './reducer'; const store = createStore( reducer, {}, compose( applyMiddleware(reduxThunk), typeof window === 'object' && typeof window.devToolsExtension !== 'undefined' ? win...
// Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License // // 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 ri...
// components/w-check-icon/w-check-icon.js Component({ externalClasses: ["icon"], /** * Component properties */ properties: { isChecked: { type: Boolean, value: false } }, /** * Component initial data */ data: { }, /** * Component methods */ methods: { } })
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { app: { files: { 'app/assets/css/yogert.css': 'app/assets/scss/yogert.scss', } }, }, autoprefixer: { app: { files: { 'app/assets/css/yog...
"use strict"; /*global utils*/ $('document').ready(function() { setupInputs(); $('[name="username"]').focus(); activate('database', $('[name="database"]')); if ($('#database-error').length) { $('[name="database"]').parents('.input-row').addClass('error'); $('html, body').animate({ scrollTop: ($('#database...
const sendAsync = (params) => new Promise((resolve, reject) => { web3.currentProvider.sendAsync(params, function (err, res) { if (err) { reject(err) } else { resolve(res) } }) }) // Limited for use on the testrpc module.exports = (s, opts = {}) => { return sendAsync({ jsonrpc: '2.0', ...
// @flow import type { LanguageResourceCacheStateType, StateType } from '../../../modules/app/StateType' import { connect } from 'react-redux' import { withTranslation } from 'react-i18next' import type { Dispatch } from 'redux' import type { StoreActionType, SwitchContentLanguageActionType } from '../../../modules/ap...
/* Copyright 2012 Mozilla Foundation * * 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 * * Unless required by applicable law or agreed...
import { takeLatest, call, put, select } from 'redux-saga/effects'; import { ADD_STRING } from './constants'; import request from '../../utils/request'; import { makeSelectInput } from './selectors'; import { setLoading, setError, setInput } from './actions'; export function* addString() { const url = '/api/v1/strin...
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.7.0r2 */
function RTW_Sid2UrlHash() { this.urlHashMap = new Array(); /* <Root>/S-Function Builder1 */ this.urlHashMap["TestI2C:95"] = "msg=rtwMsg_notTraceable&block=TestI2C:95"; /* <Root>/S-Function Builder9 */ this.urlHashMap["TestI2C:6"] = "msg=rtwMsg_notTraceable&block=TestI2C:6"; /* <Root>/S-Function1 */ this.urlHash...
module.exports = { 'env': { 'browser': true, 'webextensions': true, 'es6': true, }, 'parserOptions': { 'ecmaVersion': 2020, 'sourceType': 'script', 'ecmaFeatures': { 'impliedStrict': true, }, }, 'extends': ['jquery', './eslint/index.js'], };
import React from "react"; const LinkRender = ({ children }) => <span>{children} 🌍</span>; export default { title: "URL", name: "link", type: "object", fields: [ { title: "URL", name: "href", type: "url", validation: (Rule) => Rule.uri({ allowRelative: true, ...
/* ** client.config.js ** ** Author: Jason Darwin ** ** The extra resources from our EPUB/s that we want require.js to ** load into the Readk.it page. ** This allows us to 'mixin' various javascript libs from our EPUB ** file that are not native to Readk.it. */ var client = { // The paths for our EPUB assets p...
angular .module('stratosphere.details') .controller("stVersionCtrl", stVersionCtrl); stVersionCtrl.$inject = ['$scope','$types','$meteor','$mdDialog','$mdToast']; function stVersionCtrl($scope,$types,$meteor,$mdDialog,$mdToast) { var self = this; //properties self.$scope = $scope; //methods self.unpub...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.pell = {}))); }(this, (function (exports) { 'use strict'; var _extends = Object.assign || function (target) { f...
module.exports = { parser: '@typescript-eslint/parser', parserOptions: { project: 'tsconfig.json', sourceType: 'module', tsconfigRootDir: __dirname, }, plugins: ['@typescript-eslint/eslint-plugin'], extends: [ 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recom...
(function() { 'use strict'; angular .module('boardGamesApp') .factory('Account', Account); Account.$inject = ['$resource']; function Account ($resource) { var service = $resource('api/account', {}, { 'get': { method: 'GET', params: {}, isArray: false, ...
import Vue from "vue" import VueResource from "vue-resource" Vue.use(VueResource) Vue.http.options.root = '/api' Vue.http.responseType = 'json' Vue.http.timeout = 5000
'use strict'; const fs = require('fs'); const path = require('path'); // Import the require hook. Enables us to require TS files natively. require('ts-node/register'); const Angular2App = require('angular-cli/lib/broccoli/angular2-app'); const Funnel = require('broccoli-funnel'); const MergeTree = require('broccoli-m...