/* Configuration your application */
var QMCONFIG = {

  /* Production environment */
  // qbAccount: {
  //   appId: 12496,
  //   authKey: 'DxGShn2UtN5TUfd',
  //   authSecret: 'gypfTzd3VbqYxsK'
  // },
  // fbAccount: {
  //   appId: '1445555125707161',
  //   scope: 'email,user_friends'
  // },

  /* Development environment */
  qbAccount: {
    appId: 14542,
    authKey: 'rJqAFphrSnpyZW2',
    authSecret: 'tTEB2wK-dU8X3Ra'
  },
  fbAccount: {
    appId: '605405446247805',
    scope: 'email,user_friends'
  },

  /* Test local environment */
  // qbAccount: {
  //   appId: 14303,
  //   authKey: 'gj5Vps4QB-HKJgt',
  //   authSecret: 'AHpJ6T4L9cVrMxc'
  // },
  // fbAccount: {
  //   appId: '623755094412840',
  //   scope: 'email,user_friends'
  // },

  debug: true,

  defAvatar: {
    url: 'images/ava-single.png',
    group_url: 'images/ava-group.png',
    caption: 'Choose user picture'
  },

  maxLimitFile: 10,

  patterns: {
    name: "[^><;]{3,50}",
    password: "[A-Za-z0-9`~!@#%&=_<>;:,'" + '\\"' + "\\.\\$\\^\\*\\-\\+\\\\\/\\|\\(\\)\\[\\]\\{\\}\\?]{8,40}"
  },

  errors: {
    session: "The QB application credentials you entered are incorrect",
    invalidName: "Name mustn't contain '<', '>' and ';' characters",
    shortName: "Name must be more than 2 characters",
    bigName: "Name mustn't be more than 50 characters",
    invalidEmail: "E-mail must look like an email address",
    invalidPass: "Password mustn't contain non-Latin characters and spaces",
    shortPass: "Password must be more than 7 characters",
    bigPass: "Password mustn't be more than 40 characters",
    avatarType: "Avatar must be image",
    fileName: "File name mustn't be more than 100 characters",
    fileSize: "File mustn't be more than 10 MB",
    emailExists: "The email has already been taken",
    unauthorized: "The email or password is incorrect",
    notFoundEmail: "The email you entered wasn't found",
    crashFBToken: "Sorry, we noticed that you had logged out from Facebook so we need to recreate your FB token now. Please click the Connect with FB button again"
  }

};

@@ -72,35 +72,32 @@
 environment */%0A 
- //
  qbAccount: %7B%0A  
@@ -87,35 +87,32 @@
   qbAccount: %7B%0A 
- //
    appId: 12496,
@@ -113,19 +113,16 @@
 12496,%0A 
- //
    authK
@@ -142,29 +142,26 @@
 tN5TUfd',%0A  
-//
   
- 
 authSecret: 
@@ -179,27 +179,21 @@
 qYxsK'%0A 
- //
  %7D,%0A 
- //
  fbAccou
@@ -191,35 +191,32 @@
   fbAccount: %7B%0A 
- //
    appId: '14455
@@ -226,27 +226,24 @@
 25707161',%0A 
- //
    scope: 'e
@@ -258,27 +258,24 @@
 r_friends'%0A 
- //
  %7D,%0A%0A  /* De
@@ -292,32 +292,35 @@
 environment */%0A 
+ //
  qbAccount: %7B%0A  
@@ -310,32 +310,35 @@
 / qbAccount: %7B%0A 
+ //
    appId: 14542,
@@ -339,16 +339,19 @@
 14542,%0A 
+ //
    authK
@@ -371,26 +371,29 @@
 SnpyZW2',%0A  
+//
   
+ 
 authSecret: 
@@ -411,21 +411,27 @@
 8X3Ra'%0A 
+ //
  %7D,%0A 
+ //
  fbAccou
@@ -429,32 +429,35 @@
 / fbAccount: %7B%0A 
+ //
    appId: '60540
@@ -466,24 +466,27 @@
 46247805',%0A 
+ //
    scope: 'e
@@ -497,32 +497,35 @@
 ,user_friends'%0A 
+ //
  %7D,%0A%0A  /* Test l

fix merge