This file contains hidden or 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
// This file has to be required before rails-ujs | |
// To use it change `data-confirm` of your links to `data-confirm-swal` | |
(function() { | |
const handleConfirm = function(element) { | |
if (!allowAction(this)) { | |
Rails.stopEverything(element) | |
} | |
} | |
const allowAction = element => { |
This file contains hidden or 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 { generateFetchLocale } from 'lib/utils' | |
import * as React from 'react' | |
import Button from 'templates/html/snippets/Button' | |
import Closing from 'templates/html/snippets/Closing' | |
import Footer from 'templates/html/snippets/Footer' | |
import FullWidthBorder from 'templates/html/snippets/FullWidthBorder' | |
import Greeting from 'templates/html/snippets/Greeting' | |
import Header from 'templates/html/snippets/Header' | |
import Layout from 'templates/html/snippets/Layout' |
This file contains hidden or 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
jobs: | |
build: | |
docker: | |
... | |
- image: docker.elastic.co/elasticsearch/elasticsearch:6.4.2 |
OlderNewer