-
Notifications
You must be signed in to change notification settings - Fork 26
Add git-salt lib and git script #242
base: master
Are you sure you want to change the base?
Conversation
Just a general observation, not regarding this PR: the |
@ussuri yes it is confusing, Ideally they should not be part of repository and should be hosted elsewhere. We should rename them may be |
@@ -55,6 +55,10 @@ module.exports = function(grunt) { | |||
|
|||
mainsrc += '</head>\n'; | |||
mainsrc += '<body>\n'; | |||
|
|||
// Div where addons embedding code live. | |||
mainsrc += '<div id="addons"></div>'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This task is supposed to be generic, so we should not have this here. Can't we create the 'div' manually if it does not exist (in the code that creates the sub-elements)?
@rpaquay PTAL thanks. |
}); | ||
|
||
function genMessageId() { | ||
messageId++; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation?
/** | ||
* Remove the NaCl module from the page. | ||
*/ | ||
GitSalt.prototype.removeModule = function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any call to this function, does this mean we leak a git object at each invocation?
TODO
git
script and route the commands to appropriate API.stdio
andstderr
correctly.@rpaquay