mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
Updated js code so vendors can be added to the modules folder, so
they can be required properly and we can finally get rid of that really annoying "mismatched anonymous" error in Require.js. First module to make the transition: Chart.js
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/*global define, ajaxify, app, socket, utils, bootbox, Chart, RELATIVE_PATH*/
|
||||
/*global define, ajaxify, app, socket, utils, bootbox, RELATIVE_PATH*/
|
||||
|
||||
define('admin/general/dashboard', ['semver'], function(semver) {
|
||||
define('admin/general/dashboard', ['semver', 'Chart'], function(semver, Chart) {
|
||||
var Admin = {},
|
||||
intervals = {
|
||||
rooms: false,
|
||||
|
||||
Reference in New Issue
Block a user