Skip to content

Instantly share code, notes, and snippets.

@rjosephwright
Created July 22, 2014 23:42
Show Gist options
  • Save rjosephwright/6ef01870339ed6f3eab5 to your computer and use it in GitHub Desktop.
Save rjosephwright/6ef01870339ed6f3eab5 to your computer and use it in GitHub Desktop.
--- WEB-MODE DEBUG BEG ---
versions: emacs(24.3) web-mode("9.0.48")
vars: engine(nil) content-type("") file("*scratch*")
system: window(ns) config("x86_64-apple-darwin")
colors: fg(nil) bg(nil)
modes: whitespace-mode(nil) global-whitespace-mode(nil) rainbow-mode(nil) idle-highlight-mode(nil) fic-mode(nil)
(transient-mark-mode line-number-mode column-number-mode auto-compression-mode auto-encryption-mode auto-composition-mode blink-cursor-mode font-lock-mode global-font-lock-mode file-name-shadow-mode mouse-wheel-mode tooltip-mode show-paren-mode auto-complete-mode global-auto-complete-mode global-rbenv-mode global-flycheck-mode)
--- WEB-MODE DEBUG END ---
File mode specification error: (wrong-type-argument number-or-marker-p nil)
=: Wrong type argument: number-or-marker-p, nil
Error in post-command-hook (global-font-lock-mode-check-buffers): (wrong-type-argument number-or-marker-p nil)
/** @jsx React.DOM */
define(function (require) {
'use strict';
var React = require('react');
var ModalTrigger = require('react-bootstrap').ModalTrigger;
var InviteForm = require('components/InviteForm');
var InviteLink = React.createClass({
render: function() {
if (this.props.auth.loggedIn()) {
return (
<li>
<ModalTrigger modal={<InviteForm auth={this.props.auth} />}>
<a href="#">Invite Representative</a>
</ModalTrigger>
</li>
);
} else {
return <span></span>;
}
}
});
return InviteLink;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment