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
var qmsCrypto = { | |
subtle : { | |
importKey : function(format, keyData, algorithm, extractable, keyUsages) { | |
var deferred = $q.defer(); | |
var op = window.msCrypto.subtle.importKey(format, keyData, algorithm, extractable, keyUsages); | |
op.onerror = function (evt) { | |
deferred.reject(evt.toString()); | |
$scope.$apply(); | |
}; |
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
{ | |
"key" : "value" | |
} |
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'; | |
// http://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html | |
/* | |
* expected usage: | |
let AWS = require('aws-sdk'); | |
const AWSXRay = require('aws-xray-sdk-core'); | |
const AWSXRayUtil = require('./aws-xray-utils'); | |
if (process.env.AWS_XRAY_DAEMON_ADDRESS) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.