Created
June 19, 2015 21:34
-
-
Save jesuslerma/194c0f526505b48fae21 to your computer and use it in GitHub Desktop.
module pattern example
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
var AdminEmpresas; | |
AdminEmpresas = (function () { | |
'use strict'; | |
var init, bind; | |
init = function () { | |
$('#empresas_admin_table').dataTable({ | |
sPaginationType: "full_numbers", | |
bProcessing: true, | |
bServerSide: true, | |
sAjaxSource: $('#empresas_admin_table').data('source') | |
}); | |
}; | |
bind = function () { | |
}; | |
return { | |
init: init, | |
bind: bind | |
}; | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment