Skip to content

Instantly share code, notes, and snippets.

@AliMD
Last active December 15, 2015 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AliMD/5217874 to your computer and use it in GitHub Desktop.
Save AliMD/5217874 to your computer and use it in GitHub Desktop.
Javascript es5 and strict mode with jshint configs ;)
/*jshint strict:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, undef:true, unused:true, nonew:true, browser:true, devel:true, boss:true, curly:false, immed:false, latedef:true, newcap:true, plusplus:false, trailing:true, debug:false, asi:false, evil:false, expr:true, eqnull:false, esnext:false, funcscope:false, globalstrict:false, loopfunc:false */
(function($,undefined){
"use strict";
// your codes ...
})(window.jQuery);

Salam be hame
Hamegi azin be bad az in olgoo baraye code haye .js estefade konin
va hamishe code hatoon ro ba site jshint.com check konin ke validate bashe ;)

@omidgharib
Copy link

@AliMD salam ostad mer30
vali man nagerftam yani chi alan bekhaym function tarif konim bayad az olgo bala estefade konim ?

@AliMD
Copy link
Author

AliMD commented Mar 28, 2013

na kolan har scripti ke mikhay benevisi
boro site jshint.com va script hato validate kon
bad migiri yani chi

@AliMD
Copy link
Author

AliMD commented May 15, 2013

maxparams:3 too jsbin khata mide !

@arastoo
Copy link

arastoo commented Jun 4, 2013

thanks :-*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment