Skip to content

Commit

Permalink
bye spritewell fixes sass#15
Browse files Browse the repository at this point in the history
  • Loading branch information
drewwells committed Aug 2, 2015
1 parent 058924f commit b2c6c86
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"strings"

"github.com/wellington/go-libsass/libs"
"github.com/wellington/spritewell"
)

// Context handles the interactions with libsass. Context
Expand Down Expand Up @@ -52,9 +51,9 @@ type Context struct {
// Has list of compiler included files
ResolvedImports []string

// Used for callbacks to retrieve sprite information, etc.
Imgs spritewell.SafeImageMap
Sprites spritewell.SafeImageMap
// Attach additional data to a context for use by custom
// handlers/mixins
Payload interface{}
}

// Constants/enums for the output style.
Expand All @@ -79,13 +78,6 @@ func init() {
func NewContext() *Context {
c := Context{}

// Initiailize image map(s)
c.Sprites = spritewell.SafeImageMap{
M: make(map[string]spritewell.ImageList)}
c.Imgs = spritewell.SafeImageMap{
M: make(map[string]spritewell.ImageList)}
c.Imports.Init()

return &c
}

Expand Down

0 comments on commit b2c6c86

Please sign in to comment.