https://bugzilla.wikimedia.org/show_bug.cgi?id=38236
Web browser: ---
Bug #: 38236
Summary: Allow direct usage of coffeescript in addition to
normal javascript
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: JavaScript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
While I understand there are as many people hating coffeescript as loving it, I
think it could be a nice idea to allow linking directly to coffeescript files,
which are processed into javascript on save
See http://coffeescript.org/ for more information.
Example:
instead of typing
$(function(){
$(".foo").click(function(e){
this.html("hello");
});
});
you type:
$ ->
$(".foo").click (e) ->
@html "hello"
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l