Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am nickclaw on github.
* I am nickclaw (https://keybase.io/nickclaw) on keybase.
* I have a public key ASDKGUKRc7ZSEJ0ege1fJSsI8LndMin3F9Dztb00SUwCVQo
To claim this, I am signing this object:
angular.module('module').factory('profile', [
function() {
var user = window.__user;
delete window.__user;
return user;
}
]);
/**
* Loader
*/
(function() {
var cache = {};
/**
* Initialize loader
* Looks for init-script tag and starts the loading process
@nickclaw
nickclaw / index.coffee
Last active August 29, 2015 13:57
atom-message-panel index.coffee
{View, $} = require 'atom'
module.exports = class MessagePaneView extends View
@content:(params) =>
@div class: 'am-panel tool-panel panel-bottom', =>
@div class: 'panel-heading', params.title, =>
@div click: 'detach', class: 'close', 'X'
@div outlet:'body', style:'max-height:170px;overflow-y:scroll;',class: 'panel-body padded'