Skip to content

Commit ebce06b

Browse files
committed
v1.0.0-beta.8
1 parent 26596d2 commit ebce06b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

angular-classy.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,13 @@ angular.module('classy.bindMethods', ['classy.core']).classy.plugin.controller
268268

269269
init: (klass, deps, module) ->
270270
if @options.enabled
271-
# Adds controller functions (unless they have an `_` prefix) to the `$scope`
272271
for key, fn of klass.constructor::[@options.keyName]
273272
if angular.isFunction(fn) and !(key in @options.ignore)
274273
boundFn = angular.bind(klass, fn)
275274
if @options.addToClass
276275
klass[key] = boundFn
277276
if @options.addToScope and !@hasPrivatePrefix(key) and deps.$scope
277+
# Adds controller functions (unless they have an `_` prefix) to the `$scope`
278278
deps.$scope[key] = boundFn
279279

280280
return

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-classy",
33
"main": "angular-classy.js",
4-
"version": "1.0.0-beta.7",
4+
"version": "1.0.0-beta.8",
55
"homepage": "http://davej.github.io/angular-classy/",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)