javascript - Starting up with Underscore.js (A simple running program) -


i ui/ux designer worrying start underscore.js. have used jquery, jquery-ui, , other javascript libraries, add cdn , start events , classes our work done.

i start simple program underscore.js out of worthwhile tutorial in 'w3schools.com' start with. can me out simple running program it?

<html> <head>     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>     <script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script> </head>  <body>      //underscore code goes here ...  </body>  </html>  

when i'm lazy set jsfiddle try out in underscore google underscore jsfiddle [underscore function name]. google return jsfiddle examples (mostly) correctly set , have try out/modify:

_.each(list, iteratee, [context]) 

_.each

_.template(templatestring, [settings])  

_.template


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -