Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Docs/En/Core.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Atom Core
=========

* title: ore
* title: Core
* group: core


Expand All @@ -18,8 +18,8 @@ Checks if `fn` is function
If `key` is not object - returns object, where `key` is single key & `value` is value of this key.
Else - returns `key`

atom.core.objectize( 'test', 'foo' ); // { test: 'foo' )
atom.core.objectize({ test: 'foo' }); // { test: 'foo' )
atom.core.objectize( 'test', 'foo' ); // { test: 'foo' }
atom.core.objectize({ test: 'foo' }); // { test: 'foo' }

Can be used, when you what to be sure, you works with object:

Expand Down
4 changes: 2 additions & 2 deletions Docs/En/Declare/ImagePreloader.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Checks, if image with name `name` was loaded.

Returns image with name `name`, if exists, or throws `Error` otherwise

imagePreloader.exists( 'unit-traktor' ); // returns image
imagePreloader.exists( 'unit-diablo' ); // throws Error
imagePreloader.get( 'unit-traktor' ); // returns image
imagePreloader.get( 'unit-diablo' ); // throws Error

## atom.ImagePreloader.run

Expand Down