Migrate Jade to Pug template engine
Jade templates engine has been renamed to Pug. We are using Pug already on the Blender Cloud repository, following is Flamenco and Attract
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* == Search ==
|
||||
* index and algolia settings are defined in layout.jade
|
||||
* index and algolia settings are defined in layout.pug
|
||||
*/
|
||||
|
||||
$(document).ready(function() {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
(function ( $ ) {
|
||||
// See organizations/view_embed.jade for example use.
|
||||
// See organizations/view_embed.pug for example use.
|
||||
$.fn.userSearch = function(algolia_application_id, algolia_public_key, algolia_index_users, on_selected) {
|
||||
var client = algoliasearch(algolia_application_id, algolia_public_key);
|
||||
var index = client.initIndex(algolia_index_users);
|
||||
|
Reference in New Issue
Block a user