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
var url = server + '/customers/activate'; | |
var activateJSON = { id:"0192268455",activationCode:"6450" }; | |
$.ajax({ | |
url: server + '/customers/activate', | |
type: 'POST', | |
async: true, | |
data: activateJSON, | |
contentType: "application/json", | |
dataType: 'json', | |
xhrFields: { |
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
#!/usr/bin/env node | |
// Make sure working folder is the same as this file | |
process.chdir(__dirname); | |
// Check node_modules folder | |
var fs = require('fs'); | |
var modules = []; | |
//var base = process.env.HOME + '/node_modules'; | |
var base = __dirname + '/node_modules'; |