This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BaseView.extend({ | |
| // Extend BaseView events | |
| // _.result() will invoke the events method or return the object | |
| events: function() { | |
| return _.extend(_.result(BaseView.prototype, 'events'), { | |
| 'click': 'onClick' | |
| }); | |
| }, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const jsdom = require('jsdom'); | |
| const window = jsdom.jsdom().defaultView; | |
| const url = 'http://YOUR_SIGNALR_URL'; // Used for CORS | |
| const hubs = 'http://YOUR_SIGNALR_HUBS_URL'; | |
| function loadScript(src) { | |
| return new Promise((resolve, reject) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import path from 'path'; | |
| import fs from 'fs'; | |
| import Handlebars from 'handlebars'; | |
| class ImportScanner extends Handlebars.Visitor { | |
| constructor() { | |
| super(); | |
| this.partials = new Set(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as chokidar from 'chokidar'; | |
| import copy from 'rollup-plugin-copy'; | |
| import { red } from 'colorette'; | |
| export default function copyWatch(options = {}) { | |
| const { | |
| hook = 'buildEnd', | |
| watch = false, | |
| } = options; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "name": "SCSS", | |
| "ring": "hold", | |
| "quadrant": "tools", | |
| "isNew": "FALSE", | |
| "description": "Sass is a CSS extension language." | |
| }, | |
| { | |
| "name": "Fractal", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| winget update --all --accept-source-agreements --accept-package-agreements |