Commit da766138 authored by Aurel's avatar Aurel

create "latest" file for nodejs

parent e032b010
......@@ -233,6 +233,10 @@ module.exports = function (grunt) {
// options: {
// sourceMap: "jiodate.min.map"
// }
},
nodejs: {
src: "<%= concat.nodejs.dest %>",
dest: "dist/nodejs/<%= pkg.name %>-<%= pkg.version %>.min.js"
}
},
......@@ -244,6 +248,12 @@ module.exports = function (grunt) {
}, {
src: '<%= uglify.jio.dest %>',
dest: "dist/<%= pkg.name %>-latest.min.js"
}, {
src: '<%= uglify.nodejs.src %>',
dest: "dist/nodejs/<%= pkg.name %>-latest.js"
}, {
src: '<%= uglify.nodejs.dest %>',
dest: "dist/nodejs/<%= pkg.name %>-latest.min.js"
}]
}
},
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
// server.js
// where your node app starts
/*--
var global = self,
window = self;
self.DOMParser = {};
self.DOMError = {};
self.sessionStorage = {};
self.localStorage = {};
self.openDatabase = {};
--*/
URI = require('URI');
URI = require("uri-js");
RSVP = require('rsvp');
UriTemplate = require("uritemplate");
require('lz-string');
moment = require('moment');
navigator = require('navigator');
Rusha = require('rusha');
FormData = require('formdata');
btoa = require('btoa');
indexedDB = require('indexeddb');
atob = require('atob');
FileReader = require("FileReader");
Blob = require("Blob");
IDBKeyRange = require('idb-range');
crypto = require("crypto-browserify");
localStorage = require('node-localstorage');
window = global;
QueryFactory = {};
Query = {}; //require('Query');
IDBOpenDBRequest = {};
DOMException = {};
DOMParser = {};
DOMError = {};
sessionStorage = {};
var jIO = require('jio');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment