Skip to content
Browse files

- use single $ for private attributes prefix

  • Loading branch information...
1 parent d213d2f commit 74e538ff7ed30287f3a904a4f23927d4236a4618 @SamuraiJack SamuraiJack committed Mar 9, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +2 −1 dist.ini
  3. +1 −1 lib/Joose/Managed/Attribute.js
View
1 .gitignore
@@ -3,3 +3,4 @@ __buildcache
//.project
.externalToolBuilders
/Joose-*
+.idea
View
3 dist.ini
@@ -25,7 +25,7 @@ match = ^misc/.*
[License]
-[JSAN::PkgVersion]
+[Web::PkgVersion]
; JSAN-specific configuration
[JSAN] ; includes META.JSON generation
@@ -48,6 +48,7 @@ dependency = detective >= 0.0.3
devDependency = siesta
+
;====================================================================
; Test
[Run::Test / PhantomJS]
View
2 lib/Joose/Managed/Attribute.js
@@ -36,7 +36,7 @@ Joose.Managed.Attribute = new Joose.Managed.Class('Joose.Managed.Attribute', {
this.publicName = name.replace(/^_+/, '')
- this.slot = this.isPrivate ? '$$' + name : name
+ this.slot = this.isPrivate ? '$' + name : name
this.setterName = this.setterName || this.getSetterName()
this.getterName = this.getterName || this.getGetterName()

0 comments on commit 74e538f

Please sign in to comment.
Something went wrong with that request. Please try again.