Skip to content

Instantly share code, notes, and snippets.

View sallar's full-sized avatar
:shipit:
Staring into an abyss

Sallar sallar

:shipit:
Staring into an abyss
View GitHub Profile
@sallar
sallar / amd-jsdoc.md
Created November 30, 2015 20:11
WebStorm AMD/JSDoc Problem

OK, So imagine you have this module which accepts another module as a parameter to one of it’s methods:

define("modules/module2", [], function() {

    return {
        /**
         * @param {module:myNamespace/module1} SomeModule
         */
 somethingElse: function(SomeModule) {
@sallar
sallar / include.php
Created September 7, 2011 20:49
Include jDateTime
<?php
require_once dirname(__FILE__) . '/jdatetime.class.php';
@sallar
sallar / keybase.md
Created October 25, 2014 20:05
Keybase

Keybase proof

I hereby claim:

  • I am sallar on github.
  • I am sallar (https://keybase.io/sallar) on keybase.
  • I have a public key whose fingerprint is 0829 0901 2FD7 5301 15F1 1DA9 8960 4063 DDF5 8CF8

To claim this, I am signing this object: