1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-02-07 01:54:16 +01:00

Wrap OC.Contacts in immediate function

This commit is contained in:
Thomas Tanghus 2014-03-23 14:21:25 +01:00
parent a1c8fe7f1e
commit 71a4ca334b

View File

@ -1,5 +1,3 @@
'use strict';
Modernizr.load({ Modernizr.load({
test: Modernizr.input.placeholder, test: Modernizr.input.placeholder,
nope: [ nope: [
@ -153,7 +151,7 @@ OC.notify = function(params) {
(function(window, $, OC) { (function(window, $, OC) {
'use strict'; 'use strict';
OC.Contacts = OC.Contacts || { OC.Contacts = OC.Contacts || {
init:function() { init:function() {
if(oc_debug === true) { if(oc_debug === true) {
$.error = console.error; $.error = console.error;
@ -1667,7 +1665,8 @@ OC.Contacts = OC.Contacts || {
cb(); cb();
}); });
} }
}; };
})(window, jQuery, OC);
$(document).ready(function() { $(document).ready(function() {