View 1.js
if (VENDOR && _.isFunction(VENDOR.f)) {
VENDOR.f();
}
View _instructions.md

to use this script,

copy it to /usr/local/bin/

then in a folder where you are working on an app hosted in docker, add the name of your docker container to a .dockername file

echo my-container-name >> .dockername

now you can

View 1.js
function add(a, b){
return a + b;
}
var add1 = add.bind(undefined, 1);
add1(2) // => 3
View 1.js
function createError(msg, status){
var err = new Error(msg);
err.status = status;
// uncomment this next line to get a clean stack trace in node.js
// Error.captureStackTrace(err, createError);
return err;
}
var err = createError("test", 500);
View totoro.md
View 1_example.js
// set up your oracle stuff ...
function runIt(cb){
// connection and other setup here
var bindvars = {
o_cursor: {
type: oracledb.CURSOR,
View 1_exampleUse.js
import ConfirmDelete from "./confirmDelete"
import ConfirmDeleteViewfrom "./confirmDeleteView"
var confirmView = new ConfirmDeleteView({
model: myModel
});
ConfirmDelete.confirm(confirmView, () => {
// delete was confirmed... do something, here
});
View 1.js
var mongoose = require("mongoose");
var wascally = require("wascally");
var AWS = require("aws-sdk");
var some = require("some-thing");
var other = require("other-thing");
var more = require("more-things");
mongoose.connect(connStr, function(err)(
if (err) { throw err; }
View .gitconfig
[url "https://github.com/"]
insteadOf = git://github.com/
View 1.js
var obj = {
get foo(){
return this._foo;
},
set foo(val){
this._foo = val;
}