Dotclear

source: admin/js/_category.js @ 3880:e6d1f6d9d7df

Revision 3880:e6d1f6d9d7df, 239 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Use let and const rather than var (ES2015/ES6), use template string where is more efficient

Line 
1/*global $, dotclear, jsToolBar */
2'use strict';
3
4$(function() {
5  dotclear.hideLockable();
6
7  if ($.isFunction(jsToolBar)) {
8    const tbCategory = new jsToolBar(document.getElementById('cat_desc'));
9    tbCategory.draw('xhtml');
10  }
11});
Note: See TracBrowser for help on using the repository browser.

Sites map