Skip to content

Instantly share code, notes, and snippets.

@hafriedlander
Created October 24, 2009 03:05
Show Gist options
  • Save hafriedlander/217337 to your computer and use it in GitHub Desktop.
Save hafriedlander/217337 to your computer and use it in GitHub Desktop.
Potential private function syntax for concrete
$.concrete('namespace', function($){
$('.selector').concrete({
foo: $.concrete.internal(function(){
}),
bar: function(){
this.foo(); // Allowed
}
})
});
$('.selector').concrete('namespace').foo(); // Denied - actually "method not found"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment