I hereby claim:
- I am andreychev on github.
- I am andreychev (https://keybase.io/andreychev) on keybase.
- I have a public key ASDJg2gdXpwVt3epy8c1LJOfGJD_45gIN-ob8mZo4fGNxgo
To claim this, I am signing this object:
| import React, { PropTypes } from 'react'; | |
| import Constants from 'cx-api/constants'; | |
| import Loading from 'ux/flow/Loading'; | |
| function isPending(loadingComponent) { | |
| function pendingHOC({ status, loading = {}, children }) { | |
| if (status === Constants.STATE_PENDING) { | |
| return (<loadingComponent { ...loading } />); |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| set -u # prevent unbound variables | |
| set -e # terminate on error | |
| SSH_PORT=$(boot2docker config 2>&1 | awk '/SSHPort/ {print $3}') | |
| # install rsync | |
| boot2docker ssh tce-load -wi rsync | |
| function EventStatusConfig ($provide) { | |
| $provide.decorator('ProjectDotService', function EventsPopupInProject ($delegate, ...) { | |
| $delegate.getEventPopup = function (scope, activityInd) { | |
| ... | |
| }; | |
| return $delegate; | |
| }); |
| // расширяет функционал стандартного typeahead - вызывает запрос по фокусу в инпут | |
| .directive('typeaheadOpenOnFocus', function() { | |
| return { | |
| require: ['ngModel'], | |
| link: function(scope, element, attr, ctrls) { | |
| element.bind('click', function () { | |
| ctrls[0].$setViewValue(element.val() || ' '); | |
| }); | |
| } | |
| }; |
| if skype.dispute.length >= 10.minutes | |
| call(participants) | |
| end |
| .smallcapitals { | |
| font-size: 0.875em; | |
| letter-spacing: 0.15em; | |
| margin-right: -0.15em; | |
| } | |
| .classiccapitals { | |
| font-variant: small-caps; | |
| } |
| #!/bin/sh | |
| echo "\nStarting Grunt tests" | |
| # Lint catalog js files with grunt.js | |
| grunt catalog | |
| RETVAL=$? | |
| [ $RETVAL -eq 0 ] && echo Success | |
| [ $RETVAL -ne 0 ] && echo Failure |
| initSaveOnEnter: function() { | |
| this.popup | |
| .off('keyup.saveOnEnter') | |
| .on('keyup.saveOnEnter', function(event) { | |
| var target = event.target, | |
| targetEl = $(target); | |
| if (event.which == 13 && target.tagName != 'TEXTAREA' && !targetEl.hasClass('ui-autocomplete-input') && !targetEl.hasClass('js-save_on_enter')) { | |
| this.popup | |
| .find('.js-submit_button') |
| { | |
| "directory": "scripts/bower" | |
| } |