This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function styler(...args) { | |
var result = { className: '', style: {} }; | |
args.forEach(arg => { | |
var reference = getReference(arg); | |
var injected = reference && isInjected(reference); | |
if (!injected) { | |
Object.assign(style, arg); | |
if (reference) injectStyle(reference); | |
} | |
else className += ' ' + getClassName(arg); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function asyncMap (list, doStuff, done) { | |
var index = -1; | |
var results = []; | |
next(); | |
function next (error, result) { | |
if (error) return done(error) | |
if (index == list.length) return done(results); | |
if (index >= 0) results[index] = result; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cursor = this.props.cursor; | |
var message = Immutable.fromJS({ file: true }); | |
cursor = cursor.set('active', message); | |
this.dispatch('upload', cursor.cursor('active')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is the implementation | |
https://github.com/peterbraden/node-opencv/blob/master/src/Matrix.cc#L1736 | |
The argument preprocessing is bad, you should probably specify all. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var EmotionSchema = new mongoose.Schema({ | |
name : String, | |
defaultCategory: String, | |
customCategory: String, | |
imageSrc: String, | |
timesUsed: Number | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: Path doesn't exists C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\build/C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\node_modules\extract-text-webpack-plugin C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\node_modules\css-loader\index.js!C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\node_modules\stylus-loader\index.js!C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\node_modules\klunga-web\lib\variables.styl | |
at MemoryFileSystem.writeFileSync (C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\node_modules\memory-fs\lib\MemoryFileSystem.js:167:10) | |
at MemoryFileSystem.writeFile (C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\node_modules\memory-fs\lib\MemoryFileSystem.js:216:8) | |
at Tapable.writeOut (C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\node_modules\webpack\lib\Compiler.js:256:27) | |
at Tapable.<anonymous> (C:\Users\Oskar\Documents\GitHub\klunga\klunga-server\node_modules\webpack\lib\Compiler.js:241:20) | |
at C:\Users\Oskar\Documents\Git |