From 57a17166c934f9510b0ce5887f93b5b299d5ea1c Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Fri, 10 May 2013 15:05:46 +0200 Subject: [PATCH] Remove coffeescript bs --- assets/js/app.js | 14 ++++++++++++++ assets/js/app.min.js | 1 + assets/js/cmd.coffee | 3 --- assets/js/cmd.min.js | 1 - index.html | 2 +- 5 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 assets/js/app.js create mode 100644 assets/js/app.min.js delete mode 100644 assets/js/cmd.coffee delete mode 100644 assets/js/cmd.min.js 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 - +