Skip to content

Commit

Permalink
Merge pull request #7027 from code-dot-org/move_plc_js
Browse files Browse the repository at this point in the history
Move the javascript for plc to the code-studio package directory
  • Loading branch information
mehalshah committed Feb 27, 2016
2 parents 18dd8f7 + 3166a20 commit 42a9aed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions code-studio/scripts/build-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ Promise.all([
'react-only.js'
],
commonFile: 'react-only'
})),

// Have a bundle for plc stuff - no sense in expanding this to everything yet
build_commands.bundle(_.extend({}, defaultOptions, {
filenames: [
'plc/perform_evaluation.js'
],
commonFile: 'plc'
}))
]).then(function (results) {
var allStepsSucceeded = !results.some(function (result) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
=javascript_include_tag 'plc/perform_evaluation'
- content_for(:head) do
=javascript_include_tag 'js/plc'

%h1 Self Evaluation for #{@course.name}

Expand Down

0 comments on commit 42a9aed

Please sign in to comment.