mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Rename PaneGrid to PaneAxis
PaneGrid is a superclass of PaneRow and PaneColumn. These are both a type of axis for the pane layout system.
This commit is contained in:
committed by
probablycorey
parent
19e2cab920
commit
9ecb03e470
0
spec/app/pane-container-spec.coffee
Normal file
0
spec/app/pane-container-spec.coffee
Normal file
@@ -2,7 +2,7 @@ $ = require 'jquery'
|
||||
{View} = require 'space-pen'
|
||||
|
||||
module.exports =
|
||||
class PaneGrid extends View
|
||||
class PaneAxis extends View
|
||||
@deserialize: ({children}) ->
|
||||
childViews = children.map (child) -> deserialize(child)
|
||||
new this(childViews)
|
||||
@@ -1,9 +1,9 @@
|
||||
$ = require 'jquery'
|
||||
_ = require 'underscore'
|
||||
PaneGrid = require 'pane-grid'
|
||||
PaneAxis = require 'pane-axis'
|
||||
|
||||
module.exports =
|
||||
class PaneColumn extends PaneGrid
|
||||
class PaneColumn extends PaneAxis
|
||||
@content: ->
|
||||
@div class: 'column'
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
$ = require 'jquery'
|
||||
_ = require 'underscore'
|
||||
PaneGrid = require 'pane-grid'
|
||||
PaneAxis = require 'pane-axis'
|
||||
|
||||
module.exports =
|
||||
class PaneRow extends PaneGrid
|
||||
class PaneRow extends PaneAxis
|
||||
@content: ->
|
||||
@div class: 'row'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user