jeudi 3 mars 2016

How to check what version of Ember.js is loaded?

How can I check in a browser console what version of Ember.js is loaded? I know I can check it in the library code, on its top

/*!
 * @overview  Ember - JavaScript Application Framework
 * @copyright Copyright 2011-2016 Tilde Inc. and contributors
 *            Portions Copyright 2006-2011 Strobe Inc.
 *            Portions Copyright 2008-2011 Apple Inc. All rights reserved.
 * @license   Licensed under MIT license
 *            See http://ift.tt/1fOGv6F
 * @version   2.4.1
 */

like here, but let's say I have two versions and want to check on the fly which one has been loaded. How can I do this in a console?




Aucun commentaire:

Enregistrer un commentaire