diff --git a/assets/js/app.js b/assets/js/app.js new file mode 100644 index 0000000..280b896 --- /dev/null +++ b/assets/js/app.js @@ -0,0 +1,14 @@ +/*jslint es5: true, indent: 2, browser: true*/ +/*global jQuery: true*/ + +(function ($) { + 'use strict'; + + $(document).ready(function () { + $('#select-command').on('change', function () { + $('.command').text($(this).val()); + }); + }); + +})(jQuery); + diff --git a/assets/js/app.min.js b/assets/js/app.min.js new file mode 100644 index 0000000..c5a8c20 --- /dev/null +++ b/assets/js/app.min.js @@ -0,0 +1 @@ +!function($){"use strict";$(document).ready(function(){$("#select-command").on("change",function(){$(".command").text($(this).val())})})}(jQuery); \ No newline at end of file diff --git a/assets/js/cmd.coffee b/assets/js/cmd.coffee deleted file mode 100644 index 1e44b46..0000000 --- a/assets/js/cmd.coffee +++ /dev/null @@ -1,3 +0,0 @@ -$(document).ready -> - $('#select-command').on 'change', -> - $('.command').text $(this).val() diff --git a/assets/js/cmd.min.js b/assets/js/cmd.min.js deleted file mode 100644 index 6fbda24..0000000 --- a/assets/js/cmd.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(){$(document).ready(function(){return $("#select-command").on("change",function(){return $(".command").text($(this).val())})})}).call(this); \ No newline at end of file diff --git a/index.html b/index.html index 4787b9b..5ba8a75 100644 --- a/index.html +++ b/index.html @@ -66,6 +66,6 @@ Fork me on GitHub - +