Skip to content

Commit

Permalink
Fix warnings of Sketch 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
t32k committed Oct 21, 2015
1 parent 91f3e2a commit 5c127a4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Created by .ignore support plugin (hsz.mobi)
4 changes: 2 additions & 2 deletions Hue.sketchplugin
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// (ctrl shift h)

// Require library files
#import 'lib/colors.js'
#import 'lib/functions.js'
@import 'lib/colors.js'
@import 'lib/functions.js'

// Get current canvas
var page = doc.currentPage();
Expand Down
4 changes: 2 additions & 2 deletions Swatch.sketchplugin
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// (ctrl shift s)

// Require library files
#import 'lib/colors.js'
#import 'lib/functions.js'
@import 'lib/colors.js'
@import 'lib/functions.js'

// Get current canvas
var page = doc.currentPage();
Expand Down
4 changes: 2 additions & 2 deletions Value.sketchplugin
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// (ctrl shift v)

// Require library files
#import 'lib/colors.js'
#import 'lib/functions.js'
@import 'lib/colors.js'
@import 'lib/functions.js'

// Get current canvas
var page = doc.currentPage();
Expand Down
2 changes: 1 addition & 1 deletion lib/functions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import 'lib/util.js'
@import 'lib/util.js'

// Hue Palette
function addHuePalette(groupIndex, hexColor, isWhite, valueIndex) {
Expand Down
2 changes: 1 addition & 1 deletion sketchpack.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Material Design Color Palette",
"version": "2.1.2",
"version": "2.2.0",
"description": "Sketch app plugin for displaying Google material design color palette.",
"tags": ["google", "material", "design", "color", "android"]
}

0 comments on commit 5c127a4

Please sign in to comment.