mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
b55ab33fad
commit
d0092858e5
4 changed files with 18 additions and 18 deletions
|
|
@ -4,8 +4,8 @@
|
|||
"cache" : {"allowed" : false},
|
||||
"minification" : {
|
||||
"js" : false,
|
||||
"css" : true,
|
||||
"html" : false,
|
||||
"css" : false,
|
||||
"html" : true,
|
||||
"img" : false
|
||||
},
|
||||
"github_key" : "891c251b925e4e967fa9",
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ var CloudCommander, Util, DOM, CodeMirror;
|
|||
Loading = false;
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* function hides CodeMirror editor
|
||||
|
|
|
|||
|
|
@ -3,18 +3,18 @@ var CloudCommander, Util, DOM, $, Github, cb;
|
|||
|
||||
(function(){
|
||||
"use strict";
|
||||
|
||||
const cloudcmd = CloudCommander,
|
||||
Cache = DOM.Cache,
|
||||
|
||||
APIURL = '/api/v1',
|
||||
AuthURL = APIURL + '/auth',
|
||||
GitHubIdURL = APIURL + '/github_key';
|
||||
|
||||
var GitHub_ID,
|
||||
GithubLocal,
|
||||
User,
|
||||
GithubStore = {};
|
||||
|
||||
var cloudcmd = CloudCommander,
|
||||
Cache = DOM.Cache,
|
||||
|
||||
APIURL = '/api/v1',
|
||||
AuthURL = APIURL + '/auth',
|
||||
GitHubIdURL = APIURL + '/github_key',
|
||||
|
||||
GitHub_ID,
|
||||
GithubLocal,
|
||||
User,
|
||||
GithubStore = {};
|
||||
|
||||
/* temporary callback function for work with github */
|
||||
cb = function (err, data){ console.log(err || data);};
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
npm i recess jshint
|
||||
echo "jshint server.js client.js cloudcmd.js"
|
||||
node_modules/jshint/bin/hint --config test/.jshintrc server.js client.js cloudcmd.js
|
||||
node_modules/jshint/bin/hint --config test/.jshintrc lib/server.js lib/client.js cloudcmd.js
|
||||
echo "jshint lib/cloudfunc.js lib/client/keyBinding.js"
|
||||
node_modules/jshint/bin/hint --config test/.jshintrc lib/util.js lib/cloudfunc.js node_modules/minify/minify.js lib/client/keyBinding.js
|
||||
echo "lib/client/dom.js lib/client/ie.js lib/client/menu.js lib/client/socket.js ./lib/client/terminal.js lib/client/viewer.js lib/client/storage/_github.js lib/client/menu.js lib/client/editor/_codemirror.js"
|
||||
|
|
@ -12,5 +12,5 @@ node_modules/jshint/bin/hint --config test/.jshintrc ./package.json ./config.jso
|
|||
echo "recess css/*.css"
|
||||
./node_modules/recess/bin/recess css/*.css
|
||||
node test/test.js
|
||||
node cloudcmd.js test
|
||||
ls ./min
|
||||
npm r recess jshint
|
||||
node cloudcmd.js test
|
||||
Loading…
Add table
Add a link
Reference in a new issue