Skip to content

Commit 53f0d0b

Browse files
committed
misc refactors
1 parent 5fe3a60 commit 53f0d0b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/runtime/profiler.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var {loadProfileTrace, saveProfileTrace} = client.import({msg: ['loadProfileTrac
99

1010
export function activate (ink) {
1111
pane = ink.PlotPane.fromId('Profile')
12-
pane.getTitle = () => {return 'Profiler'}
12+
pane.setTitle('Profiler')
1313
subs = new CompositeDisposable()
1414

1515
subs.add(client.onDetached(() => clear()))
@@ -24,7 +24,10 @@ export function activate (ink) {
2424
pane.ensureVisible({
2525
split: atom.config.get('julia-client.uiOptions.layouts.profiler.split')
2626
})
27-
pane.show(new ink.Pannable(profile, {zoomstrategy: 'width', minScale: 0.5}))
27+
pane.show(new ink.Pannable(profile, {
28+
zoomstrategy: 'width',
29+
minScale: 0.5
30+
}))
2831
}
2932
})
3033

0 commit comments

Comments
 (0)