Skip to content

Instantly share code, notes, and snippets.

View kirjs's full-sized avatar
💭
🦋 On vacation until 2021

Kirill Cherkashin kirjs

💭
🦋 On vacation until 2021
View GitHub Profile
"use strict";
(function ( testacular, Ext ) {
// Delaying Testacular start
testacular.loaded = Ext.emptyFn;
// Setting up the paths to make it work with testacular.
Ext.Loader.setPath( { 'appName': 'base/app' } );
@kirjs
kirjs / graspWrapper
Created April 22, 2014 04:12
graspWrapper
/**
* Simple wrapper to add chainable syntax to grasp.js
*
* Retuns an object that could be used this way:
*
* grasp( code ).squery('if.test').search()
* grasp( code ).squery('if.test').replace('!({{}})');
*
*/
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://code.angularjs.org/tools/system.js"></script>
<script src="https://code.angularjs.org/tools/typescript.js"></script>
<script src="https://code.angularjs.org/2.0.0-alpha.44/angular2.dev.js"></script>
<script>
System.config({