Re: BaseUser.js

From disqus.com, 2 Months ago, written in JavaScript, viewed 3 times. This paste is a reply to Re: base.js from disqus.com - view diff
URL https://pastebin.freepbx.org/view/15e1d7bd Embed
Download Paste or View Raw
  1.  
  2.  
  3. 1
  4.  
  5. define('core/models/BaseUser',[
  6.  
  7. 2
  8.  
  9.     'backbone',
  10.  
  11. 3
  12.  
  13.  
  14. 4
  15.  
  16.     'core/config',
  17.  
  18. 5
  19.  
  20. ], function (
  21.  
  22. 6
  23.  
  24.     Backbone,
  25.  
  26. 7
  27.  
  28.  
  29. 8
  30.  
  31.     config
  32.  
  33. 9
  34.  
  35. ) {
  36.  
  37. 10
  38.  
  39.     'use strict';
  40.  
  41. 11
  42.  
  43.  
  44. 12
  45.  
  46.     var BaseUser = Backbone.Model.extend({
  47.  
  48. 13
  49.  
  50.         defaults: {
  51.  
  52. 14
  53.  
  54.             about: null,
  55.  
  56. 15
  57.  
  58.             avatar: {
  59.  
  60. 16
  61.  
  62.                 // NOTE: the avatar URLs may not be defined at declaration-time, and
  63.  
  64. 17
  65.  
  66.                 //       might be modified by the host application later
  67.  
  68. 18
  69.  
  70.                 cache: config.urls.avatar.generic,
  71.  
  72. 19
  73.  
  74.                 permalink: config.urls.avatar.generic,
  75.  
  76. 20
  77.  
  78.             },
  79.  
  80. // https://c.disquscdn.com/next/next-core/core/models/BaseUser.js

Replies to Re: BaseUser.js rss

Title Name Language When
Re: BaseUser.js disqus.com javascript 2 Months ago.

Reply to "Re: BaseUser.js"

Here you can reply to the paste above