Skip to content

Instantly share code, notes, and snippets.

View char0n's full-sized avatar
GitHub Star

Vladimír Gorej char0n

GitHub Star
View GitHub Profile
@char0n
char0n / index.js
Last active February 1, 2016 20:47
browserify version of reselect 2.0.2
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function (global){
var reselect = require('reselect');
global.reselect = reselect;
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"reselect":2}],2:[function(require,module,exports){
'use strict';
exports.__esModule = true;
@char0n
char0n / index.js
Created February 13, 2016 15:46
browserify version of redux-thunk v1.0.3
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function (global){
var reduxThunk = require('redux-thunk');
global.reduxThunk = reduxThunk;
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"redux-thunk":2}],2:[function(require,module,exports){
'use strict';
function thunkMiddleware(_ref) {
(function(){
///<reference path="../typings/angularjs/angular.d.ts"/>
/*
* decorates $compileProvider so that we have access to routing metadata
*/
function compilerProviderDecorator($compileProvider, $$directiveIntrospectorProvider) {
var directive = $compileProvider.directive;
$compileProvider.directive = function (name, factory) {
$$directiveIntrospectorProvider.register(name, factory);
return directive.apply(this, arguments);
refactor(subject): refactor according to the comments
Review comments: https://github.com/Team-Zeus/TeamZeus-Frontend/pull/230
List of fixes:
- fix one time bindings
- fix img[alt]
- fix other things...
50025 silly gunzTarPerm extractEntry library/modules/_to-length.js
50026 silly gunzTarPerm extractEntry library/modules/es6.object.is-frozen.js
50027 silly gunzTarPerm extractEntry library/modules/_to-iobject.js
50028 silly gunzTarPerm extractEntry library/modules/es6.object.is-sealed.js
50029 silly gunzTarPerm extractEntry library/modules/_to-integer.js
50030 silly gunzTarPerm extractEntry library/modules/es6.object.is.js
50031 silly gunzTarPerm extractEntry library/modules/_to-index.js
50032 silly gunzTarPerm extractEntry library/modules/es6.object.keys.js
50033 silly gunzTarPerm extractEntry library/modules/_task.js
50034 silly gunzTarPerm extractEntry library/modules/es6.object.prevent-extensions.js
import {partial, noop} from 'lodash';
class TzInfiniteScrollUpController {
constructor() {
this.$element = null;
this.callback = noop;
}
init($element, callback) {
this.$element = $element;
import React from 'react';
export default class Signal extends React.Component {
static propTypes = {
device: React.PropTypes.shape().isRequired,
DeviceTypeEnum: React.PropTypes.shape().isRequired,
};
static ranges = {
enp0s3 Link encap:Ethernet HWaddr 08:00:27:d6:99:ca
inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f99b:aa65:a12b:60e9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:75181 errors:0 dropped:0 overruns:0 frame:0
TX packets:54225 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:66113108 (66.1 MB) TX bytes:9023315 (9.0 MB)
lo Link encap:Local Loopback
const { lensPath, view, compose, pipe, defaultTo, curry } = require('ramda');
const reflectObject = {
data: {
GET: {
system: {
ntp: 3,
},
},
},
const { lensPath, view, compose, pipe, defaultTo, curry } = require('ramda');
const reflectObject = {
data: {
GET: {
system: {
ntp: 3,
},
},
},