Removal of Template, Blaze, BlazeLayout, FlowRouter, DDPRateLimiter, Session, UAParser, Promise, Reload and CryptoJS global variables (#12433)
* First wave of removal of Meteor global * Second wave of removal of Meteor global * Third wave of removal of Meteor global * Fix tests * Remove global variable SHA256 * Remove global variable WebApp * Remove global variable EJSON * Remove global variable Email * Remove global variable HTTP * Remove global variable Random * Remove global variable ReactiveDict * Remove global variable ReactiveVar * Remove global variable Accounts * Remove globals variables Match and check * Remove global variable Mongo * Remove global variable moment * Remove global variable Tracker * Remove global variable Blaze * Remove global variables FlowRouter and BlazeLayout * Add FlowRouter to eslint global in tests file * Remove global variable DDPRateLimiter * Remove global variable Session * Remove global variable UAParser * Remove global variable Promise * Remove global variable Reload * Remove global variable CryptoJS * Remove global variable Template * Fix ESLintpull/12467/head^2
parent
0d30a52487
commit
5ca2b8f274
@ -1 +1,3 @@ |
||||
import { Template } from 'meteor/templating'; |
||||
|
||||
Template.registerHelper('escapeCssUrl', (url) => url.replace(/(['"])/g, '\\$1')); |
||||
|
@ -1,3 +1,5 @@ |
||||
import { Template } from 'meteor/templating'; |
||||
|
||||
Template.registerHelper('log', (...args) => { |
||||
console.log.apply(console, args); |
||||
}); |
||||
|
@ -1 +1,3 @@ |
||||
import { Template } from 'meteor/templating'; |
||||
|
||||
Template.registerHelper('not', (value) => !value); |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue