Skip to content

Commit

Permalink
update license
Browse files Browse the repository at this point in the history
  • Loading branch information
wirepair committed Feb 8, 2016
1 parent b1c33e5 commit 7ce24f5
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion api_overrides.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
Copyright (c) 2015 isaac dawson
Copyright (c) 2016 isaac dawson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion autogcd.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
Copyright (c) 2015 isaac dawson
Copyright (c) 2016 isaac dawson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion conditionals.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
Copyright (c) 2015 isaac dawson
Copyright (c) 2016 isaac dawson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -86,6 +86,7 @@ func ElementAttributeEquals(tab *Tab, element *Element, name, value string) Cond
}
}

// Returns true when a selector returns a valid list of elements.
func ElementsBySelectorNotEmpty(tab *Tab, elementSelector string) ConditionalFunc {
return func(tab *Tab) bool {
eles, err := tab.GetElementsBySelector(elementSelector)
Expand Down
8 changes: 4 additions & 4 deletions element.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
Copyright (c) 2015 isaac dawson
Copyright (c) 2016 isaac dawson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -58,7 +58,7 @@ func (e *ElementHasNoChildrenErr) Error() string {
return "this element has no child elements"
}

// for when we have an element that has not been populated
// When we have an element that has not been populated
// with data yet.
type ElementNotReadyErr struct {
}
Expand All @@ -67,7 +67,7 @@ func (e *ElementNotReadyErr) Error() string {
return "this element is not ready"
}

// for when the dimensions of an element are incorrect to calculate the centroid
// When the dimensions of an element are incorrect to calculate the centroid
type InvalidDimensionsErr struct {
Message string
}
Expand Down Expand Up @@ -498,7 +498,7 @@ func (e *Element) GetAttribute(name string) string {
return attr[name]
}

// Similar to above but works for boolean properties (checked, async etc)
// Similar to above, but works for boolean properties (checked, async etc)
// Returns true if the attribute is set in our known list of attributes
// for this element.
func (e *Element) HasAttribute(name string) bool {
Expand Down
2 changes: 1 addition & 1 deletion settings.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
Copyright (c) 2015 isaac dawson
Copyright (c) 2016 isaac dawson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion tab_subscribers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
Copyright (c) 2015 isaac dawson
Copyright (c) 2016 isaac dawson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
The MIT License (MIT)
Copyright (c) 2015 isaac dawson
Copyright (c) 2016 isaac dawson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 7ce24f5

Please sign in to comment.