This file contains 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
/*globals describe, beforeEach, it */ | |
var should = require('should'), | |
mockery = require('mockery'), | |
helpers = require('./helpers'), | |
Cache = require('../chatter-cache').ChatterCache; | |
describe('Chatter Cache', function() { | |
var proxy = null; |
This file contains 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
var ApplicationView = StativusView.extend({ | |
template: _.template('<a href="#">Stativus</a>'), | |
events: { | |
'click a': 'showAlert' | |
}, | |
render: function() { | |
this.$el.html(this.template()); |
This file contains 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
(function () { | |
'use strict'; | |
var _ = require('underscore'), | |
routes = require('./routes'), | |
log = function (method) { | |
return function (route) { | |
console.log(route + ' -- ' + method); | |
}; | |
}, |
This file contains 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
alias hammer=gruntWatch | |
function gruntWatch() { | |
# increase file watch limits | |
sudo launchctl limit maxfiles 10480 10480 | |
ulimit -n 10480 | |
# remove existing build directories | |
rm -rf ./_dist |
This file contains 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
//= require ../index | |
(function () { | |
'use strict'; | |
angular | |
.module('projects/directives') | |
.directive('projects', function ($q, currentUser, Project, Workflow, viewOptions) { | |
return { | |
restrict: 'E', |
I hereby claim:
- I am scarney81 on github.
- I am sethcarney (https://keybase.io/sethcarney) on keybase.
- I have a public key ASDVglVBNIaQey9k7xEWkNy72X-FqqSZrPtY8IwDOX4oFQo
To claim this, I am signing this object:
This file contains 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": "vanilla-typescript", | |
"version": "1.0.0", | |
"description": "JavaScript and TypeScript example starter project", | |
"main": "index.html", | |
"scripts": { | |
"start": "parcel index.html --open", | |
"build": "parcel build index.html" | |
}, | |
"dependencies": { |
This file contains 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 axios from "axios"; | |
const people = { | |
Seth: "email@example.com" | |
Nick: "email@example.com", | |
Aman: "email@example.com", | |
Troy: "email@example.com", | |
}; | |
const names = Object.keys(people); |