git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| var ua = { | |
| 'WINDOW_MAIN':'1Clipboard', | |
| 'WINDOW_PREFERENCES':'Налаштування', | |
| 'TOPBAR_RECENT':'Останні', | |
| 'TOPBAR_STARRED':'Вибрані', | |
| 'TOPBAR_SEARCH':'Пошук', | |
| 'TOPBAR_MORE':'Додатково', | |
| 'TOPBAR_OFFLINE':'Offline', | |
| 'TOPBAR_PAUSED':'Пауза', |
| var ru = { | |
| 'WINDOW_MAIN':'1Clipboard', | |
| 'WINDOW_PREFERENCES':'Настройки', | |
| 'TOPBAR_RECENT':'Последние', | |
| 'TOPBAR_STARRED':'Избранные', | |
| 'TOPBAR_SEARCH':'Поиск', | |
| 'TOPBAR_MORE':'Дополнительно', | |
| 'TOPBAR_OFFLINE':'Offline', | |
| 'TOPBAR_PAUSED':'Пауза', |
| module.exports = { | |
| ra: { | |
| action: { | |
| delete: 'Видалити', | |
| show: 'Перегляд', | |
| list: 'Список', | |
| save: 'Зберегти', | |
| create: 'Список', | |
| edit: 'Редагувати', | |
| sort: 'Сортувати', |
| // The code below was largely taken from: | |
| // https://github.com/strangerlabs/webauthn/blob/9959cb2b5f87692b8b1fecd799dd4029a3bf61b1/src/Webauthn.js#L501 | |
| const crypto = require("crypto"); | |
| const base64url = require("base64url"); | |
| const cbor = require("cbor"); | |
| function parseAttestationObject(attestationObject) { | |
| const attestationObjectBuffer = base64url.toBuffer(attestationObject); | |
| return cbor.decodeAllSync(attestationObjectBuffer)[0]; |
| const test = require("tape"); | |
| const stampit = require("../src/stampit"); | |
| function hasStringAccessor(name) { | |
| let storedValue; | |
| return stampit({ | |
| props: { | |
| get [name]() { | |
| return storedValue; |
| const HasProtectedAccessor = stampit({ | |
| // stamp configuration | |
| deepConf: { | |
| // collect all the property names to protect | |
| protectedProperties: {} | |
| }, | |
| statics: { | |
| // API of the stamp | |
| protectProperty(names) { | |
| // will deep merge the base objects with `names` |