
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
ember-submit-button
Advanced tools
Ember Addon containing the most delightful submit button there ever was!
submit-button is a small Ember component that has a handy list of features. Pass it the ember-data model being edited in a form and it will:
isSavingisSavingember install ember-submit-button
<form {{action 'save' on='submit'}}>
// ...
{{submit-button model=group}}
// ...
</form>
{{#submit-button model=post}}
{{if post.isDraft 'Publish' 'Update'}} Post
{{/submit-button}}
{{submit-button model=post action="publish"}}
{{submit-button model=post savingText="Submitting"}}
Boolean value for if its disabled {{submit-button disabled=someVariable}}
model: Ember Data ModelThe model to observe. If save() has been triggered on the model, component will automatically disable to the button so it cannot be clicked again.
disable: {Boolean}Default: null
Passing in a disable value will cause the component to ignore the model attribute all together. The component will watch this attribute and update accordingly.
savingText: {String}Default: Saving
action: {String}A custom action to fire on click.
git clone this repositorynpm installbower installember servernpm test (Runs ember try:testall to test your addon against multiple Ember versions)ember testember test --serverember buildFor more information on using ember-cli, visit http://www.ember-cli.com/.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.