Skip to content

Instantly share code, notes, and snippets.

View StanAngeloff's full-sized avatar

Stan Angeloff StanAngeloff

View GitHub Profile
async_load(
-> # success
yay()
-> # failure
boo()
)
$toolkit.include('command.language');
$self.controller = function controller() {
var canChangeTriggerKeys, command, supportedLanguages, triggerKeys;
$toolkit.command.language.controller.apply(this, [(command = 'autoCloseFirst'), (triggerKeys = '/'), (supportedLanguages = ['HTML']), (canChangeTriggerKeys = false)]);
this.trigger = function trigger(e) {
var scimoz = ko.views.manager.currentView.scimoz;
if (scimoz.autoCActive()) {
window.setTimeout(function() {
scimoz.autoCComplete();
}, 250);
<?php
namespace my\space;
final class from_1
{
public function trigger()
{}
}
diff --git a/lib/command.js b/lib/command.js
index cb1d9e7..a1fe63b 100644
--- a/lib/command.js
+++ b/lib/command.js
@@ -80,7 +80,7 @@
}
return _f;
});
- } else if (path.extname(source) === '.coffee') {
+ } else {
ERROR:xpcom:Unhandled exception calling 'G int8 prefset(out retval nsISomething);'
Traceback (most recent call last):
File "C:\Program Files (x86)\ActiveState Komodo Edit 6 nightly\lib\mozilla\python\xpcom\server\policy.py", line 261, in _CallMethod_
ret = getattr(self._obj_, name) # Let attribute error go here!
AttributeError: '_KoCommandTool' object has no attribute 'prefset'
default-colour: #ccc
direction: 'rtl'
html, body
margin: 0
padding: 0
h1
font-size: 100%
:mixin Options
class UIButton extends UIControl
click: ->
@fireEvent 'click', [this]
(function() {
/*****************************************************************************
* *
* EDIT CONSTANTS BELOW TO MATCH YOUR MACHINE SETUP *
* *
* Cygwin 1.7 and Ruby must be installed first (install using setup-1.7.exe) *
* Unix machines DO NOT need Cygwin. Instead use /usr/bin as CYGWIN_PATH *
* *
* To install Sass, follow instructions here first: *
(by_name[name]: [street, city]) for {poet: {name, address: [street, city]}} in futurists
helpers.extend global, {
ok: (args...) ->
try
originalOk(args...)
passedTests: + 1
catch e
failedTests: + 1
finally
lengthTests: + 1
CoffeeScript: CoffeeScript