I hereby claim:
- I am michaeldjeffrey on github.
- I am moogey (https://keybase.io/moogey) on keybase.
- I have a public key ASBUPK1joQV9SOUPjG2gb9JKRxixdIU1fWIXsUEh4peRPgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; | |
import './placeholder.css'; | |
export default class ETWPlaceholder extends Plugin { | |
static get pluginName() { | |
return "Placeholder"; | |
} | |
init() { |
//assuming angulars $http | |
function fetchQuestions(url){ | |
return $http.get(url) | |
.then(response => response.data) | |
.then(extractObject('answer', receiveAnswers)) | |
.then(receiveQuestions); | |
} | |
function extractObject(key, fc){ |
// when a new profile is loaded, convert the vertices to the new data format | |
$scope.$on('profileLoadedEvent', function (event) { | |
ProfileVertexConverterService.convert($scope.profile.vertices).then(function (vertices) { | |
// do stuff | |
ModalService.close(); | |
}); | |
}); |
// example using the raf module from npm. try changing some values! | |
var datatables = require('datatables'); |
// example using the raf module from npm. try changing some values! | |
var requestAnimationFrame = require("raf") | |
var canvas = document.createElement("canvas") | |
canvas.width = 500 | |
canvas.height = 500 | |
document.body.appendChild(canvas) | |
var context = canvas.getContext("2d") |
angular.module('ARM').factory('FeederFactory', function($http){ | |
var data = { | |
loantypes: [], | |
locations: [], | |
regions: [], | |
reports: [] | |
}; | |
function getLoanTypes(){ | |
$http.get('/loantypes').then(function(response){ |
from selenium.webdriver import ActionChains | |
class Select2(object): | |
def __init__(self, element): | |
self.browser = element.parent | |
self.replaced_element = element | |
self.element = browser.find_element_by_id( | |
's2id_{0}'.format(element.get_attribute('id'))) | |
def click(self): |