This website requires JavaScript.
Explore
Help
Sign In
TryGhost
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
mirror of
https://github.com/TryGhost/Ghost.git
synced
2024-11-25 09:03:12 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
6c079daafa
Ghost
/
ghost
/
admin
/
app
/
utils
/
ctrl-or-cmd.js
2 lines
79 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Standardize on var-less `export default` across ember app no issue - drops the `var Foo = Ember.Thing.extend({}); export default Foo;` syntax in favour of exporting directly, eg: `export default Ember.Thing.extend({})` - discussion on this change [here](https://github.com/TryGhost/Ghost/pull/5340#issuecomment-105828423) and [here](https://github.com/TryGhost/Ghost/pull/5694#discussion-diff-37511606)
2015-08-19 14:55:40 +03:00
export
default
navigator
.
userAgent
.
indexOf
(
'Mac'
)
!==
-
1
?
'command'
:
'ctrl'
;
Reference in New Issue
Copy Permalink