Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

Commit

Permalink
Add the shuffle to the plugin intro help
Browse files Browse the repository at this point in the history
  • Loading branch information
Heejin committed Jan 18, 2017
1 parent 3a16d99 commit c867b70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/main/worker/utils/help-util.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

const lo_shuffle = require('lodash.shuffle');

const textUtil = require('../../shared/text-util');
const matchUtil = require('../../shared/match-util');

Expand Down Expand Up @@ -38,7 +40,7 @@ function createIntroHelp(pluginConfigs) {
const help = makeIntroHelp(pluginConfig);
results.push(help);
}
return results;
return lo_shuffle(results);
}

module.exports = {
Expand Down
1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"lodash.reject": "^4.3.0",
"lodash.remove": "^4.3.0",
"lodash.set": "^4.1.0",
"lodash.shuffle": "^4.2.0",
"lodash.size": "^4.0.6",
"lodash.trimstart": "^4.5.1",
"lodash.uniq": "^4.2.1",
Expand Down

0 comments on commit c867b70

Please sign in to comment.