This file contains 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
res.send(JSON.stringify({ | |
state: 'success', | |
fileName: file.filename, | |
mimeType: file.mime, | |
imagePath: relativePath | |
}), { | |
'Content-Type': 'text/plain' | |
}, 200); |
This file contains 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
/** | |
Returns the direction of the binding. If isForward is YES, then the value | |
being passed came from the "from" side of the binding (i.e. the "Binding.path" | |
you named). If isForward is NO, then the value came from the "to" side (i.e. | |
the property you named with "propertyBinding"). You can vary your transform | |
behavior if you are based on the direction of the change. | |
@returns {Boolean} | |
*/ | |
isForward: function() { |
NewerOlder