This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function foo($a, $b) { | |
@return $a + $b; | |
} | |
@function bar($start) { | |
$output: $start; | |
@for $i from 0 to 100 { | |
$output: $output + foo($i, 3) | |
} | |
@return $output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<title> Title of the Page </title> | |
<meta charset="utf-8" /> | |
<!-- saying that the browser doesn't need to rescale on mobile --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="mobile-web-app-capable" content="yes" /> | |
<!-- status bar in transparent/colour --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.algoliasearchHelper = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
'use strict'; | |
var AlgoliaSearchHelper = require('./src/algoliasearch.helper'); | |
var SearchParameters = require('./src/SearchParameters'); | |
var SearchResults = requi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const webpack = require('webpack'); | |
const isProd = process.env.NODE_ENV === 'production'; | |
module.exports = [ | |
{ | |
name: 'plugin', | |
entry: { | |
// replace this with your source file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export { default as Hogan } from 'hogan.js'; | |
export { default as instantsearch } from 'instantsearch.js'; | |
export { default as algoliasearch } from 'algoliasearch/lite'; | |
export { | |
default as autocomplete, | |
getAlgoliaResults, | |
getAlgoliaHits, | |
highlightAlgoliaHit, | |
} from 'autocomplete.js'; | |
export { default as aa } from 'search-insights'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="manifest" href="/site.webmanifest"/><link href="https://fonts.googleapis.com/css2?family=Gochi+Hand&family=Roboto&display=swap" rel="stylesheet"/><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>#coronamaison: Tous les dessins du hashtag #coronamaison</title><meta name="title" content="#coronamaison: Tous les dessins du hashtag #coronamaison"/><meta name="description" content="Ce site contient tous les dessins du hashtag #coronamaison publiés sur les réseaux sociaux. Ils sont organisés par date et popularité. Découvrez-les !"/><meta property="og:type" content="website"/><meta property="og:url" content="https://coronamaison.now.sh"/><meta pro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import algoliasearch from 'algoliasearch'; | |
import { encode, addMethods } from '@algolia/client-common'; | |
import { MethodEnum } from '@algolia/requester-common'; | |
import { | |
createBrowsablePromise, | |
browseObjects, | |
BrowseResponse, | |
SearchResponse, | |
ObjectWithObjectID, | |
} from '@algolia/client-search'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tree = indexWidget => indexWidget.getWidgets().map(widget => widget.$$type === 'ais.index' ? { ...widget, children: tree(widget) } : widget); | |
// usage: | |
tree(search.mainIndex) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<!-- container for places.js --> | |
<div> | |
<div id="algolia-places" /> | |
</div> | |
</template> | |
<script> | |
import { createWidgetMixin } from 'vue-instantsearch'; | |
import places from 'places.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable react/prop-types, require-await, no-console */ | |
import ReactDOM from 'react-dom'; | |
import React, { | |
useEffect, | |
useState, | |
useRef, | |
createContext, | |
useContext, | |
} from 'react'; | |
import instantsearch from '../es'; |
NewerOlder