this is a list tutorials for building web application using backbone.js and yeoman. We are building a Photo Gallery JS App from Backbone Fundamentals
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* API method to get paging information */ | |
| $.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings ) | |
| { | |
| return { | |
| "iStart": oSettings._iDisplayStart, | |
| "iEnd": oSettings.fnDisplayEnd(), | |
| "iLength": oSettings._iDisplayLength, | |
| "iTotal": oSettings.fnRecordsTotal(), | |
| "iFilteredTotal": oSettings.fnRecordsDisplay(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(wndw) { | |
| var Browsers, OS, Platform, Versions, browser_name, browser_version, os, platform; | |
| Versions = { | |
| Firefox: /firefox\/([\d\w\.\-]+)/i, | |
| IE: /msie\s([\d\.]+[\d])/i, | |
| Chrome: /chrome\/([\d\w\.\-]+)/i, | |
| Safari: /version\/([\d\w\.\-]+)/i, | |
| Ps3: /([\d\w\.\-]+)\)\s*$/i, | |
| Psp: /([\d\w\.\-]+)\)?\s*$/i | |
| }; |
- Install Package Control. For SublimeText 2, paste the following in Terminal:
import urllib2,os; pf='Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler( ))); open( os.path.join( ipp, pf), 'wb' ).write( urllib2.urlopen( 'http://sublime.wbond.net/' +pf.replace( ' ','%20' )).read()); print( 'Please restart Sublime Text to finish installation')
From here on out, use Package Control to install everything. ⌘+Shift+P, then type Install to get a list of installable packages you can 'livesearch through. After installing plugins, they should be running.