Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
atticoos committed Nov 5, 2015
2 parents e5dfed6 + 2cb7d08 commit b3dd972
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 28 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "angular-translate-once",
"version": "1.0.2",
"version": "1.0.3",
"authors": [
"Atticus White <contact@atticuswhite.com>"
],
Expand Down
1 change: 0 additions & 1 deletion karma.conf.js
Expand Up @@ -7,7 +7,6 @@ module.exports = function (config) {
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/angular-translate/angular-translate.js',
'test/polyfill.js',
'src/*.js',
'test/**/*.spec.js'
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "angular-translate-once",
"version": "1.0.2",
"version": "1.0.3",
"description": "Angular translate one-time directive",
"main": "src/translate-once.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/translate-once.js
Expand Up @@ -13,7 +13,7 @@
createDirective = function (attribute) {
var namedDirective = getNamedDirectiveFromAttribute(attribute);
angular.module(MODULE_NAME).directive(namedDirective, ['$parse', '$translate',
TranslateOnceAttributeDirective.bind(undefined, attribute)]);
angular.bind(undefined, TranslateOnceAttributeDirective, attribute)]);
};

/**
Expand Down
24 changes: 0 additions & 24 deletions test/polyfill.js

This file was deleted.

0 comments on commit b3dd972

Please sign in to comment.