@@ -115,9 +115,9 @@ define(function (require, exports, module) {
115115 /**
116116 * MemoryStorage is not stored in a file, so fileChanged is ignored.
117117 *
118- * @param {string } filename File that has changed
118+ * @param {string } filePath File that has changed
119119 */
120- fileChanged : function ( filename ) {
120+ fileChanged : function ( filePath ) {
121121 }
122122 } ;
123123
@@ -241,10 +241,10 @@ define(function (require, exports, module) {
241241 /**
242242 * If the filename matches this Storage's path, a changed message is triggered.
243243 *
244- * @param {string } filename File that has changed
244+ * @param {string } filePath File that has changed
245245 */
246- fileChanged : function ( filename ) {
247- if ( filename === this . path ) {
246+ fileChanged : function ( filePath ) {
247+ if ( filePath === this . path ) {
248248 $ ( this ) . trigger ( "changed" ) ;
249249 }
250250 }
@@ -485,10 +485,10 @@ define(function (require, exports, module) {
485485 * Tells the Scope that the given file has been changed so that the
486486 * Storage can be reloaded if needed.
487487 *
488- * @param {string } filename Name of the file that has changed
488+ * @param {string } filePath File that has changed
489489 */
490- fileChanged : function ( filename ) {
491- this . storage . fileChanged ( filename ) ;
490+ fileChanged : function ( filePath ) {
491+ this . storage . fileChanged ( filePath ) ;
492492 } ,
493493
494494 /**
@@ -1706,11 +1706,11 @@ define(function (require, exports, module) {
17061706 * Tells the PreferencesSystem that the given file has been changed so that any
17071707 * related Scopes can be reloaded.
17081708 *
1709- * @param {string } filename Name of the file that has changed
1709+ * @param {string } filePath File that has changed
17101710 */
1711- fileChanged : function ( filename ) {
1711+ fileChanged : function ( filePath ) {
17121712 _ . forEach ( this . _scopes , function ( scope ) {
1713- scope . fileChanged ( filename ) ;
1713+ scope . fileChanged ( filePath ) ;
17141714 } ) ;
17151715 } ,
17161716
0 commit comments