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
'use strict' | |
const Config = use('Config') | |
var twitterAPI = require('node-twitter-api') | |
const promisify = require("es6-promisify") | |
const twitter = new twitterAPI({ | |
consumerKey: Config.get('auth.twitterAuth.consumerKey'), | |
consumerSecret: Config.get('auth.twitterAuth.consumerSecret'), |
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
'use strict' | |
const Config = use('Config') | |
var twitterAPI = require('node-twitter-api') | |
const promisify = require("es6-promisify") | |
const twitter = new twitterAPI({ | |
consumerKey: Config.get('auth.twitterAuth.consumerKey'), | |
consumerSecret: Config.get('auth.twitterAuth.consumerSecret'), |
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
$('[data-toggle="modal"]').click(function () { | |
var url = $(this).attr('href'); | |
$.get(url, function (data) { | |
var modal = $('<div id="clue-modal" class="modal fade" tabindex="-1" role="dialog"><div class="modal-dialog"><div class="modal-content">' + data + '</div></div></div>').modal(); | |
modal.on("hidden.bs.modal", function () { | |
$(this).remove(); | |
}); | |
setTimeout(function(){ | |
modal.modal('hide'); | |
},5000); |
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
drush cc all |
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
$('#file').val(''); | |
$("#file").change(function () { | |
readFile($(this), this); | |
}); | |
$('.js-action').click(function (e) { | |
e.preventDefault(); | |
var $this = $(this); | |
var $parent = $this.parent().parent(); |
NewerOlder